From: Lee Jones <lee@kernel.org>
To: lee@kernel.org, "Uwe Kleine-König" <ukleinek@kernel.org>,
linux-pwm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
Andrew Bresticker <abrestic@chromium.org>,
Ezequiel Garcia <ezequiel.garcia@imgtec.com>,
Fabio Estevam <festevam@gmail.com>, Frank Li <Frank.Li@nxp.com>,
Grant Erickson <marathon96@gmail.com>,
imx@lists.linux.dev, Joachim Eastwood <manabian@gmail.com>,
linux-arm-kernel@lists.infradead.org,
Lokesh Vutla <lokeshvutla@ti.com>,
Naidu Tellapati <naidu.tellapati@gmail.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
NeilBrown <neil@brown.name>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
"Philip, Avinash" <avinashphilip@ti.com>,
Rasmus Villemoes <linux@rasmusvillemoes.dk>,
Sai Masarapu <Sai.Masarapu@imgtec.com>,
Sascha Hauer <s.hauer@pengutronix.de>,
Shawn Guo <shawn.guo@linaro.org>,
shenwei.wang@nxp.com, Thierry Reding <thierry.reding@gmail.com>,
Vaibhav Bedia <vaibhav.bedia@ti.com>,
Xiubo Li <Li.Xiubo@freescale.com>
Subject: [PATCH v2 0/5] pwm: Fix various bugs reported by Sashiko
Date: Mon, 23 Nov 2026 07:52:50 +0000 [thread overview]
Message-ID: <20261123075320.379664-1-lee@kernel.org> (raw)
These issues were reported by Sashiko.
None of these changes have been tested on physical hardware.
v1 => v2:
- Drop tegra (superseded by 9ad5602d4943) and loongson / axi-pwmgen
(already applied)
- mxs: Check pwm->state.enabled directly instead of calling the
consumer helper pwm_is_enabled() (Uwe)
- fsl-ftm: Move ipg_clk enablement after the channel loop and document
why it is needed around regcache_sync() (Uwe)
- omap-dmtimer: Propagate negative get_pwm_status() error codes out of
pwm_omap_dmtimer_apply() (Uwe)
- tiehrpwm: Clarify runtime PM state before pm_runtime_enable() in the
commit description and match teardown ordering in ehrpwm_pwm_remove()
(Uwe)
- img: Clear autosuspend in img_pwm_remove() and document why driver
data remains valid for runtime PM callbacks after pwmchip_remove()
(Uwe)
v1: https://lore.kernel.org/all/20261105143847.2559586-1-lee@kernel.org/
Cc: Andrew Bresticker <abrestic@chromium.org>
Cc: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Frank Li <Frank.Li@nxp.com>
Cc: Grant Erickson <marathon96@gmail.com>
Cc: imx@lists.linux.dev
Cc: Joachim Eastwood <manabian@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-pwm@vger.kernel.org
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Naidu Tellapati <naidu.tellapati@gmail.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: NeilBrown <neil@brown.name>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: "Philip, Avinash" <avinashphilip@ti.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Sai Masarapu <Sai.Masarapu@imgtec.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: shenwei.wang@nxp.com
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Uwe Kleine-König <ukleinek@kernel.org>
Cc: Vaibhav Bedia <vaibhav.bedia@ti.com>
Cc: Xiubo Li <Li.Xiubo@freescale.com>
Lee Jones (5):
pwm: mxs: Return early when disabling and fix error-path clock leak
pwm: fsl-ftm: Enable ipg_clk around regcache_sync() during resume
pwm: omap-dmtimer: Propagate get_pwm_status() errors in apply()
pwm: tiehrpwm: Enable runtime PM before registering PWM chip
pwm: img: Unregister PWM chip before disabling runtime PM and clocks
drivers/pwm/pwm-fsl-ftm.c | 12 ++++++++
drivers/pwm/pwm-img.c | 9 +++---
drivers/pwm/pwm-mxs.c | 34 +++++++++++----------
drivers/pwm/pwm-omap-dmtimer.c | 54 +++++++++++++++++++++++++---------
drivers/pwm/pwm-tiehrpwm.c | 19 ++++++------
5 files changed, 86 insertions(+), 42 deletions(-)
--
2.56.1.750.gf70dc682cf-goog
next reply other threads:[~2026-11-23 7:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 7:52 Lee Jones [this message]
2026-11-23 7:52 ` [PATCH v2 1/5] pwm: mxs: Return early when disabling and fix error-path clock leak Lee Jones
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=20261123075320.379664-1-lee@kernel.org \
--to=lee@kernel.org \
--cc=Frank.Li@nxp.com \
--cc=Li.Xiubo@freescale.com \
--cc=Sai.Masarapu@imgtec.com \
--cc=abrestic@chromium.org \
--cc=avinashphilip@ti.com \
--cc=ezequiel.garcia@imgtec.com \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=lokeshvutla@ti.com \
--cc=manabian@gmail.com \
--cc=marathon96@gmail.com \
--cc=naidu.tellapati@gmail.com \
--cc=neil.armstrong@linaro.org \
--cc=neil@brown.name \
--cc=s.hauer@pengutronix.de \
--cc=shawn.guo@linaro.org \
--cc=shenwei.wang@nxp.com \
--cc=thierry.reding@gmail.com \
--cc=ukleinek@kernel.org \
--cc=vaibhav.bedia@ti.com \
/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