summaryrefslogtreecommitdiff
path: root/arch/arm/dts/rk3288-evb.dts
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2016-07-25 09:02:05 (GMT)
committerSimon Glass <sjg@chromium.org>2016-07-31 13:24:20 (GMT)
commit2b51784aef46523ed70916b09de125bc5fbefa25 (patch)
tree299422c99bc7a934e2064b6f0d5f3a1e679d695b /arch/arm/dts/rk3288-evb.dts
parent633fdab0cb95a274a17108cd14ceafab1d4b7430 (diff)
downloadu-boot-2b51784aef46523ed70916b09de125bc5fbefa25.tar.xz
rockchip: rk3288: Fix pinctrl for GPIO bank 0
Bank 0 is the "PMU GPIO" bank which is controlled by the PMU registers rather than the GRF registers. In the GRF the top half of the register is used as a mask so that some bits can be updated without affecting the others, but in the PMU this feature is not provided and the top half of the register is reserved. Take the same approach as the Linux driver to update the value via read-modify-write but setting the mask for only the bits that have changed. The PMU registers ignore the top 16 bits so this works for both GRF and PMU iomux registers. Signed-off-by: John Keeping <john@metanate.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/dts/rk3288-evb.dts')
0 files changed, 0 insertions, 0 deletions