pinctrl: rockchip: fix handling of first pinbank
Get series with b4
b4 am 1647754.qr1tAySXax@diegoVersions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | pinctrl: rockchip: add return value to rockchip_set_muxdrivers/ | +25 | 0 replies | |
| 2/2 | pinctrl: rockchip: handle first half of rk3188-bank0 correctlydrivers/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] pinctrl: rockchip: fix handling of first pinbank
Am Dienstag, 25. März 2014, 20:43:59 schrieb Beniamino Galvani:
Quoted 5 lines · Heiko Stübner
Quoted 4 lines
GPIO0 only has the second two IOMUX registers:
-GRF_GPIO0C_IOMUXat0x68
-GRF_GPIO0D_IOMUXat0x6c
which I guess is where my mistake comes from.
[...]
Quoted 4 lines
On radxa rock schematic pins GPIO0A* and GPIO0B* are labeled only as gpios, without alternate functions like other pins; my guess is that on rk3188 they can only act as gpios and so mux registers are not needed for them.
That was my guess too - especially as the registers are also missing.
Therefore I put together the following two patches to go on top of your patch and also make rockchip_set_mux honor this situation.
Heiko Stuebner (2):
pinctrl: rockchip: add return value to rockchip_set_mux
pinctrl: rockchip: handle first half of rk3188-bank0 correctly
drivers/pinctrl/pinctrl-rockchip.c | 46 ++++++++++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 7 deletions(-)
Signature · 1 line
1.9.0