OSDN Git Service

ARM: dts: ux500: Add die temperature to AB8505
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 21 Dec 2020 12:20:26 +0000 (13:20 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 Jan 2021 12:12:20 +0000 (13:12 +0100)
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@linaro.org>
arch/arm/boot/dts/ste-ab8505.dtsi

index 696e669..cc045b2 100644 (file)
@@ -13,7 +13,8 @@
                              <&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 @@
                                        bk_bat_v: channel@0c {
                                                reg = <0x0c>;
                                        };
+                                       die_temp: channel@0d {
+                                               reg = <0x0d>;
+                                       };
                                        usb_id: channel@0e {
                                                reg = <0x0e>;
                                        };