* [PATCH 1/9] dt-bindings: Add arm,mali-valhall compatible
[not found] <20220211202728.6146-1-alyssa.rosenzweig@collabora.com>
@ 2022-02-11 20:27 ` alyssa.rosenzweig
2022-02-14 16:23 ` Steven Price
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: alyssa.rosenzweig @ 2022-02-11 20:27 UTC (permalink / raw)
To: dri-devel
Cc: robh, tomeu.vizoso, steven.price, airlied, daniel,
Alyssa Rosenzweig, devicetree
From: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
From the kernel's perspective, pre-CSF Valhall is more or less
compatible with Bifrost, although they differ to userspace. Add a
compatible for Valhall to the existing Bifrost bindings documentation.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Cc: devicetree@vger.kernel.org
---
Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
index 63a08f3f321d..48aeabd2ed68 100644
--- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
+++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
@@ -23,6 +23,7 @@ properties:
- rockchip,px30-mali
- rockchip,rk3568-mali
- const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable
+ - const: arm,mali-valhall # Mali Valhall GPU model/revision is fully discoverable
reg:
maxItems: 1
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/9] dt-bindings: Add arm,mali-valhall compatible
2022-02-11 20:27 ` [PATCH 1/9] dt-bindings: Add arm,mali-valhall compatible alyssa.rosenzweig
@ 2022-02-14 16:23 ` Steven Price
2022-02-14 16:58 ` Alyssa Rosenzweig
2022-02-14 17:38 ` Daniel Stone
2022-02-15 12:17 ` Robin Murphy
2022-02-15 15:22 ` Rob Herring
2 siblings, 2 replies; 6+ messages in thread
From: Steven Price @ 2022-02-14 16:23 UTC (permalink / raw)
To: alyssa.rosenzweig, dri-devel
Cc: robh, tomeu.vizoso, airlied, daniel, devicetree
On 11/02/2022 20:27, alyssa.rosenzweig@collabora.com wrote:
> From: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
>
> From the kernel's perspective, pre-CSF Valhall is more or less
> compatible with Bifrost, although they differ to userspace. Add a
> compatible for Valhall to the existing Bifrost bindings documentation.
>
> Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
> Cc: devicetree@vger.kernel.org
> ---
> Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> index 63a08f3f321d..48aeabd2ed68 100644
> --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> @@ -23,6 +23,7 @@ properties:
> - rockchip,px30-mali
> - rockchip,rk3568-mali
> - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable
> + - const: arm,mali-valhall # Mali Valhall GPU model/revision is fully discoverable
It might be worth spelling out here that this is *pre-CSF* Valhall. I'm
pretty sure we're going to need different bindings for CSF GPUs.
Steve
>
> reg:
> maxItems: 1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/9] dt-bindings: Add arm,mali-valhall compatible
2022-02-14 16:23 ` Steven Price
@ 2022-02-14 16:58 ` Alyssa Rosenzweig
2022-02-14 17:38 ` Daniel Stone
1 sibling, 0 replies; 6+ messages in thread
From: Alyssa Rosenzweig @ 2022-02-14 16:58 UTC (permalink / raw)
To: Steven Price
Cc: alyssa.rosenzweig, dri-devel, robh, tomeu.vizoso, airlied, daniel,
devicetree
> > diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> > index 63a08f3f321d..48aeabd2ed68 100644
> > --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> > +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> > @@ -23,6 +23,7 @@ properties:
> > - rockchip,px30-mali
> > - rockchip,rk3568-mali
> > - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable
> > + - const: arm,mali-valhall # Mali Valhall GPU model/revision is fully discoverable
>
> It might be worth spelling out here that this is *pre-CSF* Valhall. I'm
> pretty sure we're going to need different bindings for CSF GPUs.
Yes, agreed, will make a note for v2.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/9] dt-bindings: Add arm,mali-valhall compatible
2022-02-14 16:23 ` Steven Price
2022-02-14 16:58 ` Alyssa Rosenzweig
@ 2022-02-14 17:38 ` Daniel Stone
1 sibling, 0 replies; 6+ messages in thread
From: Daniel Stone @ 2022-02-14 17:38 UTC (permalink / raw)
To: Steven Price
Cc: alyssa.rosenzweig, dri-devel, airlied, tomeu.vizoso, devicetree
On Mon, 14 Feb 2022 at 16:23, Steven Price <steven.price@arm.com> wrote:
> On 11/02/2022 20:27, alyssa.rosenzweig@collabora.com wrote:
> > From the kernel's perspective, pre-CSF Valhall is more or less
> > compatible with Bifrost, although they differ to userspace. Add a
> > compatible for Valhall to the existing Bifrost bindings documentation.
> >
> > diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> > index 63a08f3f321d..48aeabd2ed68 100644
> > --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> > +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> > @@ -23,6 +23,7 @@ properties:
> > - rockchip,px30-mali
> > - rockchip,rk3568-mali
> > - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable
> > + - const: arm,mali-valhall # Mali Valhall GPU model/revision is fully discoverable
>
> It might be worth spelling out here that this is *pre-CSF* Valhall. I'm
> pretty sure we're going to need different bindings for CSF GPUs.
Good point - maybe either make it arm,mali-valhall-jm then?
Cheers,
Daniel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/9] dt-bindings: Add arm,mali-valhall compatible
2022-02-11 20:27 ` [PATCH 1/9] dt-bindings: Add arm,mali-valhall compatible alyssa.rosenzweig
2022-02-14 16:23 ` Steven Price
@ 2022-02-15 12:17 ` Robin Murphy
2022-02-15 15:22 ` Rob Herring
2 siblings, 0 replies; 6+ messages in thread
From: Robin Murphy @ 2022-02-15 12:17 UTC (permalink / raw)
To: alyssa.rosenzweig, dri-devel
Cc: tomeu.vizoso, devicetree, airlied, steven.price
On 2022-02-11 20:27, alyssa.rosenzweig@collabora.com wrote:
> From: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
>
> From the kernel's perspective, pre-CSF Valhall is more or less
> compatible with Bifrost, although they differ to userspace. Add a
> compatible for Valhall to the existing Bifrost bindings documentation.
>
> Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
> Cc: devicetree@vger.kernel.org
> ---
> Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> index 63a08f3f321d..48aeabd2ed68 100644
> --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
> @@ -23,6 +23,7 @@ properties:
> - rockchip,px30-mali
> - rockchip,rk3568-mali
> - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable
> + - const: arm,mali-valhall # Mali Valhall GPU model/revision is fully discoverable
This requires all existing Bifrost users to add the Valhall compatible
as well - I don't think that's what you want. From what we tossed about
on IRC the other week, I'd imagined something more in the shape of:
compatible:
oneOf:
- items:
- enum:
- vendor,soc-mali
- ...
- const: arm,mali-bifrost
- items:
- enum:
- vendor,soc-mali
- ...
- const: arm,mali-valhall
- const: arm,mali-bifrost #or not, depending on
forward-compatibility preferences
Cheers,
Robin.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/9] dt-bindings: Add arm,mali-valhall compatible
2022-02-11 20:27 ` [PATCH 1/9] dt-bindings: Add arm,mali-valhall compatible alyssa.rosenzweig
2022-02-14 16:23 ` Steven Price
2022-02-15 12:17 ` Robin Murphy
@ 2022-02-15 15:22 ` Rob Herring
2 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2022-02-15 15:22 UTC (permalink / raw)
To: alyssa.rosenzweig
Cc: steven.price, dri-devel, tomeu.vizoso, daniel, devicetree,
airlied
On Fri, 11 Feb 2022 15:27:20 -0500, alyssa.rosenzweig@collabora.com wrote:
> From: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
>
>
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.example.dt.yaml: gpu@ffe40000: compatible: ['amlogic,meson-g12a-mali', 'arm,mali-bifrost'] is too short
From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/patch/1591823
This check can fail if there are any dependencies. The base for a patch
series is generally the most recent rc1.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-02-15 15:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20220211202728.6146-1-alyssa.rosenzweig@collabora.com>
2022-02-11 20:27 ` [PATCH 1/9] dt-bindings: Add arm,mali-valhall compatible alyssa.rosenzweig
2022-02-14 16:23 ` Steven Price
2022-02-14 16:58 ` Alyssa Rosenzweig
2022-02-14 17:38 ` Daniel Stone
2022-02-15 12:17 ` Robin Murphy
2022-02-15 15:22 ` Rob Herring
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).