Re: [U-Boot] [PATCH 1/4] power: pmic: append rk818 regs to rk808

2017-04-28 Thread Simon Glass
On 20 April 2017 at 21:34, Jacob Chen wrote: > 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 > --- > >

[U-Boot] [PATCH 1/4] power: pmic: append rk818 regs to rk808

2017-04-20 Thread Jacob Chen
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 --- drivers/power/regulator/rk808.c | 18 ++--- include/power/rk808_pmic.h | 164