Skip to content

pwm: pwm-gpio: New driver

Nicola Di Lieto linux-devicetree linux-gpio linux-pwm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 21 repliesIn review

Changes in v2 from the cover letter

- Synchronize pwm variables to ensure consistency
- Remove clamping of pwm period and duty cycle
- Rename "to_pwm_gpio" as "pwm_gpio_from_chip"
- Initialize pwm_gpio->chip.base to -1
- Swap order of hrtimer_cancel and pwmchip_remove
- Increase #pwm-cells to 3

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pwm: pwm-gpio: New driverMAINTAINERS drivers/pwm/Kconfig drivers/pwm/Makefile +1 more+172 -01 reply
1/2pwm: pwm-gpio: New driverMAINTAINERS drivers/pwm/Kconfig drivers/pwm/Makefile +1 more+206 -017 replies
2/2pwm: pwm-gpio: Add DT bindingsDocumentation/devicetree/bindings/pwm/pwm-gpio.yaml+42 -03 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] pwm: pwm-gpio: New driver

New version, implementing Uwe's suggestions.

Changes in v2:
- Synchronize pwm variables to ensure consistency
- Remove clamping of pwm period and duty cycle
- Rename "to_pwm_gpio" as "pwm_gpio_from_chip"
- Initialize pwm_gpio->chip.base to -1
- Swap order of hrtimer_cancel and pwmchip_remove
- Increase #pwm-cells to 3

Nicola Di Lieto (2):
pwm: pwm-gpio: New driver
pwm: pwm-gpio: Add DT bindings

 .../devicetree/bindings/pwm/pwm-gpio.yaml          |  42 +++++
 MAINTAINERS                                        |   7 +
 drivers/pwm/Kconfig                                |  10 ++
 drivers/pwm/Makefile                               |   1 +
 drivers/pwm/pwm-gpio.c                             | 188 +++++++++++++++++++++
 5 files changed, 248 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-gpio.yaml
 create mode 100644 drivers/pwm/pwm-gpio.c
Signature · 1 line
2.11.0