summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx28-apf28dev.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-apf28dev.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-apf28dev.dts')
-rw-r--r--arch/arm/boot/dts/imx28-apf28dev.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-apf28dev.dts b/arch/arm/boot/dts/imx28-apf28dev.dts
index 6d8865bfb4b7..3d905d16cbec 100644
--- a/arch/arm/boot/dts/imx28-apf28dev.dts
+++ b/arch/arm/boot/dts/imx28-apf28dev.dts
@@ -72,7 +72,32 @@
pinctrl-names = "default";
pinctrl-0 = <&lcdif_16bit_pins_a
&lcdif_pins_apf28dev>;
+ display = <&display>;
status = "okay";
+
+ display: display {
+ bits-per-pixel = <16>;
+ bus-width = <16>;
+
+ display-timings {
+ native-mode = <&timing0>;
+ timing0: timing0 {
+ clock-frequency = <33000033>;
+ hactive = <800>;
+ vactive = <480>;
+ hback-porch = <96>;
+ hfront-porch = <96>;
+ vback-porch = <20>;
+ vfront-porch = <21>;
+ hsync-len = <64>;
+ vsync-len = <4>;
+ hsync-active = <1>;
+ vsync-active = <1>;
+ de-active = <1>;
+ pixelclk-active = <0>;
+ };
+ };
+ };
};
};