# Re: \[PATCH\] \[v2\] drivers/video: use strings to specify the Freescale DIU monitor port

- From: Paul Mundt \<hidden\>
- Date: 2011-07-13 08:27:40 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2011/07/9465405
- Thread: https://ratatoskr.run/linux-fbdev/2011/07/9465339/t.md

```text
On Sat, Jul 09, 2011 at 03:38:14PM -0500, Timur Tabi wrote:
> 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 <redacted>
> Acked-by: Anatolij Gustschin <agust@denx.de>
> ---
>  arch/powerpc/platforms/512x/mpc512x_shared.c |   22 +++-----
>  arch/powerpc/platforms/85xx/p1022_ds.c       |   47 ++++++++---------
>  arch/powerpc/platforms/86xx/mpc8610_hpcd.c   |   55 +++++++++----------
>  arch/powerpc/sysdev/fsl_soc.h                |   25 ++++++---
>  drivers/video/fsl-diu-fb.c                   |   74 +++++++++++++++++++-------
>  5 files changed, 128 insertions(+), 95 deletions(-)
> 
Applied, thanks.
```
