video, sm501: add edid and commandline support
authorHeiko Schocher <hs@denx.de>
Wed, 26 Jan 2011 07:21:22 +0000 (07:21 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 22 Mar 2011 08:17:00 +0000 (17:17 +0900)
commite6a049807105decf5aa7f0c510f5e5ec96c3548e
tree0cbc2078c332cb4df53859b13f8e1f346f2f958c
parentbf5f0019046d596d613caf74722ba4994e153899
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 <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>
Documentation/fb/sm501.txt [new file with mode: 0644]
drivers/video/sm501fb.c