Skip to content

regulator: pwm: Add supports for multiple instance and voltage linear steps

Laxman Dewangan linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5regulator: pwm: Fix calculation of voltage-to-duty cycledrivers/regulator/pwm-regulator.c+1 -10 replies
2/5regulator: pwm: Add support to have multiple instance of pwm regulatordrivers/regulator/pwm-regulator.c+20 -70 replies
3/5regulator: pwm: Prints error number when it failsdrivers/regulator/pwm-regulator.c+7 -52 replies
4/5regulator: pwm: Add support for voltage linear equal stepsdrivers/regulator/pwm-regulator.c+68 -84 replies
5/5regulator: pwm: Add DT binding details for Linear Equal Step ModeDocumentation/devicetree/bindings/regulator/pwm-regulator.txt+28 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 6 lines
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html