drivers/video: use strings to specify the Freescale DIU monitor port
authorTimur Tabi <timur@freescale.com>
Sat, 9 Jul 2011 20:38:14 +0000 (15:38 -0500)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 13 Jul 2011 08:01:39 +0000 (17:01 +0900)
commit7653aaab775d4c205a7dce52850c8e3d4f31d4ea
tree882f66ade2dc625c5f836a83f83a433fe679fbc3
parentc6daf05b6d7afca4c9e04a7361e284ef9e1d8dad
drivers/video: use strings to specify the Freescale DIU monitor port

Instead of using ill-defined numbers (0, 1, and 2) for the monitor port, allow
the user to specify the port by name ("dvi", "lvds", or "dlvds").  This works
on the kernel command line, the module command-line, and the sysfs "monitor"
device.

Note that changing the monitor port does not currently work on the P1022DS,
because the code that talks to the PIXIS FPGA is broken.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/powerpc/platforms/512x/mpc512x_shared.c
arch/powerpc/platforms/85xx/p1022_ds.c
arch/powerpc/platforms/86xx/mpc8610_hpcd.c
arch/powerpc/sysdev/fsl_soc.h
drivers/video/fsl-diu-fb.c