arm64: dts: mt6358: Drop bogus "regulator-fixed" compatible properties
authorChen-Yu Tsai <wenst@chromium.org>
Thu, 30 Nov 2023 07:40:30 +0000 (15:40 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 11 Dec 2023 10:13:08 +0000 (11:13 +0100)
Whether a regulator under the MT6358 PMIC is a fixed regulator or not is
derived from the node name. Compatible string properties are not used.
This causes validation errors after the regulator binding is converted
to DT schema.

Drop the bogus "regulator-fixed" compatible properties from the PMIC's
regulator sub-nodes.

Fixes: 9f8872221674 ("arm64: dts: mt6358: add PMIC MT6358 related nodes")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20231130074032.913511-3-wenst@chromium.org
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt6358.dtsi

index 30a8f0e7d3ff550dab5ff1fbab447d5562db1a3b..a1b96013f8141a00ef9d208d822e9c29da2beec9 100644 (file)
                        };
 
                        mt6358_vrf12_reg: ldo_vrf12 {
-                               compatible = "regulator-fixed";
                                regulator-name = "vrf12";
                                regulator-min-microvolt = <1200000>;
                                regulator-max-microvolt = <1200000>;
                        };
 
                        mt6358_vio18_reg: ldo_vio18 {
-                               compatible = "regulator-fixed";
                                regulator-name = "vio18";
                                regulator-min-microvolt = <1800000>;
                                regulator-max-microvolt = <1800000>;
                        };
 
                        mt6358_vcamio_reg: ldo_vcamio {
-                               compatible = "regulator-fixed";
                                regulator-name = "vcamio";
                                regulator-min-microvolt = <1800000>;
                                regulator-max-microvolt = <1800000>;
                        };
 
                        mt6358_vcn18_reg: ldo_vcn18 {
-                               compatible = "regulator-fixed";
                                regulator-name = "vcn18";
                                regulator-min-microvolt = <1800000>;
                                regulator-max-microvolt = <1800000>;
                        };
 
                        mt6358_vfe28_reg: ldo_vfe28 {
-                               compatible = "regulator-fixed";
                                regulator-name = "vfe28";
                                regulator-min-microvolt = <2800000>;
                                regulator-max-microvolt = <2800000>;
                        };
 
                        mt6358_vcn28_reg: ldo_vcn28 {
-                               compatible = "regulator-fixed";
                                regulator-name = "vcn28";
                                regulator-min-microvolt = <2800000>;
                                regulator-max-microvolt = <2800000>;
                        };
 
                        mt6358_vxo22_reg: ldo_vxo22 {
-                               compatible = "regulator-fixed";
                                regulator-name = "vxo22";
                                regulator-min-microvolt = <2200000>;
                                regulator-max-microvolt = <2200000>;
                        };
 
                        mt6358_vaux18_reg: ldo_vaux18 {
-                               compatible = "regulator-fixed";
                                regulator-name = "vaux18";
                                regulator-min-microvolt = <1800000>;
                                regulator-max-microvolt = <1800000>;
                        };
 
                        mt6358_vbif28_reg: ldo_vbif28 {
-                               compatible = "regulator-fixed";
                                regulator-name = "vbif28";
                                regulator-min-microvolt = <2800000>;
                                regulator-max-microvolt = <2800000>;
                        };
 
                        mt6358_vio28_reg: ldo_vio28 {
-                               compatible = "regulator-fixed";
                                regulator-name = "vio28";
                                regulator-min-microvolt = <2800000>;
                                regulator-max-microvolt = <2800000>;
                        };
 
                        mt6358_va12_reg: ldo_va12 {
-                               compatible = "regulator-fixed";
                                regulator-name = "va12";
                                regulator-min-microvolt = <1200000>;
                                regulator-max-microvolt = <1200000>;
                        };
 
                        mt6358_vrf18_reg: ldo_vrf18 {
-                               compatible = "regulator-fixed";
                                regulator-name = "vrf18";
                                regulator-min-microvolt = <1800000>;
                                regulator-max-microvolt = <1800000>;
                        };
 
                        mt6358_vaud28_reg: ldo_vaud28 {
-                               compatible = "regulator-fixed";
                                regulator-name = "vaud28";
                                regulator-min-microvolt = <2800000>;
                                regulator-max-microvolt = <2800000>;