summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/fb
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-06-25 11:54:35 (GMT)
committerShawn Guo <shawn.guo@linaro.org>2012-07-03 05:22:37 (GMT)
commit73fc610f9a891fd777040bbb1854ae0b58edee9c (patch)
tree881ac7ce1909aa23d73d00c4060351c00f512cd9 /Documentation/devicetree/bindings/fb
parentce4409b5821f170c018b94bacb36df1ffadb751f (diff)
downloadlinux-73fc610f9a891fd777040bbb1854ae0b58edee9c.tar.xz
video: mxsfb: add simple device tree probe
Add a simple device tree probe support for mxsfb driver. Before a common binding for struct fb_videomode is available, the driver will keep using struct mxsfb_platform_data. That said, platform code will use auxdata to attach mxsfb_platform_data for device tree boot. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/fb')
-rw-r--r--Documentation/devicetree/bindings/fb/mxsfb.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/fb/mxsfb.txt b/Documentation/devicetree/bindings/fb/mxsfb.txt
new file mode 100644
index 0000000..b41e5e52
--- /dev/null
+++ b/Documentation/devicetree/bindings/fb/mxsfb.txt
@@ -0,0 +1,19 @@
+* Freescale MXS LCD Interface (LCDIF)
+
+Required properties:
+- compatible: Should be "fsl,<chip>-lcdif". Supported chips include
+ imx23 and imx28.
+- reg: Address and length of the register set for lcdif
+- interrupts: Should contain lcdif interrupts
+
+Optional properties:
+- panel-enable-gpios : Should specify the gpio for panel enable
+
+Examples:
+
+lcdif@80030000 {
+ compatible = "fsl,imx28-lcdif";
+ reg = <0x80030000 2000>;
+ interrupts = <38 86>;
+ panel-enable-gpios = <&gpio3 30 0>;
+};