[PATCH 0/5] regulator: pwm: Add supports for multiple instance and voltage linear steps

From: Laxman Dewangan
Date: Tue Mar 08 2016 - 06:06:30 EST

This series fix the equation for calculating the ducty cycle for PWM,
add supports for multiple instances, prints the error numbers if it fails,
and add Linear Equal Step mode for voltage setting.

For the context: NVIDIA's Tegra210 platform Jetson-TX1 uses the two
Open Voltage Regulators (OVR i.e. uP1665P) regulators for CPU and
GPU rails. These regulators are controlled by the PWM controller.

Laxman Dewangan (5):
regulator: pwm: Fix calculation of voltage-to-duty cycle
regulator: pwm: Add support to have multiple instance of pwm regulator
regulator: pwm: Prints error number when it fails
regulator: pwm: Add support for voltage linear steps
regulator: pwm: Add DT binding details for Linear Equal Step Mode

.../bindings/regulator/pwm-regulator.txt | 32 +++++-
drivers/regulator/pwm-regulator.c | 109 +++++++++++++++++----
2 files changed, 120 insertions(+), 21 deletions(-)