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(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html