diff options
| author | Shawn Guo <shawn.guo@linaro.org> | 2012-06-25 07:54:35 -0400 |
|---|---|---|
| committer | Shawn Guo <shawn.guo@linaro.org> | 2012-07-03 01:22:37 -0400 |
| commit | 73fc610f9a891fd777040bbb1854ae0b58edee9c (patch) | |
| tree | 881ac7ce1909aa23d73d00c4060351c00f512cd9 /Documentation/devicetree/bindings/fb | |
| parent | ce4409b5821f170c018b94bacb36df1ffadb751f (diff) | |
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.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 00000000000..b41e5e52a67 --- /dev/null +++ b/Documentation/devicetree/bindings/fb/mxsfb.txt | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | * Freescale MXS LCD Interface (LCDIF) | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: Should be "fsl,<chip>-lcdif". Supported chips include | ||
| 5 | imx23 and imx28. | ||
| 6 | - reg: Address and length of the register set for lcdif | ||
| 7 | - interrupts: Should contain lcdif interrupts | ||
| 8 | |||
| 9 | Optional properties: | ||
| 10 | - panel-enable-gpios : Should specify the gpio for panel enable | ||
| 11 | |||
| 12 | Examples: | ||
| 13 | |||
| 14 | lcdif@80030000 { | ||
| 15 | compatible = "fsl,imx28-lcdif"; | ||
| 16 | reg = <0x80030000 2000>; | ||
| 17 | interrupts = <38 86>; | ||
| 18 | panel-enable-gpios = <&gpio3 30 0>; | ||
| 19 | }; | ||
