From: Krzysztof Kozlowski <krzk@kernel.org>
To: Alexander Stein <alexander.stein@ew.tq-group.com>,
Thomas Gleixner <tglx@linutronix.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Lucas Stach <l.stach@pengutronix.de>
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 1/1] dt-bindings: interrupt-controller: fsl,irqsteer: Add imx8qxp support
Date: Sat, 13 Apr 2024 09:49:53 +0200 [thread overview]
Message-ID: <c14612d2-cd4d-4331-a14d-2cb7cf19311e@kernel.org> (raw)
In-Reply-To: <20240412110318.273791-1-alexander.stein@ew.tq-group.com>
On 12/04/2024 13:03, Alexander Stein wrote:
> Some SoC like i.MX8QXP use a power-domain for this IP. Add a SoC-specific
> compatible, which also requires a power-domain.
>
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> ---
> This patch replaces v1 from [1].
>
> Changes in v2:
> * Add imx8qxp specific compatible
> * Require a power-domain for this SoC
>
> [1] https://lore.kernel.org/all/20240110094338.472304-1-alexander.stein@ew.tq-group.com/
> .../interrupt-controller/fsl,irqsteer.yaml | 20 ++++++++++++++++++-
> 1 file changed, 19 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml b/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml
> index 20ad4ad82ad6..0ce0246870c0 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,irqsteer.yaml
> @@ -14,7 +14,9 @@ properties:
> oneOf:
> - const: fsl,imx-irqsteer
> - items:
> - - const: fsl,imx8m-irqsteer
> + - enum:
> + - fsl,imx8m-irqsteer
> + - fsl,imx8qxp-irqsteer
> - const: fsl,imx-irqsteer
>
> reg:
> @@ -42,6 +44,9 @@ properties:
> clock-names:
> const: ipg
>
> + power-domains:
> + maxItems: 1
> +
> interrupt-controller: true
>
> "#interrupt-cells":
> @@ -72,6 +77,19 @@ required:
>
> additionalProperties: false
>
> +allOf:
Put allOf before additionalProperties, just like in example-schema.
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: fsl,imx8qxp-irqsteer
> + then:
> + properties:
> + power-domains:
> + minItems: 1
That's redundant. Drop.
> + required:
> + - power-domains
> +
> examples:
> - |
> #include <dt-bindings/clock/imx8mq-clock.h>
Best regards,
Krzysztof
prev parent reply other threads:[~2024-04-13 7:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-12 11:03 [PATCH v2 1/1] dt-bindings: interrupt-controller: fsl,irqsteer: Add imx8qxp support Alexander Stein
2024-04-13 7:49 ` Krzysztof Kozlowski [this message]
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=c14612d2-cd4d-4331-a14d-2cb7cf19311e@kernel.org \
--to=krzk@kernel.org \
--cc=alexander.stein@ew.tq-group.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=l.stach@pengutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=tglx@linutronix.de \
/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).