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>
This commit is contained in:
Dmitry Osipenko 2021-05-10 23:25:57 +03:00 committed by Thierry Reding
parent 2e09908f37
commit 8b73d8c3d2
2 changed files with 18 additions and 0 deletions

View File

@ -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>;
};
};
};

View File

@ -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>;
};
};
};