From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
NXP Linux Team <linux-imx@nxp.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Paul Walmsley <paul.walmsley@sifive.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Lubomir Rintel <lkundrak@v3.sk>,
Vignesh Raghavendra <vigneshr@ti.com>,
Michal Simek <michal.simek@xilinx.com>,
Chester Lin <clin@suse.com>, Fugang Duan <fugang.duan@nxp.com>,
Magnus Damm <magnus.damm@gmail.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Pragnesh Patel <pragnesh.patel@sifive.com>,
Le Ray <erwan.leray@foss.st.com>,
Peter Korsgaard <jacmet@sunsite.dk>,
Tomer Maimon <tmaimon77@gmail.com>,
linux-serial@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org,
linux-riscv@lists.infradead.org,
linux-stm32@st-md-mailman.stormreply.com
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Michal Simek <michal.simek@amd.com>
Subject: [PATCH v2 05/12] dt-bindings: serial: cdsn,uart: add power-domains
Date: Tue, 24 Jan 2023 10:19:09 +0100 [thread overview]
Message-ID: <20230124091916.45054-3-krzysztof.kozlowski@linaro.org> (raw)
In-Reply-To: <20230124091602.44027-1-krzysztof.kozlowski@linaro.org>
Few Xilinx DTS have power domains in serial node:
zynqmp-zc1232-revA.dtb: serial@ff000000: Unevaluated properties are not allowed ('power-domains' was unexpected)
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Michal Simek <michal.simek@amd.com>
---
.../devicetree/bindings/serial/cdns,uart.yaml | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/serial/cdns,uart.yaml b/Documentation/devicetree/bindings/serial/cdns,uart.yaml
index 0c118d5336cc..38925b79cb38 100644
--- a/Documentation/devicetree/bindings/serial/cdns,uart.yaml
+++ b/Documentation/devicetree/bindings/serial/cdns,uart.yaml
@@ -9,9 +9,6 @@ title: Cadence UART Controller
maintainers:
- Michal Simek <michal.simek@xilinx.com>
-allOf:
- - $ref: serial.yaml#
-
properties:
compatible:
oneOf:
@@ -46,6 +43,9 @@ properties:
port does not use this pin.
type: boolean
+ power-domains:
+ maxItems: 1
+
required:
- compatible
- reg
@@ -53,6 +53,17 @@ required:
- clocks
- clock-names
+allOf:
+ - $ref: serial.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: cdns,uart-r1p8
+ then:
+ properties:
+ power-domains: false
+
unevaluatedProperties: false
examples:
--
2.34.1
next prev parent reply other threads:[~2023-01-24 9:19 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-24 9:15 [PATCH v2 00/12] dt-bindings: serial: cleanup and improvements Krzysztof Kozlowski
2023-01-24 9:15 ` [PATCH v2 01/12] dt-bindings: serial: amlogic,meson-uart: allow other serial properties Krzysztof Kozlowski
2023-01-25 20:06 ` Rob Herring
2023-01-24 9:15 ` [PATCH v2 02/12] dt-bindings: serial: 8250: correct Nuvoton NPCM850 compatible Krzysztof Kozlowski
2023-01-25 20:06 ` Rob Herring
2023-01-24 9:19 ` [PATCH v2 03/12] dt-bindings: serial: pl011: allow ARM Primecell properties Krzysztof Kozlowski
2023-01-24 10:06 ` Stefan Wahren
2023-01-25 20:06 ` Rob Herring
2023-01-24 9:19 ` [PATCH v2 04/12] dt-bindings: serial: correct ref to serial.yaml Krzysztof Kozlowski
2023-01-25 20:06 ` Rob Herring
2023-01-24 9:19 ` Krzysztof Kozlowski [this message]
2023-01-25 20:07 ` [PATCH v2 05/12] dt-bindings: serial: cdsn,uart: add power-domains Rob Herring
2023-01-24 9:19 ` [PATCH v2 06/12] dt-bindings: serial: 8250_omap: drop rs485 properties Krzysztof Kozlowski
2023-01-25 20:08 ` Rob Herring
2023-01-24 9:19 ` [PATCH v2 07/12] dt-bindings: serial: fsl-imx-uart: drop common properties Krzysztof Kozlowski
2023-01-25 20:08 ` Rob Herring
2023-01-24 9:19 ` [PATCH v2 08/12] dt-bindings: serial: fsl-lpuart: drop rs485 properties Krzysztof Kozlowski
2023-01-25 20:08 ` Rob Herring
2023-01-24 9:19 ` [PATCH v2 09/12] dt-bindings: serial: fsl-lpuart: allow other serial properties Krzysztof Kozlowski
2023-01-25 20:08 ` Rob Herring
2023-01-24 9:19 ` [PATCH v2 10/12] dt-bindings: serial: st,stm32-uart: drop common properties Krzysztof Kozlowski
2023-01-25 20:09 ` Rob Herring
2023-01-24 9:19 ` [PATCH v2 11/12] dt-bindings: serial: drop unneeded quotes Krzysztof Kozlowski
2023-01-25 20:09 ` Rob Herring
2023-01-24 9:19 ` [PATCH v2 12/12] dt-bindings: serial: example cleanup Krzysztof Kozlowski
2023-01-25 20:10 ` Rob Herring
2023-01-26 8:50 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230124091916.45054-3-krzysztof.kozlowski@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=alexandre.torgue@foss.st.com \
--cc=clin@suse.com \
--cc=devicetree@vger.kernel.org \
--cc=erwan.leray@foss.st.com \
--cc=festevam@gmail.com \
--cc=fugang.duan@nxp.com \
--cc=geert+renesas@glider.be \
--cc=gregkh@linuxfoundation.org \
--cc=jacmet@sunsite.dk \
--cc=jbrunet@baylibre.com \
--cc=kernel@pengutronix.de \
--cc=khilman@baylibre.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=lkundrak@v3.sk \
--cc=magnus.damm@gmail.com \
--cc=martin.blumenstingl@googlemail.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=michal.simek@amd.com \
--cc=michal.simek@xilinx.com \
--cc=neil.armstrong@linaro.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=pragnesh.patel@sifive.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=tmaimon77@gmail.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).