On 18/11/2022 17:10, Krzysztof Kozlowski wrote: >>> + >>> + "^.+-hog(-[0-9]+)?$": >>> + type: object >>> + properties: >>> + gpio-hog: true >>> + gpios: true >>> + input: true >>> + output-high: true >>> + output-low: true >>> + line-name: true >> >> Keep properties sorted by name (just like gpio-hog.yaml). >> >> I wonder if we could add this to the common TLMM schema. It will appear >> in multiple places. > > Answering to myself - this would require moving the 'state' > patternProperties part to the common schema, so maybe later... Looks > fine with changes about ordering. If Rob likes my solution here: https://lore.kernel.org/linux-arm-msm/20221118162101.145267-1-krzysztof.kozlowski@xxxxxxxxxx/T/#u then please go with similar way. It allows to skip listing the properties. Best regards, Krzysztof