rockchip: pinctrl: rk3328: do not set io routing
authorKever Yang <kever.yang@rock-chips.com>
Wed, 17 May 2017 03:44:44 +0000 (11:44 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 7 Jun 2017 13:29:21 +0000 (07:29 -0600)
commit077eb3151442462cae020ab7254cc3e73407e5c8
tree2e8a15044da5e1b7501a5bec054cf43ed76b0936
parent6f0c12371302b375c0fe87c0bcb5b19de03e9d38
rockchip: pinctrl: rk3328: do not set io routing

In rk3328, some function pin may have more than one choice, and muxed
with more than one IO, for example, the UART2 controller IO,
TX and RX, have 3 choice(setting in com_iomux):
- M0 which mux with GPIO1A0/GPIO1A1
- M1 which mux with GPIO2A0/GPIO2A1
- usb2phy which mux with USB2.0 DP/DM pin.

We should not decide which group to use in pinctrl driver,
for it may be different in different board, it should goes to board
file, and the pinctrl file should setting correct iomux depends on
the com_iomux value.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/grf_rk3328.h
drivers/pinctrl/rockchip/pinctrl_rk3328.c