summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx28-cfa10049.dts
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-03-14 04:37:15 +0100
committerShawn Guo <shawn.guo@linaro.org>2013-04-04 15:22:42 +0200
commit0d9f8217db159cdef7d90f89c9b101550d0fe3aa (patch)
treea93b3030c999a8ff70e636aff463d0ecdca833ea /arch/arm/boot/dts/imx28-cfa10049.dts
parentvideo: mxsfb: get display timings from device tree (diff)
downloadlinux-0d9f8217db159cdef7d90f89c9b101550d0fe3aa.tar.xz
linux-0d9f8217db159cdef7d90f89c9b101550d0fe3aa.zip
ARM: mxs: move display timing configurations into device tree
Move display timing configurations into device tree, so that the auxdata for mxsfb driver can be killed. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx28-cfa10049.dts')
-rw-r--r--arch/arm/boot/dts/imx28-cfa10049.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts
index a0d3e9f1738e..7d6e1f87e951 100644
--- a/arch/arm/boot/dts/imx28-cfa10049.dts
+++ b/arch/arm/boot/dts/imx28-cfa10049.dts
@@ -126,7 +126,32 @@
pinctrl-names = "default";
pinctrl-0 = <&lcdif_18bit_pins_cfa10049
&lcdif_pins_cfa10049>;
+ display = <&display>;
status = "okay";
+
+ display: display {
+ bits-per-pixel = <32>;
+ bus-width = <18>;
+
+ display-timings {
+ native-mode = <&timing0>;
+ timing0: timing0 {
+ clock-frequency = <9216000>;
+ hactive = <320>;
+ vactive = <480>;
+ hback-porch = <2>;
+ hfront-porch = <2>;
+ vback-porch = <2>;
+ vfront-porch = <2>;
+ hsync-len = <15>;
+ vsync-len = <15>;
+ hsync-active = <0>;
+ vsync-active = <0>;
+ de-active = <1>;
+ pixelclk-active = <1>;
+ };
+ };
+ };
};
};