ARM: OMAP: Display: Configure DSI Mux pads for OMAP5
authorArchit Taneja <archit@ti.com>
Mon, 9 Apr 2012 12:24:35 +0000 (17:54 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 10 Dec 2012 12:17:14 +0000 (14:17 +0200)
commit42124f202eadce2e80be413e87cfed20bbeb51ce
tree31ecd1cfd013044425d6ba9962209dbc0edfb97f
parentd40f8d6d0a6d6df9f8da2298d5c3a088f08424d9
ARM: OMAP: Display: Configure DSI Mux pads for OMAP5

Add a function omap5_dsi_mux_pads which configures the CONTROL_DSIPHY register
to enable/disabling the DSI1 or DSI2 lanes.

The CONTROL_DSIPHY register on OMAP4 was used for enabling/disabling the lanes
and configuring them as pull up or pull down. On OMAP5, this register is only
used to enable the lanes. There are separate registers to configure
pull up and down.

Use raw register writes to configure the CONTROL_DSIPHY registers since mux
isn't completely available for OMAP5 yet.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
arch/arm/mach-omap2/display.c