]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: pwm-regulator: get voltage and duty table from dts
authorChris Zhong <zyw@rock-chips.com>
Sun, 28 Sep 2014 02:28:53 +0000 (10:28 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 28 Sep 2014 10:35:53 +0000 (11:35 +0100)
commit13d04e9e54758cb4ce41355f96a94ee87e7cf965
treece2c2439297c720528c8e3aeeca6c6673f483aa0
parentca09702717581356bb91e5bbfbb244eda384a004
regulator: pwm-regulator: get voltage and duty table from dts

rename st-pwm to pwm-regulator. And support getting voltage & duty table from
device tree, other platforms can also use this driver without any modify.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/pwm-regulator.c [new file with mode: 0644]
drivers/regulator/st-pwm.c [deleted file]