diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-03-22 19:16:45 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-22 19:16:45 -0400 |
commit | 9c7fbe2fbd1d861c50912b10b2bc3a15371a7a5e (patch) | |
tree | 66305e282709b0cc294a893dd3886c354920ce59 /Documentation/devicetree | |
parent | 32b98bf8752c5483481f77d48934aba26c967fcd (diff) |
video: Move sm501fb devicetree binding documentation to a better place.
Now that there is a Documentation/devicetree hierarchy, and the driver in
question has no specific platform dependency, move the binding
information to a more appropriate place.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/fb/sm501fb.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/fb/sm501fb.txt b/Documentation/devicetree/bindings/fb/sm501fb.txt new file mode 100644 index 000000000000..7d319fba9b5b --- /dev/null +++ b/Documentation/devicetree/bindings/fb/sm501fb.txt | |||
@@ -0,0 +1,34 @@ | |||
1 | * SM SM501 | ||
2 | |||
3 | The SM SM501 is a LCD controller, with proper hardware, it can also | ||
4 | drive DVI monitors. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible : should be "smi,sm501". | ||
8 | - reg : contain two entries: | ||
9 | - First entry: System Configuration register | ||
10 | - Second entry: IO space (Display Controller register) | ||
11 | - interrupts : SMI interrupt to the cpu should be described here. | ||
12 | - interrupt-parent : the phandle for the interrupt controller that | ||
13 | services interrupts for this device. | ||
14 | |||
15 | Optional properties: | ||
16 | - mode : select a video mode: | ||
17 | <xres>x<yres>[-<bpp>][@<refresh>] | ||
18 | - edid : verbatim EDID data block describing attached display. | ||
19 | Data from the detailed timing descriptor will be used to | ||
20 | program the display controller. | ||
21 | - little-endian: availiable on big endian systems, to | ||
22 | set different foreign endian. | ||
23 | - big-endian: availiable on little endian systems, to | ||
24 | set different foreign endian. | ||
25 | |||
26 | Example for MPC5200: | ||
27 | display@1,0 { | ||
28 | compatible = "smi,sm501"; | ||
29 | reg = <1 0x00000000 0x00800000 | ||
30 | 1 0x03e00000 0x00200000>; | ||
31 | interrupts = <1 1 3>; | ||
32 | mode = "640x480-32@60"; | ||
33 | edid = [edid-data]; | ||
34 | }; | ||