From: Rob Herring <robh@kernel.org>
To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cc: airlied@gmail.com, daniel@ffwll.ch,
krzysztof.kozlowski+dt@linaro.org, steven.price@arm.com,
alyssa.rosenzweig@collabora.com, matthias.bgg@gmail.com,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, wenst@chromium.org
Subject: Re: [PATCH v4 03/12] dt-bindings: gpu: mali-bifrost: Fix power-domain-names validation
Date: Wed, 8 Mar 2023 13:02:57 -0600 [thread overview]
Message-ID: <20230308190257.GA3601415-robh@kernel.org> (raw)
In-Reply-To: <20230228102704.708150-3-angelogioacchino.delregno@collabora.com>
On Tue, Feb 28, 2023 at 11:26:55AM +0100, AngeloGioacchino Del Regno wrote:
> Commit ("dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183")
> incorrectly introduced power domain names for MT8183, causing
> validation issues.
>
> Add power-domain-names to the base schema, allowing a maximum of
> five elements; since platforms having a single power domain don't
> need any actual domain name, disallow that for each sub-schema.
>
> Fixes: a7a596cd3115 ("dt-bindings: gpu: mali-bifrost: Add Mediatek MT8183")
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
> .../devicetree/bindings/gpu/arm,mali-bifrost.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> index 5b7f1c9d2b30..bf0f7f1f71e0 100644
> --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> @@ -65,6 +65,10 @@ properties:
> minItems: 1
> maxItems: 5
>
> + power-domain-names:
> + minItems: 1
If you are disallowing for a single domain, then this could be 2...
Reviewed-by: Rob Herring <robh@kernel.org>
> + maxItems: 5
> +
> resets:
> minItems: 1
> maxItems: 3
> @@ -112,6 +116,7 @@ allOf:
> properties:
> power-domains:
> maxItems: 1
> + power-domain-names: false
> required:
> - resets
> - if:
> @@ -136,6 +141,7 @@ allOf:
> - const: bus_ace
> power-domains:
> maxItems: 1
> + power-domain-names: false
> resets:
> minItems: 3
> reset-names:
> @@ -186,6 +192,7 @@ allOf:
> - const: bus
> power-domains:
> maxItems: 1
> + power-domain-names: false
> required:
> - clock-names
>
> --
> 2.39.2
>
next prev parent reply other threads:[~2023-03-08 19:03 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-28 10:26 [PATCH v4 01/12] dt-bindings: gpu: mali-bifrost: Split out MediaTek power-domains variation AngeloGioacchino Del Regno
2023-02-28 10:26 ` [PATCH v4 02/12] dt-bindings: gpu: mali-bifrost: Set power-domains maxItems to 5 AngeloGioacchino Del Regno
2023-03-07 10:27 ` Chen-Yu Tsai
2023-03-08 19:00 ` Rob Herring
2023-02-28 10:26 ` [PATCH v4 03/12] dt-bindings: gpu: mali-bifrost: Fix power-domain-names validation AngeloGioacchino Del Regno
2023-03-07 10:27 ` Chen-Yu Tsai
2023-03-08 19:02 ` Rob Herring [this message]
2023-02-28 10:26 ` [PATCH v4 04/12] dt-bindings: gpu: mali-bifrost: Add sub-schema for MT8192's power domains AngeloGioacchino Del Regno
2023-03-07 10:26 ` Chen-Yu Tsai
2023-02-28 10:26 ` [PATCH v4 05/12] dt-bindings: gpu: mali-bifrost: Add new MT8183 compatible AngeloGioacchino Del Regno
2023-03-07 10:26 ` Chen-Yu Tsai
2023-02-28 10:26 ` [PATCH v4 06/12] dt-bindings: gpu: mali-bifrost: Add support for MediaTek MT8186 AngeloGioacchino Del Regno
2023-03-07 10:22 ` Chen-Yu Tsai
2023-03-08 19:03 ` Rob Herring
2023-02-28 10:26 ` [PATCH v4 07/12] dt-bindings: gpu: mali-bifrost: Add compatible for MT8195 SoC AngeloGioacchino Del Regno
2023-03-07 9:55 ` Chen-Yu Tsai
2023-02-28 10:27 ` [PATCH v4 08/12] drm/panfrost: Increase MAX_PM_DOMAINS to 5 AngeloGioacchino Del Regno
2023-03-07 9:53 ` Chen-Yu Tsai
2023-02-28 10:27 ` [PATCH v4 09/12] drm/panfrost: Add the MT8192 GPU ID AngeloGioacchino Del Regno
2023-03-07 9:53 ` Chen-Yu Tsai
2023-02-28 10:27 ` [PATCH v4 10/12] drm/panfrost: Add mediatek,mt8192-mali compatible AngeloGioacchino Del Regno
2023-03-07 9:53 ` Chen-Yu Tsai
2023-02-28 10:27 ` [PATCH v4 11/12] drm/panfrost: Add new compatible for Mali on the MT8183 SoC AngeloGioacchino Del Regno
2023-03-07 9:52 ` Chen-Yu Tsai
2023-02-28 10:27 ` [PATCH v4 12/12] drm/panfrost: Add support for Mali on the MT8186 SoC AngeloGioacchino Del Regno
2023-03-07 9:52 ` Chen-Yu Tsai
2023-03-07 10:28 ` [PATCH v4 01/12] dt-bindings: gpu: mali-bifrost: Split out MediaTek power-domains variation Chen-Yu Tsai
2023-03-08 19:00 ` Rob Herring
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=20230308190257.GA3601415-robh@kernel.org \
--to=robh@kernel.org \
--cc=airlied@gmail.com \
--cc=alyssa.rosenzweig@collabora.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=steven.price@arm.com \
--cc=wenst@chromium.org \
/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).