[OpenWrt-Devel] [PATCH RESEND 1/2] kirkwood: Iomega ix2-200: wire up the GPIO poweroff driver in the DTS file
Luka Perkov
luka at openwrt.org
Tue Dec 9 18:14:25 EST 2014
Hi Richard,
On Mon, Dec 08, 2014 at 10:41:28PM +0100, Richard Kunze wrote:
> Signed-off-by: Richard Kunze <richard.kunze at web.de>
> ---
> .../linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
> create mode 100644 target/linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch
Did you send this to linux kernel arm mailing list? If not please do
that and ping me after. Thanks.
Luka
> diff --git a/target/linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch b/target/linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch
> new file mode 100644
> index 0000000..62f244c
> --- /dev/null
> +++ b/target/linux/kirkwood/patches-3.14/171-ix2_200_poweroff.patch
> @@ -0,0 +1,13 @@
> +--- a/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts
> ++++ b/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts
> +@@ -168,6 +168,10 @@
> + gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
> + };
> + };
> ++ gpio-poweroff {
> ++ compatible = "gpio-poweroff";
> ++ gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
> ++ };
> + };
> +
> + &nand {
> --
> 1.9.1
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list