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

From: Xianwei Zhao

Date: Mon Nov 30 2026 - 06:29:46 EST


Hi Uwe,

On 2026/11/30 19:16, Uwe Kleine-König wrote:
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.


This clock is generic and has no special meaning, so I'll just keep it as is here.

Best regards
Uwe