ARM: tegra: apalis_t30: add i2c-thermtrip
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Fri, 31 Aug 2018 16:38:03 +0000 (18:38 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 26 Sep 2018 14:45:46 +0000 (16:45 +0200)
Add i2c-thermtrip which would set the DEV_OFF bit in the DCDC control
register of the TPS65911 PMIC.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra30-apalis.dtsi

index c3e37d9..02d0117 100644 (file)
                nvidia,core-pwr-off-time = <0>;
                nvidia,core-power-req-active-high;
                nvidia,sys-clock-req-active-high;
+
+               /* Set DEV_OFF bit in DCDC control register of TPS65911 PMIC */
+               i2c-thermtrip {
+                       nvidia,i2c-controller-id = <4>;
+                       nvidia,bus-addr = <0x2d>;
+                       nvidia,reg-addr = <0x3f>;
+                       nvidia,reg-data = <0x1>;
+               };
        };
 
        ahub@70080000 {