arm64: dts: rockchip: rk3588-evb: fix vcc3v3_lcd0_n node

Remove a regulator-fixed node without gpio enable pin from evb dtsi,
move them to next level board dt file.

The vcc3v3_lcd0_n regulator is a software virtual regulator for camera
module to push high/low level from a gpio but through regulator
enable/disable.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I1f587fe1ca0ef9d31c6cba5362c1912b7208f293
This commit is contained in:
Jianqun Xu
2021-11-12 09:53:48 +08:00
committed by Tao Huang
parent 57276b0cae
commit 26b748082e
9 changed files with 63 additions and 53 deletions

View File

@@ -123,15 +123,6 @@
regulator-max-microvolt = <12000000>;
};
vcc3v3_lcd_n: vcc3v3-lcd0-n {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_lcd0_n";
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc5v0_sys: vcc5v0-sys {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_sys";

View File

@@ -84,6 +84,15 @@
pinctrl-0 = <&typec5v_pwren>;
};
vcc3v3_lcd_n: vcc3v3-lcd0-n {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_lcd0_n";
regulator-boot-on;
enable-active-high;
gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc_1v8_s0>;
};
vcc3v3_pcie30: vcc3v3-pcie30 {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_pcie30";
@@ -427,8 +436,3 @@
&usbhost_dwc3_0 {
status = "disabled";
};
&vcc3v3_lcd_n {
gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>;
enable-active-high;
};

View File

@@ -88,6 +88,15 @@
io-channels = <&saradc 3>;
};
vcc3v3_lcd_n: vcc3v3-lcd0-n {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_lcd0_n";
regulator-boot-on;
enable-active-high;
gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc_1v8_s0>;
};
vcc3v3_pcie30: vcc3v3-pcie30 {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_pcie30";
@@ -297,8 +306,3 @@
&u2phy3_host {
phy-supply = <&vcc5v0_host>;
};
&vcc3v3_lcd_n {
gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>;
enable-active-high;
};

View File

@@ -110,6 +110,15 @@
pinctrl-0 = <&typec5v_pwren>;
};
vcc3v3_lcd_n: vcc3v3-lcd0-n {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_lcd0_n";
regulator-boot-on;
enable-active-high;
gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc_1v8_s0>;
};
vcc3v3_pcie30: vcc3v3-pcie30 {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_pcie30";
@@ -1028,8 +1037,3 @@
&usbhost_dwc3_0 {
status = "disabled";
};
&vcc3v3_lcd_n {
gpio = <&gpio1 RK_PC4 GPIO_ACTIVE_HIGH>;
enable-active-high;
};

View File

@@ -49,6 +49,15 @@
pinctrl-0 = <&typec5v_pwren>;
};
vcc3v3_lcd_n: vcc3v3-lcd0-n {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_lcd0_n";
regulator-boot-on;
enable-active-high;
gpio = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc_1v8_s3>;
};
vcc5v0_host: vcc5v0-host {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_host";
@@ -275,8 +284,3 @@
&usbhost_dwc3_0 {
status = "disabled";
};
&vcc3v3_lcd_n {
gpio = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>;
enable-active-high;
};

View File

@@ -123,15 +123,6 @@
regulator-max-microvolt = <12000000>;
};
vcc3v3_lcd_n: vcc3v3-lcd0-n {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_lcd0_n";
regulator-boot-on;
regulator-state-mem {
regulator-off-in-suspend;
};
};
vcc5v0_sys: vcc5v0-sys {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_sys";

View File

@@ -92,6 +92,15 @@
pinctrl-0 = <&typec5v_pwren>;
};
vcc3v3_lcd_n: vcc3v3-lcd0-n {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_lcd0_n";
regulator-boot-on;
enable-active-high;
gpio = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc_3v3_s0>;
};
vcc3v3_pcie20: vcc3v3-pcie20 {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_pcie20";
@@ -572,8 +581,3 @@
&usbhost_dwc3_0 {
status = "disabled";
};
&vcc3v3_lcd_n {
gpio = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
enable-active-high;
};

View File

@@ -64,6 +64,15 @@
pinctrl-0 = <&typec5v_pwren>;
};
vcc3v3_lcd_n: vcc3v3-lcd0-n {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_lcd0_n";
regulator-boot-on;
enable-active-high;
gpio = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc_1v8_s0>;
};
vcc5v0_u2host: vcc5v0-u2host {
compatible = "regulator-fixed";
regulator-name = "vcc5v0_u2host";
@@ -884,8 +893,3 @@
&usbdrd_dwc3_0 {
maximum-speed = "high-speed";
};
&vcc3v3_lcd_n {
gpio = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>;
enable-active-high;
};

View File

@@ -83,6 +83,15 @@
pinctrl-0 = <&typec5v_pwren>;
};
vcc3v3_lcd_n: vcc3v3-lcd0-n {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_lcd0_n";
regulator-boot-on;
enable-active-high;
gpio = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
vin-supply = <&vcc_3v3_s0>;
};
vcc3v3_pcie20: vcc3v3-pcie20 {
compatible = "regulator-fixed";
regulator-name = "vcc3v3_pcie20";
@@ -557,8 +566,3 @@
&usbhost_dwc3_0 {
status = "disabled";
};
&vcc3v3_lcd_n {
gpio = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
enable-active-high;
};