diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-05-10 23:25:57 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-05-31 11:56:15 +0300 |
commit | 8b73d8c3d2c93c6e3db19d8c2641fc74dc9f8bf1 (patch) | |
tree | f8059b8ad8e9427b64e7539b42c3ddd68187666d | |
parent | 2e09908f37c34356baae72f047bbb8fc9faac32f (diff) | |
download | linux-8b73d8c3d2c93c6e3db19d8c2641fc74dc9f8bf1.tar.xz |
ARM: tegra: nexus7: Add i2c-thermtrip node
Add i2c-thermtrip node which enables emergency shutdown by PMC on
SoC die overheat detected by TSENSOR.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | arch/arm/boot/dts/tegra30-asus-nexus7-grouper-maxim-pmic.dtsi | 9 | ||||
-rw-r--r-- | arch/arm/boot/dts/tegra30-asus-nexus7-grouper-ti-pmic.dtsi | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-maxim-pmic.dtsi b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-maxim-pmic.dtsi index 17b6682ffce8..53966fa4eef2 100644 --- a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-maxim-pmic.dtsi +++ b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-maxim-pmic.dtsi @@ -182,4 +182,13 @@ enable-active-high; vin-supply = <&vdd_3v3_sys>; }; + + pmc@7000e400 { + i2c-thermtrip { + nvidia,i2c-controller-id = <4>; + nvidia,bus-addr = <0x3c>; + nvidia,reg-addr = <0x41>; + nvidia,reg-data = <0xe0>; + }; + }; }; diff --git a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-ti-pmic.dtsi b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-ti-pmic.dtsi index b97da45ebdb4..06b5e8a5ce5d 100644 --- a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-ti-pmic.dtsi +++ b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-ti-pmic.dtsi @@ -147,4 +147,13 @@ gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; enable-active-high; }; + + pmc@7000e400 { + i2c-thermtrip { + nvidia,i2c-controller-id = <4>; + nvidia,bus-addr = <0x2d>; + nvidia,reg-addr = <0x3f>; + nvidia,reg-data = <0x80>; + }; + }; }; |