diff options
author | Rob Herring <robh@kernel.org> | 2022-07-19 15:50:59 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-22 12:38:16 +0100 |
commit | 17161c341de0b02788b0428cb253a35b9a3c89b3 (patch) | |
tree | ffaff7809d206f1416fc1ccf2244b1a286c1eb71 /Documentation/usb/usb-help.rst | |
parent | b20a7ca8cfa4dce01f848056fe6313b444b7dcf5 (diff) |
dt-bindings: net: ethernet-controller: Rework 'fixed-link' schema
While the if/then schemas mostly work, there's a few issues. The 'allOf'
schema will also be true if 'fixed-link' is not an array or object as a
false 'if' schema (without an 'else') will be true. In the array case
doesn't set the type (uint32-array) in the 'then' clause. In the node case,
'additionalProperties' is missing.
Rework the schema to use oneOf with each possible type.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/usb/usb-help.rst')
0 files changed, 0 insertions, 0 deletions