[PATCH] ARM: dts: add gpio_poweroff support for Iomega ix2-200

Andrew Lunn andrew at lunn.ch
Sun Dec 21 04:38:34 PST 2014


On Wed, Dec 10, 2014 at 07:40:41PM +0100, Richard Kunze wrote:
> Iomega ix2-200 can be powered off via GPIO 0 pin 17,
> this patch wires up the gpio-poweroff driver to do it.
> 
> Signed-off-by: Richard Kunze <richard.kunze at web.de>

Hi Richard

Added to mvebu/dt

      Andrew

> ---
>  arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts b/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts
> index 05291f3..7aeddcd 100644
> --- a/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts
> +++ b/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts
> @@ -169,6 +169,10 @@
>  			gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
>  		};
>  	};
> +	gpio-poweroff {
> +		compatible = "gpio-poweroff";
> +		gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
> +	};
>  };
>  
>  &nand {
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



More information about the linux-arm-kernel mailing list