diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-06-25 15:54:35 +0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-07-03 09:22:37 +0400 |
commit | 73fc610f9a891fd777040bbb1854ae0b58edee9c (patch) | |
tree | 881ac7ce1909aa23d73d00c4060351c00f512cd9 /Documentation/devicetree/bindings/fb/mxsfb.txt | |
parent | ce4409b5821f170c018b94bacb36df1ffadb751f (diff) | |
download | linux-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/mxsfb.txt')
-rw-r--r-- | Documentation/devicetree/bindings/fb/mxsfb.txt | 19 |
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 000000000000..b41e5e52a676 --- /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>; +}; |