Skip to content
Snippets Groups Projects
Commit 41eee945 authored by David Wu's avatar David Wu Committed by Kever Yang
Browse files

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: default avatarDavid Wu <david.wu@rock-chips.com>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent e0e6c96a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment