diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2013-08-16 01:42:58 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:01:22 -0400 |
commit | e72b8a329a0c6c9d6fe7912469a3d2d6dbbc5d0c (patch) | |
tree | 10eef0398c815ac1673919230d75316d36975b15 | |
parent | 1dbf125c8268355ce00783e457f110ddebb05971 (diff) |
ENGR00275483-5 ARM: imx6qdl-sabresd: enable mipi dsi and display
This patch enables the mipi dsi driver and TRULY-WVGA mipi lcd panel
driver on the imx6qdl-sabresd platforms. To control the panel's reset
and power enable functions, this patch adds two pins in the hoggrp node
as the gpio control pins and adds the mipi_dsi_pwr_on/mipi-dsi-reset
nodes for related drivers to use.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index e0fc52880d96..5ea6b7b2cb0c 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi | |||
@@ -62,6 +62,13 @@ | |||
62 | gpio = <&gpio4 10 0>; | 62 | gpio = <&gpio4 10 0>; |
63 | enable-active-high; | 63 | enable-active-high; |
64 | }; | 64 | }; |
65 | |||
66 | reg_mipi_dsi_pwr_on: mipi_dsi_pwr_on { | ||
67 | compatible = "regulator-fixed"; | ||
68 | regulator-name = "mipi_dsi_pwr_on"; | ||
69 | gpio = <&gpio6 14 0>; | ||
70 | enable-active-high; | ||
71 | }; | ||
65 | }; | 72 | }; |
66 | 73 | ||
67 | gpio-keys { | 74 | gpio-keys { |
@@ -169,6 +176,13 @@ | |||
169 | lvds0-gpios = <&gpio6 15 0>; | 176 | lvds0-gpios = <&gpio6 15 0>; |
170 | lvds1-gpios = <&gpio6 16 0>; | 177 | lvds1-gpios = <&gpio6 16 0>; |
171 | }; | 178 | }; |
179 | |||
180 | mipi_dsi_reset: mipi-dsi-reset { | ||
181 | compatible = "gpio-reset"; | ||
182 | reset-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>; | ||
183 | reset-delay-us = <50>; | ||
184 | #reset-cells = <0>; | ||
185 | }; | ||
172 | }; | 186 | }; |
173 | 187 | ||
174 | &audmux { | 188 | &audmux { |
@@ -395,6 +409,8 @@ | |||
395 | MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000 | 409 | MX6QDL_PAD_EIM_D23__GPIO3_IO23 0x80000000 |
396 | MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x80000000 | 410 | MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x80000000 |
397 | MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x80000000 | 411 | MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x80000000 |
412 | MX6QDL_PAD_NANDF_CS0__GPIO6_IO11 0x80000000 | ||
413 | MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x80000000 | ||
398 | >; | 414 | >; |
399 | }; | 415 | }; |
400 | }; | 416 | }; |
@@ -427,6 +443,15 @@ | |||
427 | status = "okay"; | 443 | status = "okay"; |
428 | }; | 444 | }; |
429 | 445 | ||
446 | &mipi_dsi { | ||
447 | dev_id = <0>; | ||
448 | disp_id = <0>; | ||
449 | lcd_panel = "TRULY-WVGA"; | ||
450 | disp-power-on-supply = <®_mipi_dsi_pwr_on>; | ||
451 | resets = <&mipi_dsi_reset>; | ||
452 | status = "okay"; | ||
453 | }; | ||
454 | |||
430 | &usbh1 { | 455 | &usbh1 { |
431 | vbus-supply = <®_usb_h1_vbus>; | 456 | vbus-supply = <®_usb_h1_vbus>; |
432 | status = "okay"; | 457 | status = "okay"; |