[PATCH] gpio: Add simple poweroff-gpio driver

Luka Perkov uboot at lukaperkov.net
Thu May 3 07:21:15 EDT 2012


Hi Jamie,

On Thu, May 03, 2012 at 09:24:06AM +0100, Jamie Lentin wrote:
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -63,6 +63,16 @@ config GPIO_SYSFS
>  	  Kernel drivers may also request that a particular GPIO be
>  	  exported to userspace; this can be useful when debugging.
>  
> +config GPIO_POWEROFF
> +	tristate "GPIO power-off driver"
> +	depends on OF_GPIO
> +	help
> +	  This driver supports turning off your device via. a GPIO call.

Dot after via seems like a typo.

Other than this I have no comments.

Luka



More information about the linux-arm-kernel mailing list