Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ARM: dts: stm32: Add thermal support for STM32MP131

Add thermal zone configuration and sensor node for STM32MP131 SoC.

Signed-off-by: Roan van Dijk <roan@protonic.nl>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20250203085820.609176-4-o.rempel@pengutronix.de
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>

authored by

Roan van Dijk and committed by
Alexandre Torgue
d5a79bf9 f3607b16

+35
+35
arch/arm/boot/dts/st/stm32mp131.dtsi
··· 100 100 always-on; 101 101 }; 102 102 103 + thermal-zones { 104 + cpu_thermal: cpu-thermal { 105 + polling-delay-passive = <0>; 106 + polling-delay = <0>; 107 + thermal-sensors = <&dts>; 108 + 109 + trips { 110 + cpu_alert1: cpu-alert1 { 111 + temperature = <85000>; 112 + hysteresis = <0>; 113 + type = "passive"; 114 + }; 115 + 116 + cpu-crit { 117 + temperature = <120000>; 118 + hysteresis = <0>; 119 + type = "critical"; 120 + }; 121 + }; 122 + 123 + cooling-maps { 124 + }; 125 + }; 126 + }; 127 + 103 128 soc { 104 129 compatible = "simple-bus"; 105 130 #address-cells = <1>; ··· 942 917 compatible = "st,stm32-lptimer-timer"; 943 918 status = "disabled"; 944 919 }; 920 + }; 921 + 922 + dts: thermal@50028000 { 923 + compatible = "st,stm32-thermal"; 924 + reg = <0x50028000 0x100>; 925 + interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>; 926 + clocks = <&rcc DTS>; 927 + clock-names = "pclk"; 928 + #thermal-sensor-cells = <0>; 929 + status = "disabled"; 945 930 }; 946 931 947 932 mdma: dma-controller@58000000 {