]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: mediatek: mt8195-demo: Drop regulator-compatible property
authorChen-Yu Tsai <wenst@chromium.org>
Wed, 11 Dec 2024 05:24:24 +0000 (13:24 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 12 Dec 2024 09:59:02 +0000 (10:59 +0100)
The "regulator-compatible" property has been deprecated since 2012 in
commit 13511def87b9 ("regulator: deprecate regulator-compatible DT
property"), which is so old it's not even mentioned in the converted
regulator bindings YAML file. It is also not listed in the MT6360
regulator and charger bindings.

Drop the "regulator-compatible" property from the board dts. The MT6360
bindings actually require the lowercase name, so with the property
present the regulators were likely not actually working.

Fixes: 6147314aeedc ("arm64: dts: mediatek: Add device-tree for MT8195 Demo board")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241211052427.4178367-7-wenst@chromium.org
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8195-demo.dts

index 31d424b8fc7cedef65489392eb279b7fd2194a4a..bfb75296795c399f255a58762a148854174d4f88 100644 (file)
                        richtek,vinovp-microvolt = <14500000>;
 
                        otg_vbus_regulator: usb-otg-vbus-regulator {
-                               regulator-compatible = "usb-otg-vbus";
                                regulator-name = "usb-otg-vbus";
                                regulator-min-microvolt = <4425000>;
                                regulator-max-microvolt = <5825000>;
                        LDO_VIN3-supply = <&mt6360_buck2>;
 
                        mt6360_buck1: buck1 {
-                               regulator-compatible = "BUCK1";
                                regulator-name = "mt6360,buck1";
                                regulator-min-microvolt = <300000>;
                                regulator-max-microvolt = <1300000>;
                        };
 
                        mt6360_buck2: buck2 {
-                               regulator-compatible = "BUCK2";
                                regulator-name = "mt6360,buck2";
                                regulator-min-microvolt = <300000>;
                                regulator-max-microvolt = <1300000>;
                        };
 
                        mt6360_ldo1: ldo1 {
-                               regulator-compatible = "LDO1";
                                regulator-name = "mt6360,ldo1";
                                regulator-min-microvolt = <1200000>;
                                regulator-max-microvolt = <3600000>;
                        };
 
                        mt6360_ldo2: ldo2 {
-                               regulator-compatible = "LDO2";
                                regulator-name = "mt6360,ldo2";
                                regulator-min-microvolt = <1200000>;
                                regulator-max-microvolt = <3600000>;
                        };
 
                        mt6360_ldo3: ldo3 {
-                               regulator-compatible = "LDO3";
                                regulator-name = "mt6360,ldo3";
                                regulator-min-microvolt = <1200000>;
                                regulator-max-microvolt = <3600000>;
                        };
 
                        mt6360_ldo5: ldo5 {
-                               regulator-compatible = "LDO5";
                                regulator-name = "mt6360,ldo5";
                                regulator-min-microvolt = <2700000>;
                                regulator-max-microvolt = <3600000>;
                        };
 
                        mt6360_ldo6: ldo6 {
-                               regulator-compatible = "LDO6";
                                regulator-name = "mt6360,ldo6";
                                regulator-min-microvolt = <500000>;
                                regulator-max-microvolt = <2100000>;
                        };
 
                        mt6360_ldo7: ldo7 {
-                               regulator-compatible = "LDO7";
                                regulator-name = "mt6360,ldo7";
                                regulator-min-microvolt = <500000>;
                                regulator-max-microvolt = <2100000>;