[PATCH v2 3/3] dt-bindings: serial: restrict possible child node names
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Sun Jan 29 07:48:29 PST 2023
On 27/01/2023 14:29, Linus Walleij wrote:
> On Fri, Jan 27, 2023 at 10:32 AM Krzysztof Kozlowski
> <krzysztof.kozlowski at linaro.org> wrote:
>
>> The re-usable serial.yaml schema matches every property with ".*"
>> pattern, thus any other schema referencing it will not report unknown
>> (unevaluated) properties. This hides several wrong properties. It is
>> a limitation of dtschema, thus provide a simple workaround: expect
>> children to be only of few names matching upstream usage (Bluetooth,
>> GNSS, GPS and MCU).
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
>
> Fair enough,
> Acked-by: Linus Walleij <linus.walleij at linaro.org>
>
> However I think V.35 WAN devices (high speed serial network links)
> should actually be using this? They are just some fancy serial port
> after all. Cf
> Documentation/devicetree/bindings/net/intel,ixp4xx-hss.yaml
>
> No big deal I guess since they are mostly an anarchronism and not
> on the table right now.
intel,ixp4xx-hss is not part of the expansion bus node.
Best regards,
Krzysztof
More information about the linux-mtd
mailing list