[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230124091916.45054-2-krzysztof.kozlowski@linaro.org>
Date: Tue, 24 Jan 2023 10:19:08 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Neil Armstrong <neil.armstrong@...aro.org>,
Kevin Hilman <khilman@...libre.com>,
Jerome Brunet <jbrunet@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Lubomir Rintel <lkundrak@...sk>,
Vignesh Raghavendra <vigneshr@...com>,
Michal Simek <michal.simek@...inx.com>,
Chester Lin <clin@...e.com>, Fugang Duan <fugang.duan@....com>,
Magnus Damm <magnus.damm@...il.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Pragnesh Patel <pragnesh.patel@...ive.com>,
Le Ray <erwan.leray@...s.st.com>,
Peter Korsgaard <jacmet@...site.dk>,
Tomer Maimon <tmaimon77@...il.com>,
linux-serial@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org, linux-riscv@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Michal Simek <michal.simek@....com>
Subject: [PATCH v2 04/12] 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@...00000: Unevaluated properties are not allowed ('bluetooth' were unexpected)
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Acked-by: Michal Simek <michal.simek@....com>
---
Documentation/devicetree/bindings/serial/cdns,uart.yaml | 2 +-
Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/serial/cdns,uart.yaml b/Documentation/devicetree/bindings/serial/cdns,uart.yaml
index 876b8cf1cafb..0c118d5336cc 100644
--- a/Documentation/devicetree/bindings/serial/cdns,uart.yaml
+++ b/Documentation/devicetree/bindings/serial/cdns,uart.yaml
@@ -10,7 +10,7 @@ maintainers:
- Michal Simek <michal.simek@...inx.com>
allOf:
- - $ref: /schemas/serial.yaml#
+ - $ref: serial.yaml#
properties:
compatible:
diff --git a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
index 2f4390e8d4e8..6f65e9a81c29 100644
--- a/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
+++ b/Documentation/devicetree/bindings/serial/xlnx,opb-uartlite.yaml
@@ -63,7 +63,7 @@ required:
- xlnx,use-parity
allOf:
- - $ref: /schemas/serial.yaml#
+ - $ref: serial.yaml#
- if:
properties:
xlnx,use-parity:
--
2.34.1
Powered by blists - more mailing lists