@@ -8,9 +8,7 @@ Required properties:
- display : phandle to display node (see below for details)
Optional properties:
-- panel-enable-gpios : Should specify the gpio for panel enable
-
-* display node
+- display node
Required properties:
- bits-per-pixel : <16> for RGB565, <32> for RGB888/666.
@@ -25,7 +23,6 @@ lcdif@80030000 {
compatible = "fsl,imx28-lcdif";
reg = <0x80030000 2000>;
interrupts = <38 86>;
- panel-enable-gpios = <&gpio3 30 0>;
display: display {
bits-per-pixel = <32>;
@@ -59,7 +59,6 @@
lcdif@80030000 {
pinctrl-names = "default";
pinctrl-0 = <&lcdif_24bit_pins_a>;
- panel-enable-gpios = <&gpio1 18 0>;
display = <&display>;
status = "okay";
@@ -120,6 +119,15 @@
regulator-max-microvolt = <3300000>;
gpio = <&gpio1 29 0>;
};
+
+ reg_lcd: lcd {
+ compatible = "regulator-fixed";
+ regulator-name = "lcd";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&gpio1 18 0>;
+ enable-active-high;
+ }
};
backlight {
@@ -123,7 +123,6 @@
pinctrl-names = "default";
pinctrl-0 = <&lcdif_24bit_pins_a
&lcdif_pins_evk>;
- panel-enable-gpios = <&gpio3 30 0>;
display = <&display>;
status = "okay";
@@ -310,6 +309,15 @@
gpio = <&gpio3 8 0>;
enable-active-high;
};
+
+ reg_lcd: lcd {
+ compatible = "regulator-fixed";
+ regulator-name = "lcd";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&gpio3 30 0>;
+ enable-active-high;
+ };
};
sound {
Instead of using a custom binding for turning on a GPIO that activates the LCD, use the standard 'regulator-fixed'. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- Changes since v2: - Changes since v1: - Adjust Subject, since the change is not specific to mx28evk Documentation/devicetree/bindings/fb/mxsfb.txt | 5 +---- arch/arm/boot/dts/imx23-evk.dts | 10 +++++++++- arch/arm/boot/dts/imx28-evk.dts | 10 +++++++++- 3 files changed, 19 insertions(+), 6 deletions(-)