On 21/11/2022 11:08, Tony Lindgren wrote: > * Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> [221118 14:33]: >> On 18/11/2022 15:32, Tony Lindgren wrote: >>> * Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> [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. This could be fixed (extended) in pwm.yaml as well, because simple human-readable increments/IDs are usually decimal. hex is only for addresses. Best regards, Krzysztof