]> git.itanic.dy.fi Git - linux-stable/commitdiff
ARM: dts: renesas: Add missing ADV751[13] power supply properties
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 23 Oct 2023 13:52:16 +0000 (15:52 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 13 Nov 2023 13:35:36 +0000 (14:35 +0100)
make dtbs_check:

    arch/arm/boot/dts/renesas/r8a7791-koelsch.dtb: hdmi@39: 'avdd-supply' is a required property
    from schema $id: http://devicetree.org/schemas/display/bridge/adi,adv7511.yaml#
    arch/arm/boot/dts/renesas/r8a7791-koelsch.dtb: hdmi@39: 'dvdd-supply' is a required property
    from schema $id: http://devicetree.org/schemas/display/bridge/adi,adv7511.yaml#
    arch/arm/boot/dts/renesas/r8a7791-koelsch.dtb: hdmi@39: 'pvdd-supply' is a required property
    from schema $id: http://devicetree.org/schemas/display/bridge/adi,adv7511.yaml#
    arch/arm/boot/dts/renesas/r8a7791-koelsch.dtb: hdmi@39: 'dvdd-3v-supply' is a required property
    from schema $id: http://devicetree.org/schemas/display/bridge/adi,adv7511.yaml#
    arch/arm/boot/dts/renesas/r8a7791-koelsch.dtb: hdmi@39: 'bgvdd-supply' is a required property
    from schema $id: http://devicetree.org/schemas/display/bridge/adi,adv7511.yaml#
    ...

Fix this by adding the missing power supply properties, and by adding
fixed regulators where needed.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/6c49fd83d327a68040f052bd9fd96fe25b0fc301.1698068647.git.geert+renesas@glider.be
arch/arm/boot/dts/renesas/iwg20d-q7-dbcm-ca.dtsi
arch/arm/boot/dts/renesas/r8a7745-iwg22d-sodimm-dbhd-ca.dts
arch/arm/boot/dts/renesas/r8a7790-lager.dts
arch/arm/boot/dts/renesas/r8a7790-stout.dts
arch/arm/boot/dts/renesas/r8a7791-koelsch.dts
arch/arm/boot/dts/renesas/r8a7791-porter.dts
arch/arm/boot/dts/renesas/r8a7792-blanche.dts
arch/arm/boot/dts/renesas/r8a7792-wheat.dts
arch/arm/boot/dts/renesas/r8a7793-gose.dts
arch/arm/boot/dts/renesas/r8a7794-silk.dts

index e10f99278c77aa412f1751c87209286ef124df7a..de52218ceaa4c0e07e052d0c2b4d38b0d9b0ab37 100644 (file)
@@ -27,6 +27,15 @@ hdmi_con_out: endpoint {
                        };
                };
        };
+
+       reg_1p8v: regulator-1p8v {
+               compatible = "regulator-fixed";
+               regulator-name = "1P8V";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
 };
 
 &can1 {
@@ -69,6 +78,12 @@ hdmi@39 {
                clocks = <&cec_clock>;
                clock-names = "cec";
 
+               avdd-supply = <&reg_1p8v>;
+               dvdd-supply = <&reg_1p8v>;
+               pvdd-supply = <&reg_1p8v>;
+               dvdd-3v-supply = <&reg_3p3v>;
+               bgvdd-supply = <&reg_1p8v>;
+
                adi,input-depth = <8>;
                adi,input-colorspace = "rgb";
                adi,input-clock = "1x";
index b1f679da36b2ede19854f59ba9d087161e0f5d27..a0b574398055ad2d63d4ff99ae18309b44583522 100644 (file)
@@ -34,6 +34,15 @@ hdmi_con: endpoint {
                        };
                };
        };
