mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
arm64: dts: st: add digital temperature sensor on stm32mp251
The digital temperature sensor (DTS) of the STM32MP25 is a Moortec MR75203 PVT controller with two temperature sensors, handled by the mr75203 hwmon driver. The reference manual does not document the process detector and voltage monitor blocks that the controller reports and the driver maps. They were found at offsets 0x180 and 0x400 on the STM32MP257F-DK. Use the temperature coefficients from the STM32MP25 datasheet, as the driver defaults read about 1 degree Celsius too high. Signed-off-by: Mateusz Nowicki <mateusz.nowicki@posteo.net> Link: https://lore.kernel.org/r/20260924192259.20517-2-mateusz.nowicki@posteo.net Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
This commit is contained in:
parent
29ee49c0f8
commit
f7433360a3
|
|
@ -1829,6 +1829,21 @@ package-otp@1e8 {
|
|||
};
|
||||
};
|
||||
|
||||
dts: thermal-sensor@44070000 {
|
||||
compatible = "moortec,mr75203";
|
||||
reg = <0x44070000 0x80>,
|
||||
<0x44070080 0xc0>,
|
||||
<0x44070180 0x80>,
|
||||
<0x44070400 0x400>;
|
||||
reg-names = "common", "ts", "pd", "vm";
|
||||
clocks = <&rcc CK_KER_DTS>;
|
||||
resets = <&rcc DTS_R>;
|
||||
#thermal-sensor-cells = <1>;
|
||||
moortec,ts-coeff-g = <58500>;
|
||||
moortec,ts-coeff-h = <201200>;
|
||||
moortec,ts-coeff-j = <0>;
|
||||
};
|
||||
|
||||
hdp: pinctrl@44090000 {
|
||||
compatible = "st,stm32mp251-hdp";
|
||||
reg = <0x44090000 0x400>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user