commit | fd2fdf7c507f054027a2b2f9fd8863d61e60ffa5 | [log] [tgz] |
---|---|---|
author | David Wu <david.wu@rock-chips.com> | Tue Dec 03 19:26:50 2019 +0800 |
committer | Kever Yang <kever.yang@rock-chips.com> | Fri Dec 06 00:06:23 2019 +0800 |
tree | f0a7130f9217ec8705ce9d116ac6fb705681500d | |
parent | 770258bf6b63ec29783c38d0e5c81edf04badc7b [diff] |
pinctrl: rockchip: Add pinctrl support for rk3308 An iomux register contains 8 pins, each of which is represented by 2 bits, but the register offset is 0x8. For example, GRF_GPIO0A_IOMUX offset is 0x0, but GRF_GPIO0B_IOMUX offset is 0x8, the offset 0x4 is reserved. So add a type IOMUX_8WIDTH_2BIT to calculate offset. Signed-off-by: David Wu <david.wu@rock-chips.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>