[PATCH] dt-bindings: pwm: ti,pwm-omap-dmtimer: Update binding for yaml

Tony Lindgren tony at atomide.com
Mon Nov 21 02:08:37 PST 2022


* Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org> [221118 14:33]:
> On 18/11/2022 15:32, Tony Lindgren wrote:
> > * Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org> [221118 14:12]:
> >> On 18/11/2022 13:54, Tony Lindgren wrote:
> >>> +properties:
> >>> +  $nodename:
> >>> +    pattern: "^pwm-([1-9]|1[0-2])$"
> >>
> >> Drop the nodename, device schemas do not need to enforce it.
> > 
> > Hmm I think that's needed to avoid warnings if the knob is
> > tweaked to 11? Right now the max timer value is 12.
> 
> Which warnings? The pwm.yaml allows up to 15.

Heh I was using dec instead of hex.. :) Yup pwm.yaml works just fine.

Regards,

Tony



More information about the linux-arm-kernel mailing list