]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: a3700: Fix uart2 group selection register mask
authorKen Ma <make@marvell.com>
Thu, 22 Jun 2017 09:13:35 +0000 (17:13 +0800)
committerStefan Roese <sr@denx.de>
Fri, 23 Jun 2017 05:09:40 +0000 (07:09 +0200)
commitb5a6c94a0380071600dc5b8be1853164f62af146
treecaf724c91f0098172f57c946c86283a62d90069d
parent235c5b8315c6a9eb566fd3d99a098cc6db869fc5
pinctrl: a3700: 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>
Cc: Stefan Roese <sr@denx.de>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Wilson Ding <dingwei@marvell.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c