Author: blogic Date: 2014-12-13 09:02:52 +0100 (Sat, 13 Dec 2014) New Revision: 43677
Modified: trunk/target/linux/oxnas/config-3.14 trunk/target/linux/oxnas/config-3.18 trunk/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts Log: oxnas: also make use of the GPIO poweroff driver Works great to power-off the kd20 ;) Signed-off-by: Daniel Golle <[email protected]> Modified: trunk/target/linux/oxnas/config-3.14 =================================================================== --- trunk/target/linux/oxnas/config-3.14 2014-12-13 08:00:22 UTC (rev 43676) +++ trunk/target/linux/oxnas/config-3.14 2014-12-13 08:02:52 UTC (rev 43677) @@ -280,6 +280,10 @@ CONFIG_PM_CLK=y # CONFIG_PM_DEBUG is not set CONFIG_PM_RUNTIME=y +CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_GPIO=y +# CONFIG_POWER_RESET_VEXPRESS is not set +CONFIG_POWER_SUPPLY=y CONFIG_PPS=y # CONFIG_PREEMPT_RCU is not set CONFIG_PRINTK_TIME=y Modified: trunk/target/linux/oxnas/config-3.18 =================================================================== --- trunk/target/linux/oxnas/config-3.18 2014-12-13 08:00:22 UTC (rev 43676) +++ trunk/target/linux/oxnas/config-3.18 2014-12-13 08:02:52 UTC (rev 43677) @@ -293,6 +293,10 @@ CONFIG_PM_CLK=y # CONFIG_PM_DEBUG is not set CONFIG_PM_RUNTIME=y +CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_GPIO=y +# CONFIG_POWER_RESET_VEXPRESS is not set +CONFIG_POWER_SUPPLY=y CONFIG_PPS=y # CONFIG_PREEMPT_RCU is not set CONFIG_PRINTK_TIME=y Modified: trunk/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts =================================================================== --- trunk/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts 2014-12-13 08:00:22 UTC (rev 43676) +++ trunk/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts 2014-12-13 08:02:52 UTC (rev 43677) @@ -137,4 +137,9 @@ compatible = "gpio-fan"; gpios = <&GPIOA 2 1>; }; + + gpio-poweroff { + compatible = "gpio-poweroff"; + gpios = <&GPIOA 9 0>; + }; }; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
