]> www.infradead.org Git - linux.git/commitdiff
ARM: dts: ux500: Update AB850[05] nodes
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 15 Jan 2022 00:27:43 +0000 (01:27 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Feb 2022 21:49:22 +0000 (22:49 +0100)
The new YAML device tree bindings gives new and proper names
to several of the AB850[05] nodes and redefines the way we
use numbering on PWMs to use reg.

Update all the DTS nodes accordingly.

Add the missing thermal node to the AB8505.

Drop the debugfs nodes because these are not real devices.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-ab8500.dtsi
arch/arm/boot/dts/ste-ab8505.dtsi
arch/arm/boot/dts/ste-href-ab8500.dtsi
arch/arm/boot/dts/ste-href.dtsi
arch/arm/boot/dts/ste-snowball.dts
arch/arm/boot/dts/ste-ux500-samsung-codina.dts
arch/arm/boot/dts/ste-ux500-samsung-gavini.dts
arch/arm/boot/dts/ste-ux500-samsung-golden.dts
arch/arm/boot/dts/ste-ux500-samsung-janice.dts
arch/arm/boot/dts/ste-ux500-samsung-kyle.dts
arch/arm/boot/dts/ste-ux500-samsung-skomer.dts

index 2cf19386a5253a8ac0db9124dea6ec4365be92e9..35137c6e52eeb49bec231a61faf88aeddce9aaa4 100644 (file)
                                interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
 
                                ab8500_clock: clock-controller {
                                        compatible = "stericsson,ab8500-clk";
                                        #clock-cells = <1>;
                                };
 
-                               ab8500_gpio: ab8500-gpiocontroller {
+                               ab8500_gpio: gpio {
                                        compatible = "stericsson,ab8500-gpio";
                                        gpio-controller;
                                        #gpio-cells = <2>;
                                };
 
-                               ab8500-rtc {
+                               rtc {
                                        compatible = "stericsson,ab8500-rtc";
                                        interrupts = <17 IRQ_TYPE_LEVEL_HIGH>,
                                                     <18 IRQ_TYPE_LEVEL_HIGH>;
                                        interrupt-names = "60S", "ALARM";
                                };
 
-                               gpadc: ab8500-gpadc {
+                               gpadc: adc {
                                        compatible = "stericsson,ab8500-gpadc";
                                        interrupts = <32 IRQ_TYPE_LEVEL_HIGH>,
                                                     <39 IRQ_TYPE_LEVEL_HIGH>;
                                        };
                                };
 
-                               ab8500_temp {
+                               thermal {
                                        compatible = "stericsson,abx500-temp";
                                        interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
                                        interrupt-names = "ABX500_TEMP_WARM";
-                                       io-channels = <&gpadc 0x06>,
-                                                     <&gpadc 0x07>;
-                                       io-channel-names = "aux1", "aux2";
                                };
 
                                ab8500_fg {
                                        monitored-battery       = <&battery>;
                                };
 
-                               ab8500_usb: ab8500_usb {
+                               ab8500_usb: phy {
                                        compatible = "stericsson,ab8500-usb";
                                        interrupts = <90 IRQ_TYPE_LEVEL_HIGH>,
                                                     <96 IRQ_TYPE_LEVEL_HIGH>,
                                        #phy-cells = <0>;
                                };
 
-                               ab8500-ponkey {
+                               key {
                                        compatible = "stericsson,ab8500-poweron-key";
                                        interrupts = <6 IRQ_TYPE_LEVEL_HIGH>,
                                                     <7 IRQ_TYPE_LEVEL_HIGH>;
                                        compatible = "stericsson,ab8500-sysctrl";
                                };
 
-                               ab8500-pwm-1 {
+                               pwm@1 {
                                        compatible = "stericsson,ab8500-pwm";
+                                       reg = <1>;
                                        clocks = <&ab8500_clock AB8500_SYSCLK_INT>;
                                        clock-names = "intclk";
+                                       #pwm-cells = <1>;
                                };
 
-                               ab8500-pwm-2 {
+                               pwm@2 {
                                        compatible = "stericsson,ab8500-pwm";
+                                       reg = <2>;
                                        clocks = <&ab8500_clock AB8500_SYSCLK_INT>;
                                        clock-names = "intclk";
+                                       #pwm-cells = <1>;
                                };
 
-                               ab8500-pwm-3 {
+                               pwm@3 {
                                        compatible = "stericsson,ab8500-pwm";
+                                       reg = <3>;
                                        clocks = <&ab8500_clock AB8500_SYSCLK_INT>;
                                        clock-names = "intclk";
+                                       #pwm-cells = <1>;
                                };
 
-                               ab8500-debugfs {
-                                       compatible = "stericsson,ab8500-debug";
-                               };
-
-                               codec: ab8500-codec {
+                               codec: codec {
                                        compatible = "stericsson,ab8500-codec";
 
                                        V-AUD-supply = <&ab8500_ldo_audio_reg>;
                                        stericsson,earpeice-cmv = <950>; /* Units in mV. */
                                };
 
-                               ext_regulators: ab8500-ext-regulators {
+                               ext_regulators: regulator-external {
                                        compatible = "stericsson,ab8500-ext-regulator";
 
                                        ab8500_ext1_reg: ab8500_ext1 {
                                        };
                                };
 
-                               ab8500-regulators {
+                               regulator {
                                        compatible = "stericsson,ab8500-regulator";
                                        vin-supply = <&ab8500_ext3_reg>;
 
index d5ec3ffbc6a2f241ce06019e97d1448032feaa14..131c82508e820ce1ec218b73e9d165e0d3c7d754 100644 (file)
                                interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
 
                                ab8500_clock: clock-controller {
                                        compatible = "stericsson,ab8500-clk";
                                        #clock-cells = <1>;
                                };
 
-                               ab8505_gpio: ab8505-gpiocontroller {
+                               ab8505_gpio: gpio {
                                        compatible = "stericsson,ab8505-gpio";
                                        gpio-controller;
                                        #gpio-cells = <2>;
                                };
 
-                               ab8500-rtc {
+                               rtc {
                                        compatible = "stericsson,ab8500-rtc";
                                        interrupts = <17 IRQ_TYPE_LEVEL_HIGH>,
                                                     <18 IRQ_TYPE_LEVEL_HIGH>;
                                        interrupt-names = "60S", "ALARM";
                                };
 
-                               gpadc: ab8500-gpadc {
+                               gpadc: adc {
                                        compatible = "stericsson,ab8500-gpadc";
                                        interrupts = <39 IRQ_TYPE_LEVEL_HIGH>;
                                        interrupt-names = "SW_CONV_END";
                                        };
                                };
 
+                               thermal {
+                                       compatible = "stericsson,abx500-temp";
+                                       interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
+                                       interrupt-names = "ABX500_TEMP_WARM";
+                               };
+
                                ab8500_fg {
                                        compatible = "stericsson,ab8500-fg";
                                        interrupts = <24 IRQ_TYPE_LEVEL_HIGH>,
                                        monitored-battery = <&battery>;
                                };
 
-                               ab8500_usb: ab8500_usb {
+                               ab8500_usb: phy {
                                        compatible = "stericsson,ab8500-usb";
                                        interrupts = <90 IRQ_TYPE_LEVEL_HIGH>,
                                                     <96 IRQ_TYPE_LEVEL_HIGH>,
                                        #phy-cells = <0>;
                                };
 
-                               ab8500-ponkey {
+                               key {
                                        compatible = "stericsson,ab8500-poweron-key";
                                        interrupts = <6 IRQ_TYPE_LEVEL_HIGH>,
                                                     <7 IRQ_TYPE_LEVEL_HIGH>;
                                        compatible = "stericsson,ab8500-sysctrl";
                                };
 
-                               ab8500-pwm {
+                               pwm@1 {
                                        compatible = "stericsson,ab8500-pwm";
+                                       reg = <1>;
                                        clocks = <&ab8500_clock AB8500_SYSCLK_INT>;
                                        clock-names = "intclk";
+                                       #pwm-cells = <1>;
                                };
 
-                               ab8500-debugfs {
-                                       compatible = "stericsson,ab8500-debug";
-                               };
-
-                               codec: ab8500-codec {
+                               codec: codec {
                                        compatible = "stericsson,ab8500-codec";
 
                                        V-AUD-supply = <&ab8500_ldo_audio_reg>;
                                        stericsson,earpeice-cmv = <950>; /* Units in mV. */
                                };
 
-                               ab8505-regulators {
+                               regulator {
                                        compatible = "stericsson,ab8505-regulator";
 
                                        ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
index 3ccb7b5c71625c1ae9880aeca338f9cd7b4379b3..9fa024900d53436cb95e93966b314401aa5ff6a9 100644 (file)
@@ -9,7 +9,7 @@
        soc {
                prcmu@80157000 {
                        ab8500 {
-                               ab8500-gpiocontroller {
+                               gpio {
                                        /* Hog a few default settings */
                                        pinctrl-names = "default";
                                        pinctrl-0 = <&gpio2_default_mode>,
index 848fdcaad07418b471b532ba0daecf161073b331..fbaa0ce46427179d478a8797c0afda9b331c8d69 100644 (file)
 
                prcmu@80157000 {
                        ab8500 {
-                               ab8500-gpiocontroller {
+                               gpio {
                                };
 
-                               ab8500_usb {
+                               phy {
                                        pinctrl-names = "default", "sleep";
                                        pinctrl-0 = <&usb_a_1_default>;
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
-                               ab8500-regulators {
+                               regulator {
                                        ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
                                                regulator-name = "V-DISPLAY";
                                        };
index a24e45e06eece9d0cf6dda1d385c4bbe4b168966..1c9094f248939a00719afa0e15e60564ae4d4cb2 100644 (file)
 
                prcmu@80157000 {
                        ab8500 {
-                               ab8500-gpiocontroller {
+                               gpio {
                                        /*
                                         * AB8500 GPIOs are numbered starting from 1, so the first
                                         * index 0 is what in the datasheet is called "GPIO1", and
                                                     "PM_GPIO42"; /* AB8500 GPIO42 */
                                };
 
-                               ab8500_usb {
+                               phy {
                                        pinctrl-names = "default", "sleep";
                                        pinctrl-0 = <&usb_a_1_default>;
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
-                               ext_regulators: ab8500-ext-regulators {
+                               ext_regulators: regulator-external {
                                        ab8500_ext1_reg: ab8500_ext1 {
                                                regulator-name = "ab8500-ext-supply1";
                                        };
                                        };
                                };
 
-                               ab8500-regulators {
+                               regulator {
                                        ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
                                                regulator-name = "V-DISPLAY";
                                        };
index 69741b2c6b96fc47128f73c8326f2cad450b4ef4..1c1725d31c7cd056f5573e3e9d5115b54c3f4d9d 100644 (file)
 
                prcmu@80157000 {
                        ab8500 {
-                               ab8500_usb {
+                               phy {
                                        pinctrl-names = "default", "sleep";
                                        pinctrl-0 = <&usb_a_1_default>;
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
-                               ab8500-regulators {
+                               regulator {
                                        ab8500_ldo_aux1 {
                                                /* Used for VDD for sensors */
                                                regulator-name = "V-SENSORS-VDD";
index 7a0b73450d951ffb486bcd4f117f141b9136bf2a..fd170974765fb784e16bd41edb129d68c58dd3dc 100644 (file)
 
                prcmu@80157000 {
                        ab8500 {
-                               ab8500_usb {
+                               phy {
                                        pinctrl-names = "default", "sleep";
                                        pinctrl-0 = <&usb_a_1_default>;
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
-                               ab8500-regulators {
+                               regulator {
                                        ab8500_ldo_aux1 {
                                                /* Used for VDD for sensors */
                                                regulator-name = "V-SENSORS-VDD";
index 7c2a68eb490056a00db643b2e54f4db9c32799ea..290ab59e863d7a9e41695c12f45b5186b541e6ed 100644 (file)
 
                prcmu@80157000 {
                        ab8505 {
-                               ab8500_usb {
+                               phy {
                                        pinctrl-names = "default", "sleep";
                                        pinctrl-0 = <&usb_a_1_default>;
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
-                               ab8505-regulators {
+                               regulator {
                                        ab8500_ldo_aux1 {
                                                regulator-name = "sensor_3v";
                                                regulator-min-microvolt = <3000000>;
index 7688bc900cd10a7c72a0ae282507d36bf61062c1..df42ece8082e6e3a6945f83284eec59324d0f4f2 100644 (file)
 
                prcmu@80157000 {
                        ab8500 {
-                               ab8500_usb {
+                               phy {
                                        pinctrl-names = "default", "sleep";
                                        pinctrl-0 = <&usb_a_1_default>;
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
-                               ab8500-regulators {
+                               regulator {
                                        ab8500_ldo_aux1 {
                                                /* Used for VDD for sensors */
                                                regulator-name = "V-SENSORS-VDD";
index 78410570f4480478e267ab7730babec6a47acdb3..2a5bf54137ce695678fdd3a10958381d5e609619 100644 (file)
 
                prcmu@80157000 {
                        ab8505 {
-                               ab8500_usb {
+                               phy {
                                        pinctrl-names = "default", "sleep";
                                        pinctrl-0 = <&usb_a_1_default>;
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
-                               ab8505-regulators {
+                               regulator {
                                        ab8500_ldo_aux1 {
                                                /* Used for VDD for sensors */
                                                regulator-name = "AUX1";
index 4ce1103ccd6fa7bde449a973f7b4d991a4fdd6d4..ce104f9552d35c584be36f429835ca74592fddb6 100644 (file)
 
                prcmu@80157000 {
                        ab8505 {
-                               ab8500_usb {
+                               phy {
                                        pinctrl-names = "default", "sleep";
                                        pinctrl-0 = <&usb_a_1_default>;
                                        pinctrl-1 = <&usb_a_1_sleep>;
                                };
 
-                               ab8505-regulators {
+                               regulator {
                                        ab8500_ldo_aux1 {
                                                /* Used for VDD for sensors */
                                                regulator-name = "AUX1";