diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-01-24 10:19:08 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-02-01 06:13:36 +0100 |
commit | bd99d12535165b761cfdb1fa19814e6885d59baf (patch) | |
tree | f663a270cdea2e45360e935e5c2b85634cc4865d | |
parent | c7a9a84eba45abfadb72f8d553d3533e6ae11598 (diff) |
dt-bindings: serial: correct ref to serial.yaml
The serial bindings should reference the local (in kernel) serial.yaml,
not the /schemas/serial.yaml. The latter comes from dtschema package
and is a small subset of serial bindings.
Usage of the local serial.yaml allows typical properties and children:
xilinx/avnet-ultra96-rev1.dtb: serial@ff000000: Unevaluated properties are not allowed ('bluetooth' were unexpected)
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Michal Simek <[email protected]>
Acked-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/serial/cdns,uart.yaml | 2 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/serial/cdns,uart.yaml b/Documentation/devicetree/bindings/serial/cdns,uart.yaml index 876b8cf1cafb..0c118d5336cc 100644 --- a/Documentation/devicetree/bindings/serial/cdns,uart.yaml +++ b/Documentation/devicetree/bindings/serial/cdns,uart.yaml @@ -10,7 +10,7 @@ maintainers: - Michal Simek <[email protected]> allOf: - - $ref: /schemas/serial.yaml# + - $ref: serial.yaml# properties: compatible: diff --git a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml index 2f4390e8d4e8..6f65e9a81c29 100644 --- a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml +++ b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml @@ -63,7 +63,7 @@ required: - xlnx,use-parity allOf: - - $ref: /schemas/serial.yaml# + - $ref: serial.yaml# - if: properties: xlnx,use-parity: |