linux-pwm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
To: linux-pwm@vger.kernel.org
Cc: David Jander <david@protonic.nl>,
	Clemens Gruber <clemens.gruber@pqgruber.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/5] pwm: pca9586: Convert to waveform API
Date: Tue, 29 Jul 2025 12:35:59 +0200	[thread overview]
Message-ID: <cover.1753784092.git.u.kleine-koenig@baylibre.com> (raw)

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/20250717151117.1828585-2-u.kleine-koenig@baylibre.com
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
-- 
2.50.0


             reply	other threads:[~2025-07-29 10:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-29 10:35 Uwe Kleine-König [this message]
2025-07-29 10:36 ` [PATCH 1/5] pwm: pca9685: Don't disable hardware in .free() Uwe Kleine-König
2025-07-29 10:36 ` [PATCH 2/5] pwm: pca9685: Use bulk write to atomicially update registers Uwe Kleine-König
2025-07-29 10:36 ` [PATCH 3/5] pwm: pca9685: Make use of register caching in regmap Uwe Kleine-König
2025-07-29 10:36 ` [PATCH 4/5] pwm: pca9685: Drop GPIO support Uwe Kleine-König
2025-07-29 10:36 ` [PATCH 5/5] pwm: pca9586: Convert to waveform API Uwe Kleine-König
2025-08-18  8:36 ` [PATCH 0/5] " Uwe Kleine-König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1753784092.git.u.kleine-koenig@baylibre.com \
    --to=u.kleine-koenig@baylibre.com \
    --cc=clemens.gruber@pqgruber.com \
    --cc=david@protonic.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pwm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).