]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: dts: imx6sll: Enable SNVS poweroff according to board design
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 13 Jun 2019 03:35:27 +0000 (11:35 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 18 Jun 2019 07:15:04 +0000 (15:15 +0800)
The SNVS poweroff depends on board design, by default it should
be disabled in SoC DT and ONLY be enabled on board DT if it is
wired up to external PMIC.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6sll-evk.dts
arch/arm/boot/dts/imx6sll.dtsi

index 61aa074af19d99cce7b88af7f56365f33c78819e..3e1d32fdf4b856f4742ae7685fa3d7e48da4d440 100644 (file)
        vin-supply = <&sw2_reg>;
 };
 
+&snvs_poweroff {
+       status = "okay";
+};
+
 &snvs_pwrkey {
        status = "okay";
 };
index 438402326b02c7ede5535d46f40438ff5ffe64ea..b0a77ff70b67a3f54357ee84730b9e2154a6d004 100644 (file)
                                        regmap = <&snvs>;
                                        offset = <0x38>;
                                        mask = <0x61>;
+                                       status = "disabled";
                                };
 
                                snvs_pwrkey: snvs-powerkey {