[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH1PCMZcevte5kJ9PUO3cvoaFwdido=WboNcLV9dTk9SJuLGBQ@mail.gmail.com>
Date: Sat, 12 Apr 2025 12:00:53 +0800
From: Guodong Xu <guodong@...cstar.com>
To: Conor Dooley <conor@...nel.org>
Cc: ukleinek@...nel.org, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, paul.walmsley@...ive.com, palmer@...belt.com,
aou@...s.berkeley.edu, alex@...ti.fr, dlan@...too.org, p.zabel@...gutronix.de,
drew@...7.com, inochiama@...il.com, geert+renesas@...der.be, heylenay@....org,
tglx@...utronix.de, hal.feng@...rfivetech.com, unicorn_wang@...look.com,
duje.mihanovic@...le.hr, elder@...cstar.com, linux-pwm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org, spacemit@...ts.linux.dev
Subject: Re: [PATCH 3/9] dt-bindings: pwm: marvell,pxa: add support to
spacemit K1
On Sat, Apr 12, 2025 at 12:43 AM Conor Dooley <conor@...nel.org> wrote:
>
> On Fri, Apr 11, 2025 at 09:14:17PM +0800, Guodong Xu wrote:
> > Add "spacemit,k1-pwm" as a compatible string to support the PWM
> > controller on the SpacemiT K1 platform.
> >
> > Signed-off-by: Guodong Xu <guodong@...cstar.com>
> > ---
> > Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml b/Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml
> > index 9640d4b627c2..1e3cabf6a89a 100644
> > --- a/Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml
> > +++ b/Documentation/devicetree/bindings/pwm/marvell,pxa-pwm.yaml
> > @@ -19,6 +19,7 @@ properties:
> > - marvell,pxa270-pwm
> > - marvell,pxa168-pwm
> > - marvell,pxa910-pwm
> > + - spacemit,k1-pwm
>
> The driver doesn't appear to handle this differently to existing
> compatibles, why is a fallback not used?
>
The only difference in the SpacemiT K1 PWM controller is the addition of
a resets line. This property is not used by any existing PXA-based platforms.
Since resets is defined as optional, I agree that continuing to use
the existing marvell,pxa... compatible string is reasonable.
I'll update the next version accordingly and include an explanation of this
decision in the commit message.
-Guodong
> >
> > reg:
> > # Length should be 0x10
> > --
> > 2.43.0
> >
Powered by blists - more mailing lists