]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx6: RIoTboard provide standby on power off option
authorOleksij Rempel <o.rempel@pengutronix.de>
Thu, 2 Aug 2018 10:34:25 +0000 (12:34 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 12 Sep 2018 01:02:23 +0000 (09:02 +0800)
This board, as well as some other boards with i.MX6 and a PMIC, uses a
"PMIC_STBY_REQ" line to notify the PMIC about a state change.
The PMIC is programmed for a specific state change before triggering the
line.
In this case, PMIC_STBY_REQ can be used for stand by, sleep
and power off modes.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6dl-riotboard.dts

index dd3226fe5ecd57e606b6b1eca6090c9634b43837..8e51491e68cfdc68c83cb29f6e21be8f24398a2e 100644 (file)
@@ -84,6 +84,10 @@ &audmux {
        status = "okay";
 };
 
+&clks {
+       fsl,pmic-stby-poweroff;
+};
+
 &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet>;
@@ -164,6 +168,7 @@ pmic: pf0100@8 {
                reg = <0x08>;
                interrupt-parent = <&gpio5>;
                interrupts = <16 8>;
+               fsl,pmic-stby-poweroff;
 
                regulators {
                        reg_vddcore: sw1ab {                            /* VDDARM_IN */