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:
- devicetree@vger.kernel.org
allOf:
- $ref: /schemas/serial.yaml#
- $ref: serial.yaml#
- if:
anyOf:
- required:
......
......@@ -10,7 +10,7 @@ maintainers:
- Al Cooper <alcooperx@gmail.com>
allOf:
- $ref: /schemas/serial.yaml#
- $ref: serial.yaml#
description: |+
The Broadcom UART is based on the basic 8250 UART but with
......
......@@ -10,7 +10,7 @@ maintainers:
- Paul Cercueil <paul@crapouillou.net>
allOf:
- $ref: /schemas/serial.yaml#
- $ref: serial.yaml#
properties:
$nodename:
......
......@@ -10,7 +10,7 @@ maintainers:
- Rob Herring <robh@kernel.org>
allOf:
- $ref: /schemas/serial.yaml#
- $ref: serial.yaml#
# Need a custom select here or 'arm,primecell' will match on lots of nodes
select:
......@@ -103,7 +103,7 @@ dependencies:
poll-rate-ms: [ auto-poll ]
poll-timeout-ms: [ auto-poll ]
additionalProperties: false
unevaluatedProperties: false
examples:
- |
......
......@@ -10,7 +10,7 @@ maintainers:
- Oleksij Rempel <o.rempel@pengutronix.de>
allOf:
- $ref: /schemas/serial.yaml#
- $ref: serial.yaml#
properties:
compatible:
......@@ -35,7 +35,7 @@ required:
- clocks
- clock-names
additionalProperties: false
unevaluatedProperties: false
examples:
- |
......
......@@ -35,7 +35,7 @@ required:
- clocks
- clock-names
additionalProperties: false
unevaluatedProperties: false
examples:
- |
......
......@@ -82,7 +82,7 @@ required:
unevaluatedProperties: false
allOf:
- $ref: /schemas/serial.yaml#
- $ref: serial.yaml#
- if:
properties:
......
......@@ -12,7 +12,7 @@ maintainers:
- Palmer Dabbelt <palmer@sifive.com>
allOf:
- $ref: /schemas/serial.yaml#
- $ref: serial.yaml#
properties:
compatible:
......@@ -49,7 +49,7 @@ required:
- interrupts
- clocks
additionalProperties: false
unevaluatedProperties: false
examples:
- |
......
......@@ -10,7 +10,7 @@ maintainers:
- Rob Herring <robh@kernel.org>
allOf:
- $ref: /schemas/serial.yaml#
- $ref: serial.yaml#
properties:
compatible:
......
......@@ -112,8 +112,7 @@ required:
- interrupts
- clocks
additionalProperties:
type: object
unevaluatedProperties: false
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