Commit 8f082dcf authored by Zhen Lei's avatar Zhen Lei Committed by Greg Kroah-Hartman

dt-bindings: serial: Change to reference the kernel-defined serial.yaml

The /schemas/serial.yaml from dt-schema only has the property $nodename,
whereas the kernel-defined /schemas/serial/serial.yaml contains more
useful properties, support for more complex application scenarios.

For example:
1) The property "current-speed" in fsl-lx2160a.dtsi
2) The subnode "bluetooth" in hi3660-hikey960.dts
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210506132049.1513-2-thunder.leizhen@huawei.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 54da3e38
...@@ -10,7 +10,7 @@ maintainers: ...@@ -10,7 +10,7 @@ maintainers:
- devicetree@vger.kernel.org - devicetree@vger.kernel.org
allOf: allOf:
- $ref: /schemas/serial.yaml# - $ref: serial.yaml#
- if: - if:
anyOf: anyOf:
- required: - required:
......
...@@ -10,7 +10,7 @@ maintainers: ...@@ -10,7 +10,7 @@ maintainers:
- Al Cooper <alcooperx@gmail.com> - Al Cooper <alcooperx@gmail.com>
allOf: allOf:
- $ref: /schemas/serial.yaml# - $ref: serial.yaml#
description: |+ description: |+
The Broadcom UART is based on the basic 8250 UART but with The Broadcom UART is based on the basic 8250 UART but with
......
...@@ -10,7 +10,7 @@ maintainers: ...@@ -10,7 +10,7 @@ maintainers:
- Paul Cercueil <paul@crapouillou.net> - Paul Cercueil <paul@crapouillou.net>
allOf: allOf:
- $ref: /schemas/serial.yaml# - $ref: serial.yaml#
properties: properties:
$nodename: $nodename:
......
...@@ -10,7 +10,7 @@ maintainers: ...@@ -10,7 +10,7 @@ maintainers:
- Rob Herring <robh@kernel.org> - Rob Herring <robh@kernel.org>
allOf: allOf:
- $ref: /schemas/serial.yaml# - $ref: serial.yaml#
# Need a custom select here or 'arm,primecell' will match on lots of nodes # Need a custom select here or 'arm,primecell' will match on lots of nodes
select: select:
...@@ -103,7 +103,7 @@ dependencies: ...@@ -103,7 +103,7 @@ dependencies:
poll-rate-ms: [ auto-poll ] poll-rate-ms: [ auto-poll ]
poll-timeout-ms: [ auto-poll ] poll-timeout-ms: [ auto-poll ]
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -10,7 +10,7 @@ maintainers: ...@@ -10,7 +10,7 @@ maintainers:
- Oleksij Rempel <o.rempel@pengutronix.de> - Oleksij Rempel <o.rempel@pengutronix.de>
allOf: allOf:
- $ref: /schemas/serial.yaml# - $ref: serial.yaml#
properties: properties:
compatible: compatible:
...@@ -35,7 +35,7 @@ required: ...@@ -35,7 +35,7 @@ required:
- clocks - clocks
- clock-names - clock-names
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -35,7 +35,7 @@ required: ...@@ -35,7 +35,7 @@ required:
- clocks - clocks
- clock-names - clock-names
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -82,7 +82,7 @@ required: ...@@ -82,7 +82,7 @@ required:
unevaluatedProperties: false unevaluatedProperties: false
allOf: allOf:
- $ref: /schemas/serial.yaml# - $ref: serial.yaml#
- if: - if:
properties: properties:
......
...@@ -12,7 +12,7 @@ maintainers: ...@@ -12,7 +12,7 @@ maintainers:
- Palmer Dabbelt <palmer@sifive.com> - Palmer Dabbelt <palmer@sifive.com>
allOf: allOf:
- $ref: /schemas/serial.yaml# - $ref: serial.yaml#
properties: properties:
compatible: compatible:
...@@ -49,7 +49,7 @@ required: ...@@ -49,7 +49,7 @@ required:
- interrupts - interrupts
- clocks - clocks
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -10,7 +10,7 @@ maintainers: ...@@ -10,7 +10,7 @@ maintainers:
- Rob Herring <robh@kernel.org> - Rob Herring <robh@kernel.org>
allOf: allOf:
- $ref: /schemas/serial.yaml# - $ref: serial.yaml#
properties: properties:
compatible: compatible:
......
...@@ -112,8 +112,7 @@ required: ...@@ -112,8 +112,7 @@ required:
- interrupts - interrupts
- clocks - clocks
additionalProperties: unevaluatedProperties: false
type: object
examples: examples:
- | - |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment