video, sm501: add edid and commandline support

- add commandline options:
  sm501fb.mode:
    Specify resolution as "<xres>x<yres>[-<bpp>][@<refresh>]"
  sm501fb.bpp:
    Specify bit-per-pixel if not specified mode

- Add support for encoding display mode information
  in the device tree using verbatim EDID block.

  If the "edid" entry in the "smi,sm501" node is present,
  the driver will build mode database using EDID data
  and allow setting the display modes from this database.

Signed-off-by: Heiko Schocher <[email protected]>
cc: [email protected]
cc: [email protected]
cc: Ben Dooks <[email protected]>
cc: Vincent Sanders <[email protected]>
cc: Samuel Ortiz <[email protected]>
cc: [email protected]
cc: Randy Dunlap <[email protected]>
cc: Paul Mundt <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
This commit is contained in:
Heiko Schocher 2011-01-26 07:21:22 +00:00 • committed by Paul Mundt
commit e6a0498071
2 changed files with 70 additions and 5 deletions

View file

@ -0,0 +1,10 @@
Configuration:
You can pass the following kernel command line options to sm501 videoframebuffer:
sm501fb.bpp= SM501 Display driver:
Specifiy bits-per-pixel if not specified by 'mode'
sm501fb.mode= SM501 Display driver:
Specify resolution as
"<xres>x<yres>[-<bpp>][@<refresh>]"