]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
rockchip: Convert the PMU IOMUX registers into an array
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:43:33 +0000 (19:43 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:34 +0000 (20:42 -0700)
commita4275f5e5264525205f0516015bd3e6b3ecc4d72
tree409b2a8c6cc342490c2a3682d0cb0dbc9a5a0a6f
parent1e724f8ea8b72f83d08e129d73ee21d2c8c337bc
rockchip: Convert the PMU IOMUX registers into an array

This is easier to deal with when using generic code since it allows us to
use a register index instead of naming each register.

Adjust it, adding an enum to improve readability.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/pmu_rk3288.h
drivers/pinctrl/rockchip/pinctrl_rk3288.c