pwm: pca9586: Convert to waveform API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | pwm: pca9685: Don't disable hardware in .free()drivers/ | +0 | 0 replies | |
| 2/5 | pwm: pca9685: Use bulk write to atomicially update registersdrivers/ | +29 | 0 replies | |
| 3/5 | pwm: pca9685: Make use of register caching in regmapdrivers/ | +26 | 0 replies | |
| 4/5 | pwm: pca9685: Drop GPIO supportdrivers/ | +0 | 0 replies | |
| 5/5 | pwm: pca9586: Convert to waveform APIdrivers/ | +185 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] pwm: pca9586: Convert to waveform API
Hello,
this series eventually converts the pca9685 driver to the new waveform callbacks. It starts with a few minor fixes and cleanups before the actual conversion.
Note that this driver was the only one that supported the usage_power flag and when it was set increased the duty_offset. Now duty_offset is under control of the consumer, so no functionallity is lost.
Patch #4 drops GPIO support. Though the internal details differ a bit, this is superseded by patch
https://lore.kernel.org/linux-pwm/[email protected]
which provides generic GPIO support for waveform PWM chips.
Best regards
Uwe
Uwe Kleine-König (5):
pwm: pca9685: Don't disable hardware in .free()
pwm: pca9685: Use bulk write to atomicially update registers
pwm: pca9685: Make use of register caching in regmap
pwm: pca9685: Drop GPIO support
pwm: pca9586: Convert to waveform API
drivers/pwm/pwm-pca9685.c | 555 ++++++++++++++++---------------------- 1 file changed, 229 insertions(+), 326 deletions(-)
base-commit: 68b9272ca7ac948b71aba482ef8244dee8032f46
prerequisite-patch-id: 917be1150626d7632f99929ac9f7dc1449864979
Signature · 1 line
2.50.0