summaryrefslogtreecommitdiffstats
path: root/drivers/tc
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2015-07-07 16:06:51 +0100
committerMark Brown <broonie@kernel.org>2015-07-07 18:58:27 +0100
commit4773be185a0f7c1c09d8966e100c76f4fa9a3227 (patch)
treeed1f6334443e81d8003e09ce8ee605f77069d7f5 /drivers/tc
parent02258b8bcbb98b28064cc829f7062455da398633 (diff)
downloadop-kernel-dev-4773be185a0f7c1c09d8966e100c76f4fa9a3227.zip
op-kernel-dev-4773be185a0f7c1c09d8966e100c76f4fa9a3227.tar.gz
regulator: pwm-regulator: Add support for continuous-voltage
The current version of PWM regulator only supports a static table approach, where pre-calculated values are supplied by the vendor and obtained via DT. The continuous-voltage method takes min_uV and max_uV, and divides the difference between them up into a number of slices. The number of slices depend on how large the duty cycle register is. This information is provided by a DT property. As the name alludes, this provides values for a continuous voltage range between min_uV and max_uV, which has obvious benefits over either limited voltage possibilities, or the requirement to provide a large voltage-table. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud