diff options
author | Sandor Yu <R01008@freescale.com> | 2014-02-26 04:38:32 -0500 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:57:47 -0400 |
commit | 8615ad64d1bf43a7952d490dbfe729b45a388d52 (patch) | |
tree | 384ff923c8e63b85358a66f41f2b05cb8857a672 /arch/arm/boot | |
parent | af6499d970e6820c6b53147e25faf68c347b31b1 (diff) |
ENGR00300939 ARM: dts: imx: Add power supply for imx6sx sdb lcdif
-Change lcd1_reset pin to GPIO mode
-Add regulator reg_lcd_3v3 for lcdif
Signed-off-by: Sandor Yu <R01008@freescale.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dts | 12 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6sx.dtsi | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts index 616ab5645326..1a85cf82e2ec 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dts +++ b/arch/arm/boot/dts/imx6sx-sdb.dts | |||
@@ -24,6 +24,17 @@ | |||
24 | memory { | 24 | memory { |
25 | reg = <0x80000000 0x40000000>; | 25 | reg = <0x80000000 0x40000000>; |
26 | }; | 26 | }; |
27 | |||
28 | regulators { | ||
29 | compatible = "simple-bus"; | ||
30 | |||
31 | reg_lcd_3v3: lcd-3v3 { | ||
32 | compatible = "regulator-fixed"; | ||
33 | regulator-name = "lcd-3v3"; | ||
34 | gpio = <&gpio3 27 0>; | ||
35 | enable-active-high; | ||
36 | }; | ||
37 | }; | ||
27 | }; | 38 | }; |
28 | 39 | ||
29 | &fec1 { | 40 | &fec1 { |
@@ -232,6 +243,7 @@ | |||
232 | pinctrl-names = "default"; | 243 | pinctrl-names = "default"; |
233 | pinctrl-0 = <&pinctrl_lcdif_dat_0 | 244 | pinctrl-0 = <&pinctrl_lcdif_dat_0 |
234 | &pinctrl_lcdif_ctrl_0>; | 245 | &pinctrl_lcdif_ctrl_0>; |
246 | lcd-supply = <®_lcd_3v3>; | ||
235 | display = <&display>; | 247 | display = <&display>; |
236 | status = "okay"; | 248 | status = "okay"; |
237 | 249 | ||
diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 2eaa9059414a..59f9f870df1b 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi | |||
@@ -702,7 +702,7 @@ | |||
702 | MX6SX_PAD_LCD1_ENABLE__LCDIF1_ENABLE 0x1b0b0 | 702 | MX6SX_PAD_LCD1_ENABLE__LCDIF1_ENABLE 0x1b0b0 |
703 | MX6SX_PAD_LCD1_VSYNC__LCDIF1_VSYNC 0x1b0b0 | 703 | MX6SX_PAD_LCD1_VSYNC__LCDIF1_VSYNC 0x1b0b0 |
704 | MX6SX_PAD_LCD1_HSYNC__LCDIF1_HSYNC 0x1b0b0 | 704 | MX6SX_PAD_LCD1_HSYNC__LCDIF1_HSYNC 0x1b0b0 |
705 | MX6SX_PAD_LCD1_RESET__LCDIF1_RESET 0x1b0b0 | 705 | MX6SX_PAD_LCD1_RESET__GPIO3_IO_27 0x1b0b0 |
706 | >; | 706 | >; |
707 | }; | 707 | }; |
708 | }; | 708 | }; |