Skip to content

Commit 2a8af9b

Browse files
wensAngeloGioacchino Del Regno
authored andcommitted
arm64: dts: mediatek: mt8195-demo: Drop regulator-compatible property
The "regulator-compatible" property has been deprecated since 2012 in commit 13511de ("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: 6147314 ("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>
1 parent 4dbaa5d commit 2a8af9b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

arch/arm64/boot/dts/mediatek/mt8195-demo.dts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@
137137
richtek,vinovp-microvolt = <14500000>;
138138

139139
otg_vbus_regulator: usb-otg-vbus-regulator {
140-
regulator-compatible = "usb-otg-vbus";
141140
regulator-name = "usb-otg-vbus";
142141
regulator-min-microvolt = <4425000>;
143142
regulator-max-microvolt = <5825000>;
@@ -149,7 +148,6 @@
149148
LDO_VIN3-supply = <&mt6360_buck2>;
150149

151150
mt6360_buck1: buck1 {
152-
regulator-compatible = "BUCK1";
153151
regulator-name = "mt6360,buck1";
154152
regulator-min-microvolt = <300000>;
155153
regulator-max-microvolt = <1300000>;
@@ -160,7 +158,6 @@
160158
};
161159

162160
mt6360_buck2: buck2 {
163-
regulator-compatible = "BUCK2";
164161
regulator-name = "mt6360,buck2";
165162
regulator-min-microvolt = <300000>;
166163
regulator-max-microvolt = <1300000>;
@@ -171,7 +168,6 @@
171168
};
172169

173170
mt6360_ldo1: ldo1 {
174-
regulator-compatible = "LDO1";
175171
regulator-name = "mt6360,ldo1";
176172
regulator-min-microvolt = <1200000>;
177173
regulator-max-microvolt = <3600000>;
@@ -180,7 +176,6 @@
180176
};
181177

182178
mt6360_ldo2: ldo2 {
183-
regulator-compatible = "LDO2";
184179
regulator-name = "mt6360,ldo2";
185180
regulator-min-microvolt = <1200000>;
186181
regulator-max-microvolt = <3600000>;
@@ -189,7 +184,6 @@
189184
};
190185

191186
mt6360_ldo3: ldo3 {
192-
regulator-compatible = "LDO3";
193187
regulator-name = "mt6360,ldo3";
194188
regulator-min-microvolt = <1200000>;
195189
regulator-max-microvolt = <3600000>;
@@ -198,7 +192,6 @@
198192
};
199193

200194
mt6360_ldo5: ldo5 {
201-
regulator-compatible = "LDO5";
202195
regulator-name = "mt6360,ldo5";
203196
regulator-min-microvolt = <2700000>;
204197
regulator-max-microvolt = <3600000>;
@@ -207,7 +200,6 @@
207200
};
208201

209202
mt6360_ldo6: ldo6 {
210-
regulator-compatible = "LDO6";
211203
regulator-name = "mt6360,ldo6";
212204
regulator-min-microvolt = <500000>;
213205
regulator-max-microvolt = <2100000>;
@@ -216,7 +208,6 @@
216208
};
217209

218210
mt6360_ldo7: ldo7 {
219-
regulator-compatible = "LDO7";
220211
regulator-name = "mt6360,ldo7";
221212
regulator-min-microvolt = <500000>;
222213
regulator-max-microvolt = <2100000>;

0 commit comments

Comments
 (0)