author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Tue, 26 May 2015 09:59:19 +0000 (12:59 +0300) | ||
committer | Jyri Sarha <jsarha@ti.com> | |
Wed, 27 May 2015 11:42:58 +0000 (14:42 +0300) | ||
commit | bf0bd1f57a5eab913bfd81da002caea560a8db81 | |
tree | a0a92f6408e2a3e3d7c00a10346aa39e646bdf0c | tree | snapshot (tar.xz tar.gz zip) |
parent | 09bc2fa69e4894c41f3b11e2e72797998a1af89a | commit | diff |
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>
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 | diff | blob | history | |
drivers/video/fbdev/omap2/displays-new/dra7-evm-encoder-tpd12s015.c | diff | blob | history |