Linux PWM subsystem development
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <ukleinek@kernel.org>
To: Manush Prajwal <manushprajwal555@gmail.com>
Cc: linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pwm: tiehrpwm: fix copy-paste error in obsolete DT binding fallback
Date: Mon, 23 Nov 2026 21:52:31 +0100	[thread overview]
Message-ID: <awSm7G-UanPOS_ZQ@monoceros> (raw)
In-Reply-To: <6abb8db0.721b4d7a.30484d.cb00@mx.google.com>

[-- Attachment #1: Type: text/plain, Size: 1546 bytes --]

Hello,

On Tue, Sep 29, 2026 at 03:36:40PM +0530, Manush Prajwal wrote:
> Hi Uwe,
> 
> Thanks for the quick review and for digging up the Fixes commit.
> 
> > Looks right, I guess it needs:
> > Fixes: ae5200d22716 ("pwm: pwm-ti*: Get the clock from the PWMSS parent when using old bindings")
> > 
> > I wonder: Did you find this because you still use the old bindings, or
> > by code inspection somehow? If the latter, maybe it's time to drop the
> > handling instead?
> 
> This was found purely by code inspection during a review of the PWM
> drivers, not from running older bindings on actual hardware.
> 
> Given that this fallback in pwm-tiehrpwm has been effectively broken ever
> since commit ae5200d22716 was merged in 2014 without anyone noticing or
> reporting it, it seems very likely that nobody relies on this obsolete
> binding anymore.
> 
> I would be happy to send a patch dropping the obsolete binding handling
> instead (from pwm-tiehrpwm, or from both pwm-tiehrpwm and pwm-tiecap if
> you prefer keeping them consistent).
> 
> Or if you'd rather keep backward compatibility, I can send a v2 of this
> fix with the Fixes: tag included.
> 
> Which direction would you prefer?

I think dropping the compat handling is fine. I didn't check if
according to the binding, this compat handling is still ok. If yes, this
needs deprecation, too. I wouldn't touch the tiecap driver for now, as
(AFAIU) there is no such breakage and keeping the compat handling there
isn't a burden.

Best regards
Uwe

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      reply	other threads:[~2026-11-23 20:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-28 17:55 [PATCH] pwm: tiehrpwm: fix copy-paste error in obsolete DT binding fallback Manush Prajwal
2026-09-29  6:00 ` Uwe Kleine-König
2026-09-29 10:06   ` Manush Prajwal
2026-11-23 20:52     ` Uwe Kleine-König [this message]

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=awSm7G-UanPOS_ZQ@monoceros \
    --to=ukleinek@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=manushprajwal555@gmail.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