-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
video, sm501: add OF binding to support SM501
- add binding to OF, compatible name "smi,sm501" Signed-off-by: Heiko Schocher <hs@denx.de> cc: linux-fbdev@vger.kernel.org cc: devicetree-discuss@ozlabs.org cc: Ben Dooks <ben@simtec.co.uk> cc: Vincent Sanders <vince@simtec.co.uk> cc: Samuel Ortiz <sameo@linux.intel.com> cc: linux-kernel@vger.kernel.org cc: Randy Dunlap <rdunlap@xenotime.net> cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
- Loading branch information
Heiko Schocher
authored and
Paul Mundt
committed
Mar 22, 2011
1 parent
e6a0498
commit 4295f9b
Showing
3 changed files
with
81 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
* SM SM501 | ||
|
||
The SM SM501 is a LCD controller, with proper hardware, it can also | ||
drive DVI monitors. | ||
|
||
Required properties: | ||
- compatible : should be "smi,sm501". | ||
- reg : contain two entries: | ||
- First entry: System Configuration register | ||
- Second entry: IO space (Display Controller register) | ||
- interrupts : SMI interrupt to the cpu should be described here. | ||
- interrupt-parent : the phandle for the interrupt controller that | ||
services interrupts for this device. | ||
|
||
Optional properties: | ||
- mode : select a video mode: | ||
<xres>x<yres>[-<bpp>][@<refresh>] | ||
- edid : verbatim EDID data block describing attached display. | ||
Data from the detailed timing descriptor will be used to | ||
program the display controller. | ||
- little-endian: availiable on big endian systems, to | ||
set different foreign endian. | ||
- big-endian: availiable on little endian systems, to | ||
set different foreign endian. | ||
|
||
Example for MPC5200: | ||
display@1,0 { | ||
compatible = "smi,sm501"; | ||
reg = <1 0x00000000 0x00800000 | ||
1 0x03e00000 0x00200000>; | ||
interrupts = <1 1 3>; | ||
mode = "640x480-32@60"; | ||
edid = [edid-data]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters