lkml.org 
[lkml]   [2018]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/7] gnss: add generic serial driver
On Tue, Apr 24, 2018 at 06:34:54PM +0200, Johan Hovold wrote:
> Add a generic serial GNSS driver (library) which provides a common
> implementation for the gnss interface and power management (runtime and
> system suspend). This allows GNSS drivers for specific chip to be
> implemented by simply providing a set_power() callback to handle three
> states: ACTIVE, STANDBY and OFF.
>
> Signed-off-by: Johan Hovold <johan@kernel.org>
> ---
> drivers/gnss/Kconfig | 7 +
> drivers/gnss/Makefile | 3 +
> drivers/gnss/serial.c | 288 ++++++++++++++++++++++++++++++++++++++++++
> drivers/gnss/serial.h | 47 +++++++
> 4 files changed, 345 insertions(+)
> create mode 100644 drivers/gnss/serial.c
> create mode 100644 drivers/gnss/serial.h
>
> diff --git a/drivers/gnss/Kconfig b/drivers/gnss/Kconfig
> index 103fcc70992e..f8ee54f99a8d 100644
> --- a/drivers/gnss/Kconfig
> +++ b/drivers/gnss/Kconfig
> @@ -9,3 +9,10 @@ menuconfig GNSS
>
> To compile this driver as a module, choose M here: the module will
> be called gnss.
> +
> +if GNSS
> +
> +config GNSS_SERIAL
> + tristate
> +

Maybe a real help entry? Or is this only selected from child drivers?
I haven't gotten that far in the series, sorry...

\
 
 \ /
  Last update: 2018-04-25 10:58    [W:0.148 / U:9.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site