]> asedeno.scripts.mit.edu Git - linux.git/commit
pinctrl: armada-37xx: Fix uart2 group selection register mask
authorKen Ma <make@marvell.com>
Fri, 23 Jun 2017 12:29:51 +0000 (14:29 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 29 Jun 2017 09:44:00 +0000 (11:44 +0200)
commitce8a4a38bb01ec9cef36718020d6159c48b6864b
tree0b79b1b310c025d6f51e61d2b951ad1e60cdef08
parent37a2f8e5522abd8e206a0da1622034382aa6683d
pinctrl: armada-37xx: Fix uart2 group selection register mask

If north bridge selection register bit1 is clear, pins [10:8] are for
SDIO0 Resetn, Wakeup, and PDN while if bit1 is set, pins [10:8]are for
GPIO; when bit1 is clear, pin 9 and pin 10 can be used for uart2 RTSn
and CTSn, so bit1 should be added to uart2 group and it must be set
for both "gpio" and "uart" functions of uart2 group.

Signed-off-by: Ken Ma <make@marvell.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c