From: Michal Simek <michal.simek@amd.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
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>, - <devicetree@vger.kernel.org>,
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>, <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>
Subject: Re: [PATCH 05/13] dt-bindings: serial: cdsn,uart: add power-domains
Date: Mon, 23 Jan 2023 16:39:51 +0100 [thread overview]
Message-ID: <26046a72-27e6-213f-6b69-5cb82367dcf9@amd.com> (raw)
In-Reply-To: <20230123151302.368277-5-krzysztof.kozlowski@linaro.org>
On 1/23/23 16:12, Krzysztof Kozlowski wrote:
>
> 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>
> ---
> .../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
>
Reviewed-by: Michal Simek <michal.simek@amd.com>
btw: I was running it and I have seen that properties are checked only on nodes
which have status property okay. On disabled nodes properties are not checked.
Is this standard behavior/setting?
Thanks,
Michal
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2023-01-23 15:59 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-23 15:12 [PATCH 01/13] dt-bindings: serial: amlogic,meson-uart: allow other serial properties Krzysztof Kozlowski
2023-01-23 15:12 ` [PATCH 02/13] dt-bindings: serial: 8250: correct Nuvoton NPCM850 compatible Krzysztof Kozlowski
2023-01-23 15:12 ` [PATCH 03/13] dt-bindings: serial: pl011: allow ARM Primecell properties Krzysztof Kozlowski
2023-01-23 15:12 ` [PATCH 04/13] dt-bindings: serial: correct ref to serial.yaml Krzysztof Kozlowski
2023-01-23 15:40 ` Michal Simek
2023-01-23 15:12 ` [PATCH 05/13] dt-bindings: serial: cdsn,uart: add power-domains Krzysztof Kozlowski
2023-01-23 15:39 ` Michal Simek [this message]
2023-01-23 15:40 ` Krzysztof Kozlowski
2023-01-23 15:12 ` [PATCH 06/13] dt-bindings: serial: 8250_omap: drop rs485 properties Krzysztof Kozlowski
2023-01-23 15:12 ` [PATCH 07/13] dt-bindings: serial: fsl-imx-uart: drop common properties Krzysztof Kozlowski
2023-01-23 15:12 ` [PATCH 08/13] dt-bindings: serial: fsl-lpuart: drop rs485 properties Krzysztof Kozlowski
2023-01-23 15:12 ` [PATCH 09/13] dt-bindings: serial: fsl-lpuart: allow other serial properties Krzysztof Kozlowski
2023-01-23 15:12 ` [PATCH 10/13] dt-bindings: serial: st,stm32-uart: drop common properties Krzysztof Kozlowski
2023-01-23 15:13 ` [PATCH 11/13] dt-bindings: serial: restrict possible child node names Krzysztof Kozlowski
2023-01-23 23:05 ` Rob Herring
2023-01-24 7:25 ` Krzysztof Kozlowski
2023-01-24 9:05 ` Krzysztof Kozlowski
2023-01-25 17:11 ` Rob Herring
2023-01-23 15:13 ` [PATCH 12/13] dt-bindings: serial: drop unneeded quotes Krzysztof Kozlowski
2023-01-23 15:13 ` [PATCH 13/13] dt-bindings: serial: example cleanup Krzysztof Kozlowski
2023-01-23 15:16 ` [PATCH 01/13] dt-bindings: serial: amlogic,meson-uart: allow other serial properties Neil Armstrong
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=26046a72-27e6-213f-6b69-5cb82367dcf9@amd.com \
--to=michal.simek@amd.com \
--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=krzysztof.kozlowski@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@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
all inboxes | Powered by JetHome®