[PATCH 7/7] ARM: dts: ux500: Add die temperature to AB8505

Linus Walleij linus.walleij at linaro.org
Wed Jan 13 07:15:08 EST 2021


The AB8505 mixed signal ASIC variant has a die temperature
channel that is missing in the AB8500 variant. Add it to
the DTSI.

Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
 arch/arm/boot/dts/ste-ab8505.dtsi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/ste-ab8505.dtsi b/arch/arm/boot/dts/ste-ab8505.dtsi
index 696e6691fe41..cc045b2fc217 100644
--- a/arch/arm/boot/dts/ste-ab8505.dtsi
+++ b/arch/arm/boot/dts/ste-ab8505.dtsi
@@ -13,7 +13,8 @@ iio-hwmon {
 			      <&gpadc 0x08>, /* Main battery voltage */
 			      <&gpadc 0x09>, /* VBUS */
 			      <&gpadc 0x0b>, /* Charger current */
-			      <&gpadc 0x0c>; /* Backup battery voltage */
+			      <&gpadc 0x0c>, /* Backup battery voltage */
+			      <&gpadc 0x0d>; /* Die temperature */
 	};
 
 	soc {
@@ -83,6 +84,9 @@ charger_c: channel at 0b {
 					bk_bat_v: channel at 0c {
 						reg = <0x0c>;
 					};
+					die_temp: channel at 0d {
+						reg = <0x0d>;
+					};
 					usb_id: channel at 0e {
 						reg = <0x0e>;
 					};
-- 
2.29.2




More information about the linux-arm-kernel mailing list