+
+       reg_1p8v: regulator-1p8v {
+               compatible = "regulator-fixed";
+               regulator-name = "1P8V";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
 };
 
 &du {
@@ -81,6 +90,12 @@ hdmi@39 {
                clock-names = "cec";
                pd-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
 
+               avdd-supply = <&reg_1p8v>;
+               dvdd-supply = <&reg_1p8v>;
+               pvdd-supply = <&reg_1p8v>;
+               dvdd-3v-supply = <&reg_3p3v>;
+               bgvdd-supply = <&reg_1p8v>;
+
                adi,input-depth = <8>;
                adi,input-colorspace = "rgb";
                adi,input-clock = "1x";
index bc04567ccf8d8d763cdb2db107942323638c7a54..2fba4d084001b9646ee012eb967e96a27695bfa6 100644 (file)
@@ -122,6 +122,15 @@ led8 {
                };
        };
 
+       fixedregulator1v8: regulator-1v8 {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-1.8V";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
        fixedregulator3v3: regulator-3v3 {
                compatible = "regulator-fixed";
                regulator-name = "fixed-3.3V";
@@ -361,6 +370,12 @@ hdmi@39 {
                        clocks = <&cec_clock>;
                        clock-names = "cec";
 
+                       avdd-supply = <&fixedregulator1v8>;
+                       dvdd-supply = <&fixedregulator1v8>;
+                       pvdd-supply = <&fixedregulator1v8>;
+                       dvdd-3v-supply = <&fixedregulator3v3>;
+                       bgvdd-supply = <&fixedregulator1v8>;
+
                        adi,input-depth = <8>;
                        adi,input-colorspace = "rgb";
                        adi,input-clock = "1x";
index fe14727eefe1ec8caddc3a46d7c3eaef2f80d57c..f9bc5b4f019d02136aa99631c1b2e8c67e9651de 100644 (file)
@@ -44,6 +44,15 @@ led5 {
                };
        };
 
+       fixedregulator1v8: regulator-1v8 {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-1.8V";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
        fixedregulator3v3: regulator-3v3 {
                compatible = "regulator-fixed";
                regulator-name = "fixed-3.3V";
@@ -296,6 +305,12 @@ hdmi@39 {
                clocks = <&osc4_clk>;
                clock-names = "cec";
 
+               avdd-supply = <&fixedregulator1v8>;
+               dvdd-supply = <&fixedregulator1v8>;
+               pvdd-supply = <&fixedregulator1v8>;
+               dvdd-3v-supply = <&fixedregulator3v3>;
+               bgvdd-supply = <&fixedregulator1v8>;
+
                adi,input-depth = <8>;
                adi,input-colorspace = "rgb";
                adi,input-clock = "1x";
index 63ca0256975dd4115cbe3c22c82a261339a2258e..e9c13bb03772af44eada731a13b5ee88a2e3de7c 100644 (file)
@@ -174,6 +174,24 @@ led8 {
                };
        };
 
+       reg_1p8v: regulator-1v8 {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-1.8V";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
+       reg_3p3v: regulator-3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-3.3V";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
        vcc_sdhi0: regulator-vcc-sdhi0 {
                compatible = "regulator-fixed";
 
@@ -384,6 +402,12 @@ hdmi@39 {
                        clocks = <&cec_clock>;
                        clock-names = "cec";
 
+                       avdd-supply = <&reg_1p8v>;
+                       dvdd-supply = <&reg_1p8v>;
+                       pvdd-supply = <&reg_1p8v>;
+                       dvdd-3v-supply = <&reg_3p3v>;
+                       bgvdd-supply = <&reg_1p8v>;
+
                        adi,input-depth = <8>;
                        adi,input-colorspace = "rgb";
                        adi,input-clock = "1x";
index 65fd462e7b430589f6d0ee463caf459239255ae6..7e8bc06715f6564badf502267a33c3737c206cf9 100644 (file)
@@ -47,6 +47,24 @@ memory@200000000 {
                reg = <2 0x00000000 0 0x40000000>;
        };
 
+       reg_1p8v: regulator-1v8 {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-1.8V";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
+       reg_3p3v: regulator-3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-3.3V";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
        vcc_sdhi0: regulator-vcc-sdhi0 {
                compatible = "regulator-fixed";
 
@@ -179,6 +197,12 @@ hdmi@39 {
                        interrupt-parent = <&gpio3>;
                        interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
 
+                       avdd-supply = <&reg_1p8v>;
+                       dvdd-supply = <&reg_1p8v>;
+                       pvdd-supply = <&reg_1p8v>;
+                       dvdd-3v-supply = <&reg_3p3v>;
+                       bgvdd-supply = <&reg_1p8v>;
+
                        adi,input-depth = <8>;
                        adi,input-colorspace = "rgb";
                        adi,input-clock = "1x";
index 4ee83b8aae2a4f19ab19c3d79327c8bfc4fe8e4b..4f9838cf97ee4fb608b27bfc3d637edee39f3c95 100644 (file)
@@ -30,6 +30,15 @@ memory@40000000 {
                reg = <0 0x40000000 0 0x40000000>;
        };
 
+       d1_8v: regulator-1v8 {
+               compatible = "regulator-fixed";
+               regulator-name = "D1.8V";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
        d3_3v: regulator-3v3 {
                compatible = "regulator-fixed";
                regulator-name = "D3.3V";
@@ -330,6 +339,12 @@ hdmi@39 {
                interrupt-parent = <&irqc>;
                interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
 
+               avdd-supply = <&d1_8v>;
+               dvdd-supply = <&d1_8v>;
+               pvdd-supply = <&d1_8v>;
+               dvdd-3v-supply = <&d3_3v>;
+               bgvdd-supply = <&d1_8v>;
+
                adi,input-depth = <8>;
                adi,input-colorspace = "rgb";
                adi,input-clock = "1x";
index f87e78fe3f6e6aecb8289392af4a01d10bd38e5c..000f21a2a8630a8e6ad809ee51ab9463a0c5621d 100644 (file)
@@ -29,6 +29,15 @@ memory@40000000 {
                reg = <0 0x40000000 0 0x40000000>;
        };
 
+       d1_8v: regulator-1v8 {
+               compatible = "regulator-fixed";
+               regulator-name = "D1.8V";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
        d3_3v: regulator-3v3 {
                compatible = "regulator-fixed";
                regulator-name = "D3.3V";
@@ -254,6 +263,12 @@ hdmi@3d {
                reg = <0x3d>, <0x4d>, <0x2d>, <0x5d>;
                reg-names = "main", "edid", "cec", "packet";
 
+               avdd-supply = <&d1_8v>;
+               dvdd-supply = <&d1_8v>;
+               pvdd-supply = <&d1_8v>;
+               dvdd-3v-supply = <&d3_3v>;
+               bgvdd-supply = <&d1_8v>;
+
                adi,input-depth = <8>;
                adi,input-colorspace = "rgb";
                adi,input-clock = "1x";
@@ -283,6 +298,12 @@ hdmi@39 {
                reg = <0x39>, <0x49>, <0x29>, <0x59>;
                reg-names = "main", "edid", "cec", "packet";
 
+               avdd-supply = <&d1_8v>;
+               dvdd-supply = <&d1_8v>;
+               pvdd-supply = <&d1_8v>;
+               dvdd-3v-supply = <&d3_3v>;
+               bgvdd-supply = <&d1_8v>;
+
                adi,input-depth = <8>;
                adi,input-colorspace = "rgb";
                adi,input-clock = "1x";
index 58e26706a5bc29536dfe867a240ca0a55d7a5a23..1744fdbf9e0ce08d2a30180e1462dd46a18152f9 100644 (file)
@@ -165,6 +165,24 @@ led8 {
                };
        };
 
+       reg_1p8v: regulator-1v8 {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-1.8V";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
+       reg_3p3v: regulator-3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-3.3V";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
        vcc_sdhi0: regulator-vcc-sdhi0 {
                compatible = "regulator-fixed";
 
@@ -368,6 +386,12 @@ hdmi@39 {
                        interrupt-parent = <&gpio3>;
                        interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
 
+                       avdd-supply = <&reg_1p8v>;
+                       dvdd-supply = <&reg_1p8v>;
+                       pvdd-supply = <&reg_1p8v>;
+                       dvdd-3v-supply = <&reg_3p3v>;
+                       bgvdd-supply = <&reg_1p8v>;
+
                        adi,input-depth = <8>;
                        adi,input-colorspace = "rgb";
                        adi,input-clock = "1x";
index 01fb06d10cbdb45b4c688bc3b01c0c94c06fb06d..43d480a7f3eacc21636788f15e2b27ce3d4dec43 100644 (file)
@@ -102,6 +102,15 @@ key-d {
                };
        };
 
+       d1_8v: regulator-d1-8v {
+               compatible = "regulator-fixed";
+               regulator-name = "D1.8V";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
        d3_3v: regulator-d3-3v {
                compatible = "regulator-fixed";
                regulator-name = "D3.3V";
@@ -256,6 +265,12 @@ hdmi@39 {
                        interrupt-parent = <&gpio5>;
                        interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
 
+                       avdd-supply = <&d1_8v>;
+                       dvdd-supply = <&d1_8v>;
+                       pvdd-supply = <&d1_8v>;
+                       dvdd-3v-supply = <&d3_3v>;
+                       bgvdd-supply = <&d1_8v>;
+
                        adi,input-depth = <8>;
                        adi,input-colorspace = "rgb";
                        adi,input-clock = "1x";