]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
pinctrl: rockchip: fix offset of mux registers for rk3188
authorBeniamino Galvani <b.galvani@gmail.com>
Mon, 24 Mar 2014 22:36:01 +0000 (23:36 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Apr 2014 07:39:33 +0000 (09:39 +0200)
commit22c0d7e36f74352f7b80679003bf7edf85736b2b
tree7e1686230ffbef26e6d19ff45c37c055227440e9
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
pinctrl: rockchip: fix offset of mux registers for rk3188

The correct value of .mux_offset for rk3188 seems to be 0x60
instead of 0x68.

Heiko adds:

GPIO0 only has the second two IOMUX registers:
- GRF_GPIO0C_IOMUX at 0x68
- GRF_GPIO0D_IOMUX at 0x6c
which I guess is where my mistake comes from.

It looks like there does no iomux register exist at all
for the first 16 pins.

In any case, the current number is wrong, and the 0x60
offset is the correct one, but I guess we need to
determine what the affected pins do - do they always have a
gpio mux or such?

Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c