mirror of https://gitee.com/openkylin/linux.git
ARM: dts: imx53-tx53: remove the regulators bus
It is not recommended to place the regulator nodes inside 'simple-bus', so adjust them accordingly. The motivation for rearranging this is to make it easier to add new regulator nodes in the future. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
8771c7493a
commit
08f8275dca
|
@ -203,10 +203,8 @@ backlight: backlight {
|
||||||
default-brightness-level = <50>;
|
default-brightness-level = <50>;
|
||||||
};
|
};
|
||||||
|
|
||||||
regulators {
|
reg_lcd_pwr: regulator-lcd-pwr {
|
||||||
reg_lcd_pwr: regulator@5 {
|
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <5>;
|
|
||||||
regulator-name = "LCD POWER";
|
regulator-name = "LCD POWER";
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
|
@ -215,9 +213,8 @@ reg_lcd_pwr: regulator@5 {
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_lcd_reset: regulator@6 {
|
reg_lcd_reset: regulator-lcd-reset {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <6>;
|
|
||||||
regulator-name = "LCD RESET";
|
regulator-name = "LCD RESET";
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
|
@ -226,7 +223,6 @@ reg_lcd_reset: regulator@6 {
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
&i2c3 {
|
&i2c3 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
|
@ -99,10 +99,8 @@ backlight1: backlight1 {
|
||||||
default-brightness-level = <50>;
|
default-brightness-level = <50>;
|
||||||
};
|
};
|
||||||
|
|
||||||
regulators {
|
reg_lcd_pwr0: regulator-lvds0-pwr {
|
||||||
reg_lcd_pwr0: regulator@5 {
|
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <5>;
|
|
||||||
regulator-name = "LVDS0 POWER";
|
regulator-name = "LVDS0 POWER";
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
|
@ -111,9 +109,8 @@ reg_lcd_pwr0: regulator@5 {
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_lcd_pwr1: regulator@6 {
|
reg_lcd_pwr1: regulator-lvds1-pwr {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <6>;
|
|
||||||
regulator-name = "LVDS1 POWER";
|
regulator-name = "LVDS1 POWER";
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
|
@ -122,7 +119,6 @@ reg_lcd_pwr1: regulator@6 {
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
|
@ -96,30 +96,22 @@ user {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
regulators {
|
reg_2v5: regulator-2v5 {
|
||||||
compatible = "simple-bus";
|
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <0>;
|
|
||||||
|
|
||||||
reg_2v5: regulator@0 {
|
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <0>;
|
|
||||||
regulator-name = "2V5";
|
regulator-name = "2V5";
|
||||||
regulator-min-microvolt = <2500000>;
|
regulator-min-microvolt = <2500000>;
|
||||||
regulator-max-microvolt = <2500000>;
|
regulator-max-microvolt = <2500000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_3v3: regulator@1 {
|
reg_3v3: regulator-3v3 {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <1>;
|
|
||||||
regulator-name = "3V3";
|
regulator-name = "3V3";
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_can_xcvr: regulator@2 {
|
reg_can_xcvr: regulator-can-xcvr {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <2>;
|
|
||||||
regulator-name = "CAN XCVR";
|
regulator-name = "CAN XCVR";
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
|
@ -128,9 +120,8 @@ reg_can_xcvr: regulator@2 {
|
||||||
gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
|
gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_usbh1_vbus: regulator@3 {
|
reg_usbh1_vbus: regulator-usbh1-vbus {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <3>;
|
|
||||||
regulator-name = "usbh1_vbus";
|
regulator-name = "usbh1_vbus";
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
|
@ -140,9 +131,8 @@ reg_usbh1_vbus: regulator@3 {
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_usbotg_vbus: regulator@4 {
|
reg_usbotg_vbus: regulator-usbotg-vbus {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <4>;
|
|
||||||
regulator-name = "usbotg_vbus";
|
regulator-name = "usbotg_vbus";
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
|
@ -151,7 +141,6 @@ reg_usbotg_vbus: regulator@4 {
|
||||||
gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
|
gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
sound {
|
sound {
|
||||||
compatible = "karo,tx53-audio-sgtl5000", "fsl,imx-audio-sgtl5000";
|
compatible = "karo,tx53-audio-sgtl5000", "fsl,imx-audio-sgtl5000";
|
||||||
|
|
Loading…
Reference in New Issue