]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commit
OMAPDSS: dra7-tpd12s015: move ddc pixmux to .dts
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 26 May 2015 09:59:19 +0000 (12:59 +0300)
committerJyri Sarha <jsarha@ti.com>
Wed, 27 May 2015 11:42:58 +0000 (14:42 +0300)
commitbf0bd1f57a5eab913bfd81da002caea560a8db81
treea0a92f6408e2a3e3d7c00a10346aa39e646bdf0c
parent09bc2fa69e4894c41f3b11e2e72797998a1af89a
OMAPDSS: dra7-tpd12s015: move ddc pixmux to .dts

We need to do runtime pinmuxing for HDMI, as the HDMI DDC lines are also
used as I2C2 lines. This is currently done in the DRA7 EVM specific
tpd12s015 driver, by writing directly to the pinmux registers.

Remove that hackery by moving the muxing to .dts.

We also need to use a McASP2 pin, which is used as a gpio via McASP2
functionality (i.e. not in GPIO mode). Muxing for this pin is also moved
to .dts, but changing the output value of the pin is still handled in
the driver via direct register writes.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tested-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
arch/arm/boot/dts/dra7-evm.dts
drivers/video/fbdev/omap2/displays-new/dra7-evm-encoder-tpd12s015.c