Re: [PATCH v4 1/4] dt-bindings: pwm: amlogic: Add new bindings for S6 S7 S7D

From: Uwe Kleine-König

Date: Mon Nov 30 2026 - 06:16:53 EST


Hello,

On Mon, Nov 30, 2026 at 06:10:28PM +0800, Xianwei Zhao wrote:
> > > + - if:
> > > + properties:
> > > + compatible:
> > > + contains:
> > > + enum:
> > > + - amlogic,s7-pwm
> > > + then:
> > > + properties:
> > > + clocks:
> > > + maxItems: 1
> > > + clock-names: false
> > The clock doesn't have a name? It's fine for me to keep as suggested in
> > this patch, but maybe it would be cleaner to state a name just to make
> > it easier to match to the reference for a human?!
> >
> I get the impression that the maintainer prefers not to specify a clock name
> when there is only one clock input.
>
> https://lore.kernel.org/all/20230612092611.12385-1-krzysztof.kozlowski@xxxxxxxxxx/

Agreed it's not helpful if the clock name is just "pwm17" for the 17th
PWM line. If it's "ipg" or "ahb" or something like that, I'd consider it
useful, which seem to match Krzysztof's statement.

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature