Both RK808 and RK818 chips are using a similar register map, so we can reuse them.
I have also add reg prefix to exist registers, to keep them same style. Signed-off-by: Jacob Chen <jacob-c...@iotwrt.com> Reviewed-by: Simon Glass <s...@chromium.org> --- Changes in v2: None drivers/power/regulator/rk808.c | 18 ++--- include/power/rk808_pmic.h | 164 ++++++++++++++++++++++++++++++++-------- 2 files changed, 143 insertions(+), 39 deletions(-) Applied to u-boot-rockchip/next, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot