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

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.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 54da3e38
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ maintainers:
  - devicetree@vger.kernel.org

allOf:
  - $ref: /schemas/serial.yaml#
  - $ref: serial.yaml#
  - if:
      anyOf:
        - required:
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ maintainers:
  - Paul Cercueil <paul@crapouillou.net>

allOf:
  - $ref: /schemas/serial.yaml#
  - $ref: serial.yaml#

properties:
  $nodename:
+2 −2
Original line number Diff line number Diff line
@@ -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:
  - |
+2 −2
Original line number Diff line number Diff line
@@ -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:
  - |
Loading