powerpc/85xx: p1022ds: enable monitor switching via pixis indirect mode
authorTimur Tabi <timur@freescale.com>
Fri, 18 Nov 2011 07:50:01 +0000 (07:50 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 16 Mar 2012 16:16:16 +0000 (11:16 -0500)
commit6597c713b7a8a77ea8696a1df4bbb673f3de22aa
tree43862f2daca3553ce6c3955f0b43319ff25dc0f9
parente041013ac0df7fc7dea73c9ca73a33ab5b48d155
powerpc/85xx: p1022ds: enable monitor switching via pixis indirect mode

When the P1022's DIU video controller is active, the pixis must be accessed
in "indirect" mode, which uses localbus chip select addresses.

Switching between the DVI and LVDS monitor ports is handled by the pixis,
so that switching needs to be done via indirect mode.

This has the side-effect of no longer requiring U-Boot to enable the DIU.
Now Linux can enable the DIU all by itself.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/p1022_ds.c