mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 09:48:07 +07:00
ARM: dts: lpc32xx: phy3250: remove regulators umbrella device node
The originally added 'regulators' device node has a number of flaws, to name a few its children has unit addresses but no reg properties, the regulators are not captured by a device driver due to a missing 'simple-bus' compatible, the regulator names are selected by killing either alphabetical order or device node grouping property. The change removes 'regulators' device node and renames the regulators and labels. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
This commit is contained in:
parent
dc141b99fc
commit
55ff232497
@ -25,37 +25,6 @@ memory {
|
|||||||
reg = <0x80000000 0x4000000>;
|
reg = <0x80000000 0x4000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
regulators {
|
|
||||||
backlight_reg: regulator@0 {
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
regulator-name = "backlight_reg";
|
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <1800000>;
|
|
||||||
gpio = <&gpio 5 4 0>;
|
|
||||||
enable-active-high;
|
|
||||||
regulator-boot-on;
|
|
||||||
};
|
|
||||||
|
|
||||||
lcd_reg: regulator@1 {
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
regulator-name = "lcd_reg";
|
|
||||||
regulator-min-microvolt = <1800000>;
|
|
||||||
regulator-max-microvolt = <1800000>;
|
|
||||||
gpio = <&gpio 5 0 0>;
|
|
||||||
enable-active-high;
|
|
||||||
regulator-boot-on;
|
|
||||||
};
|
|
||||||
|
|
||||||
sd_reg: regulator@2 {
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
regulator-name = "sd_reg";
|
|
||||||
regulator-min-microvolt = <3300000>;
|
|
||||||
regulator-max-microvolt = <3300000>;
|
|
||||||
gpio = <&gpio 5 5 0>;
|
|
||||||
enable-active-high;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
@ -69,6 +38,36 @@ led1 { /* green */
|
|||||||
linux,default-trigger = "heartbeat";
|
linux,default-trigger = "heartbeat";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
reg_backlight: regulator-backlight {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "backlight";
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
|
regulator-max-microvolt = <1800000>;
|
||||||
|
gpio = <&gpio 5 4 0>;
|
||||||
|
enable-active-high;
|
||||||
|
regulator-boot-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
reg_lcd: regulator-lcd {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "lcd";
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
|
regulator-max-microvolt = <1800000>;
|
||||||
|
gpio = <&gpio 5 0 0>;
|
||||||
|
enable-active-high;
|
||||||
|
regulator-boot-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
reg_sd: regulator-sd {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "sd";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
gpio = <&gpio 5 5 0>;
|
||||||
|
enable-active-high;
|
||||||
|
regulator-boot-on;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&clcd {
|
&clcd {
|
||||||
@ -130,7 +129,7 @@ &sd {
|
|||||||
cd-gpios = <&gpio 3 1 0>;
|
cd-gpios = <&gpio 3 1 0>;
|
||||||
cd-inverted;
|
cd-inverted;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
vmmc-supply = <&sd_reg>;
|
vmmc-supply = <®_sd>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user