
This patch set add pwm regulator driver and enable it on rk3399, also do some update and fix to make the regulator driver work properly.
Changes in v2: - add comments for pwm_regulator_info struct member - do not init pwm_id if there is none - other fix for comments from Simon - add Acked-by tag from Simon and commit message fix - update the commit message
Kever Yang (7): rockchip: rk3399: update PPLL and pmu_pclk frequency rockchip: rkpwm: fix the register sequence power: regulator: add pwm regulator rockchip: evb_rk3399: init vdd_center regulator Kconfig: rockchip: enable DM_PWM and DM_REGULATOR dts: evb-rk3399: add init voltage node for vdd-center config: evb-rk3399: enable pwm regulator
arch/arm/Kconfig | 2 + arch/arm/dts/rk3399-evb.dts | 1 + arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 4 +- arch/arm/include/asm/arch-rockchip/pwm.h | 2 +- board/rockchip/evb_rk3399/evb-rk3399.c | 6 + configs/evb-rk3399_defconfig | 1 + drivers/power/regulator/Kconfig | 10 ++ drivers/power/regulator/Makefile | 1 + drivers/power/regulator/pwm_regulator.c | 160 ++++++++++++++++++++++++ 9 files changed, 184 insertions(+), 3 deletions(-) create mode 100644 drivers/power/regulator/pwm_regulator.c