diff options
author | Bryan Brattlof <bb@ti.com> | 2023-04-05 16:53:23 -0500 |
---|---|---|
committer | Vignesh Raghavendra <vigneshr@ti.com> | 2023-06-14 21:41:32 +0530 |
commit | bbb6dc62505acf6fcb80573f7e7a59875c33be0d (patch) | |
tree | 91cb0eb4252fd0212b26b3f9b7c77cfdacd98338 /arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi | |
parent | 96135297a76003faae68e3aa86e2e19851510eb9 (diff) | |
download | linux-stable-bbb6dc62505acf6fcb80573f7e7a59875c33be0d.tar.gz linux-stable-bbb6dc62505acf6fcb80573f7e7a59875c33be0d.tar.bz2 linux-stable-bbb6dc62505acf6fcb80573f7e7a59875c33be0d.zip |
arm64: dts: ti: k3-am62-wakeup: add VTM node
The am62x supports a single Voltage and Thermal Management (VTM) module
located in the wakeup domain with two associated temperature monitors
located in hot spots of the die.
Signed-off-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20230405215328.3755561-3-bb@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi b/arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi new file mode 100644 index 000000000000..a358757e26f0 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include <dt-bindings/thermal/thermal.h> + +thermal_zones: thermal-zones { + main0_thermal: main0-thermal { + polling-delay-passive = <250>; /* milliSeconds */ + polling-delay = <500>; /* milliSeconds */ + thermal-sensors = <&wkup_vtm0 0>; + + trips { + main0_crit: main0-crit { + temperature = <105000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; + }; + }; + + main1_thermal: main1-thermal { + polling-delay-passive = <250>; /* milliSeconds */ + polling-delay = <500>; /* milliSeconds */ + thermal-sensors = <&wkup_vtm0 1>; + + trips { + main1_crit: main1-crit { + temperature = <105000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; + }; + }; +}; |