ARM: tegra: colibri_t20: add i2c-thermtrip
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Sun, 2 Sep 2018 10:08:52 +0000 (12:08 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 26 Sep 2018 14:55:15 +0000 (16:55 +0200)
Add i2c-thermtrip which would set the SLEEP MODE bit in the SUPPLYENE
register of the TPS658643 PMIC.

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

index 477d67f..9ec56f4 100644 (file)
                nvidia,core-pwr-good-time = <3845 3845>;
                nvidia,core-pwr-off-time = <3875>;
                nvidia,sys-clock-req-active-high;
+
+               /* Set SLEEP MODE bit in SUPPLYENE register of TPS658643 PMIC */
+               i2c-thermtrip {
+                       nvidia,i2c-controller-id = <3>;
+                       nvidia,bus-addr = <0x34>;
+                       nvidia,reg-addr = <0x14>;
+                       nvidia,reg-data = <0x8>;
+               };
        };
 
        memory-controller@7000f400 {