]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sh-pfc: r8a7740: Hardcode the LCDC0 output
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 19 Apr 2013 09:52:59 +0000 (11:52 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 24 Apr 2013 08:33:59 +0000 (17:33 +0900)
commitb94d10459b91a8dc8678ba8fdd345d172ee7dabb
treeb01c9c9c257ebcedabbe41f1c88eb36658c73052
parentf74f30b5ff37625b271105f433f1fa7e082b4b21
sh-pfc: r8a7740: Hardcode the LCDC0 output

The r8a7740 has two LCDC units and two sets of LCDC output signals. By
default LCDC0 is routed to the LCD0 signals, and LCDC1 to the LCD1
signals. However, LCDC1 can be routed to the LCD0 signals by setting bit
MSEL6 in MSEL3CR (the LCD0 signals are further pinmuxed the usual way).

This could be configured by duplicating the LCD0 pin groups for LCDC1.
However, this would unnecessarily complicate the LCD pin groups, as no
r8a7740 board supported in mainline use such a configuration. Hardcode
the MSEL3CR MSEL6 bit to 0 for now.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/pfc-r8a7740.c