Linux PWM subsystem development
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <ukleinek@kernel.org>
To: Thierry Reding <thierry.reding@kernel.org>,
	Jonathan Hunter <jonathanh@nvidia.com>,
	Mikko Perttunen <mperttunen@nvidia.com>,
	Philipp Zabel <p.zabel@pengutronix.de>
Cc: linux-pwm@vger.kernel.org, linux-tegra@vger.kernel.org
Subject: [PATCH v1 0/6] pwm: tegra: Cleanups and .get_state()
Date: Tue, 14 Jul 2026 14:02:34 +0200	[thread overview]
Message-ID: <cover.1784030076.git.ukleinek@kernel.org> (raw)

Hello,

the tegra PWM driver annoyed me for some time. This patch set addresses
some of the concerns. The implementation of .get_state() is the check if
I understood the hardware correctly. If so, the next step is to fix the
rounding in .apply() and/or convert to the waveform callbacks.

The first 5 patches should be fine (unless my understanding of
pm_runtime is wrong, which is quite possible), for the 6th patch I'd
like someone to test it before it gets applied.

Best regards
Uwe

Uwe Kleine-König (6):
  pwm: tegra: Check for match_data being NULL
  pwm: tegra: Make use of dev_err_probe()
  pwm: tegra: Use devm function for pm_runtime_enable()
  pwm: tegra: Simplify using
    devm_reset_control_get_exclusive_deasserted()
  pwm: tegra: Simplify using devm_pwmchip_add()
  pwm: tegra: Implement .get_state()

 drivers/pwm/pwm-tegra.c | 123 ++++++++++++++++++++++++++++------------
 1 file changed, 86 insertions(+), 37 deletions(-)


base-commit: 82dcd68f7246eeacbc2ef614b82e284a50b2b8bb
-- 
2.55.0.11.g153666a7d9bb


             reply	other threads:[~2026-07-14 12:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-14 12:02 Uwe Kleine-König [this message]
2026-07-14 12:02 ` [PATCH v1 1/6] pwm: tegra: Check for match_data being NULL Uwe Kleine-König
2026-07-14 12:02 ` [PATCH v1 2/6] pwm: tegra: Make use of dev_err_probe() Uwe Kleine-König
2026-07-14 12:02 ` [PATCH v1 3/6] pwm: tegra: Use devm function for pm_runtime_enable() Uwe Kleine-König
2026-07-14 12:02 ` [PATCH v1 4/6] pwm: tegra: Simplify using devm_reset_control_get_exclusive_deasserted() Uwe Kleine-König
2026-07-14 12:12   ` Philipp Zabel
2026-07-14 14:07     ` Uwe Kleine-König
2026-07-14 12:02 ` [PATCH v1 5/6] pwm: tegra: Simplify using devm_pwmchip_add() Uwe Kleine-König
2026-07-14 12:02 ` [PATCH v1 6/6] pwm: tegra: Implement .get_state() 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.1784030076.git.ukleinek@kernel.org \
    --to=ukleinek@kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=linux-pwm@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=mperttunen@nvidia.com \
    --cc=p.zabel@pengutronix.de \
    --cc=thierry.reding@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