arm64: dts: renesas: ulcb-kf: Drop duplicate 3.3v regulators
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 17 Jan 2024 13:18:06 +0000 (14:18 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 29 Jan 2024 13:21:54 +0000 (14:21 +0100)
Schematics say that all these 3.3v sources are driven by "D3.3V".
We have a regulator for it already in ulcb.dtsi.  Use it instead.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240117131807.24997-2-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi

index 3885ef3454ff6e92d8f0d00509d0f935e7e40fa6..40a5f98c119076bfb13fcc401b7447fcd07c9dbd 100644 (file)
                };
        };
 
-       accel_3v3: regulator-acc-3v3 {
-               compatible = "regulator-fixed";
-               regulator-name = "accel-3v3";
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-       };
-
        hdmi_1v8: regulator-hdmi-1v8 {
                compatible = "regulator-fixed";
                regulator-name = "hdmi-1v8";
                regulator-max-microvolt = <1800000>;
        };
 
-       hdmi_3v3: regulator-hdmi-3v3 {
-               compatible = "regulator-fixed";
-               regulator-name = "hdmi-3v3";
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-       };
-
-       snd_3p3v: regulator-snd_3p3v {
-               compatible = "regulator-fixed";
-               regulator-name = "snd-3.3v";
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-       };
-
        snd_vcc5v: regulator-snd_vcc5v {
                compatible = "regulator-fixed";
                regulator-name = "snd-vcc5v";
                                avdd-supply = <&hdmi_1v8>;
                                dvdd-supply = <&hdmi_1v8>;
                                pvdd-supply = <&hdmi_1v8>;
-                               dvdd-3v-supply = <&hdmi_3v3>;
+                               dvdd-3v-supply = <&reg_3p3v>;
                                bgvdd-supply = <&hdmi_1v8>;
 
                                adi,input-depth = <8>;
                                compatible = "st,lsm9ds0-imu";
                                reg = <0x1d>;
 
-                               vdd-supply = <&accel_3v3>;
-                               vddio-supply = <&accel_3v3>;
+                               vdd-supply = <&reg_3p3v>;
+                               vddio-supply = <&reg_3p3v>;
                        };
 
                        pcm3168a: audio-codec@44 {
                                clocks = <&clksndsel>;
                                clock-names = "scki";
 
-                               VDD1-supply = <&snd_3p3v>;
-                               VDD2-supply = <&snd_3p3v>;
+                               VDD1-supply = <&reg_3p3v>;
+                               VDD2-supply = <&reg_3p3v>;
                                VCCAD1-supply = <&snd_vcc5v>;
                                VCCAD2-supply = <&snd_vcc5v>;
                                VCCDA1-supply = <&snd_vcc5v>;
                                compatible = "st,lsm9ds0-gyro";
                                reg = <0x6b>;
 
-                               vdd-supply = <&accel_3v3>;
-                               vddio-supply = <&accel_3v3>;
+                               vdd-supply = <&reg_3p3v>;
+                               vddio-supply = <&reg_3p3v>;
                        };
                };
        };