[PATCH v2 2/3] dt-bindings: serial: pl011: Change to reference the kernel-defined serial.yaml

From: Zhen Lei
Date: Thu Apr 22 2021 - 04:59:50 EST


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

Signed-off-by: Zhen Lei <thunder.leizhen@xxxxxxxxxx>
---
Documentation/devicetree/bindings/serial/pl011.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/serial/pl011.yaml b/Documentation/devicetree/bindings/serial/pl011.yaml
index 1f8e9f2644b6..142187337c76 100644
--- a/Documentation/devicetree/bindings/serial/pl011.yaml
+++ b/Documentation/devicetree/bindings/serial/pl011.yaml
@@ -10,7 +10,7 @@ maintainers:
- Rob Herring <robh@xxxxxxxxxx>

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