diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-09-02 13:08:52 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-09-26 17:55:15 +0300 |
commit | d5178bb6f86084eff4ccaf322775b9d558bbd326 (patch) | |
tree | 028b1d9c6fbb5545ba94da4e484c82896c203a6a | |
parent | df2be1ae626a0e748f5266e6a7a5134a19490617 (diff) | |
download | linux-d5178bb6f86084eff4ccaf322775b9d558bbd326.tar.xz |
ARM: tegra: colibri_t20: add i2c-thermtrip
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>
-rw-r--r-- | arch/arm/boot/dts/tegra20-colibri.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra20-colibri.dtsi b/arch/arm/boot/dts/tegra20-colibri.dtsi index 477d67ff74c6..9ec56f49c30c 100644 --- a/arch/arm/boot/dts/tegra20-colibri.dtsi +++ b/arch/arm/boot/dts/tegra20-colibri.dtsi @@ -598,6 +598,14 @@ 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 { |