Skip to content

Commit bd99d12

Browse files
krzkgregkh
authored andcommitted
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]>
1 parent c7a9a84 commit bd99d12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/devicetree/bindings/serial/cdns,uart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ maintainers:
1010
- Michal Simek <[email protected]>
1111

1212
allOf:
13-
- $ref: /schemas/serial.yaml#
13+
- $ref: serial.yaml#
1414

1515
properties:
1616
compatible:

Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ required:
6363
- xlnx,use-parity
6464

6565
allOf:
66-
- $ref: /schemas/serial.yaml#
66+
- $ref: serial.yaml#
6767
- if:
6868
properties:
6969
xlnx,use-parity:

0 commit comments

Comments
 (0)