* [PATCH v2 1/9] dt-bindings: Add compatible for Mali Valhall (JM) [not found] <20220525145754.25866-1-alyssa.rosenzweig@collabora.com> @ 2022-05-25 14:57 ` Alyssa Rosenzweig 2022-05-26 1:56 ` Rob Herring 2022-05-26 8:49 ` Steven Price 0 siblings, 2 replies; 3+ messages in thread From: Alyssa Rosenzweig @ 2022-05-25 14:57 UTC (permalink / raw) To: dri-devel Cc: Rob Herring, Tomeu Vizoso, Steven Price, Alyssa Rosenzweig, David Airlie, Daniel Vetter, Nícolas F . R . A . Prado, AngeloGioacchino Del Regno, linux-kernel, devicetree From the kernel's perspective, (pre-CSF, "Job Manager") Valhall is more or less compatible with Bifrost, although they differ to userspace. Add a compatible for Valhall to the existing Bifrost bindings documentation. As the first SoC with a Valhall GPU receiving mainline support, add a specific compatible for the MediaTek MT8192, which instantiates a Mali-G57. v2: Change compatible to arm,mali-valhall-jm (Daniel Stone). Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> CC: devicetree@vger.kernel.org --- .../bindings/gpu/arm,mali-bifrost.yaml | 25 +++++++++++-------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml index 85f8d4764740..78964c140b46 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml @@ -14,16 +14,21 @@ properties: pattern: '^gpu@[a-f0-9]+$' compatible: - items: - - enum: - - amlogic,meson-g12a-mali - - mediatek,mt8183-mali - - realtek,rtd1619-mali - - renesas,r9a07g044-mali - - renesas,r9a07g054-mali - - rockchip,px30-mali - - rockchip,rk3568-mali - - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable + oneOf: + - items: + - enum: + - amlogic,meson-g12a-mali + - mediatek,mt8183-mali + - realtek,rtd1619-mali + - renesas,r9a07g044-mali + - renesas,r9a07g054-mali + - rockchip,px30-mali + - rockchip,rk3568-mali + - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable + - items: + - enum: + - mediatek,mt8192-mali + - const: arm,mali-valhall-jm # Mali Valhall GPU model/revision is fully discoverable reg: maxItems: 1 -- 2.35.1 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/9] dt-bindings: Add compatible for Mali Valhall (JM) 2022-05-25 14:57 ` [PATCH v2 1/9] dt-bindings: Add compatible for Mali Valhall (JM) Alyssa Rosenzweig @ 2022-05-26 1:56 ` Rob Herring 2022-05-26 8:49 ` Steven Price 1 sibling, 0 replies; 3+ messages in thread From: Rob Herring @ 2022-05-26 1:56 UTC (permalink / raw) To: Alyssa Rosenzweig Cc: David Airlie, AngeloGioacchino Del Regno, Daniel Vetter, Tomeu Vizoso, Steven Price, dri-devel, linux-kernel, Nícolas F . R . A . Prado, devicetree On Wed, 25 May 2022 10:57:46 -0400, Alyssa Rosenzweig wrote: > Reviewed-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/9] dt-bindings: Add compatible for Mali Valhall (JM) 2022-05-25 14:57 ` [PATCH v2 1/9] dt-bindings: Add compatible for Mali Valhall (JM) Alyssa Rosenzweig 2022-05-26 1:56 ` Rob Herring @ 2022-05-26 8:49 ` Steven Price 1 sibling, 0 replies; 3+ messages in thread From: Steven Price @ 2022-05-26 8:49 UTC (permalink / raw) To: Alyssa Rosenzweig, dri-devel Cc: Rob Herring, Tomeu Vizoso, David Airlie, Daniel Vetter, Nícolas F . R . A . Prado, AngeloGioacchino Del Regno, linux-kernel, devicetree On 25/05/2022 15:57, Alyssa Rosenzweig wrote: > From the kernel's perspective, (pre-CSF, "Job Manager") Valhall is more > or less compatible with Bifrost, although they differ to userspace. Add > a compatible for Valhall to the existing Bifrost bindings documentation. > > As the first SoC with a Valhall GPU receiving mainline support, add a > specific compatible for the MediaTek MT8192, which instantiates a > Mali-G57. > > v2: Change compatible to arm,mali-valhall-jm (Daniel Stone). > > Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> > CC: devicetree@vger.kernel.org Reviewed-by: Steven Price <steven.price@arm.com> > --- > .../bindings/gpu/arm,mali-bifrost.yaml | 25 +++++++++++-------- > 1 file changed, 15 insertions(+), 10 deletions(-) > > diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml > index 85f8d4764740..78964c140b46 100644 > --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml > +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml > @@ -14,16 +14,21 @@ properties: > pattern: '^gpu@[a-f0-9]+$' > > compatible: > - items: > - - enum: > - - amlogic,meson-g12a-mali > - - mediatek,mt8183-mali > - - realtek,rtd1619-mali > - - renesas,r9a07g044-mali > - - renesas,r9a07g054-mali > - - rockchip,px30-mali > - - rockchip,rk3568-mali > - - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable > + oneOf: > + - items: > + - enum: > + - amlogic,meson-g12a-mali > + - mediatek,mt8183-mali > + - realtek,rtd1619-mali > + - renesas,r9a07g044-mali > + - renesas,r9a07g054-mali > + - rockchip,px30-mali > + - rockchip,rk3568-mali > + - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable > + - items: > + - enum: > + - mediatek,mt8192-mali > + - const: arm,mali-valhall-jm # Mali Valhall GPU model/revision is fully discoverable > > reg: > maxItems: 1 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-26 8:49 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20220525145754.25866-1-alyssa.rosenzweig@collabora.com> 2022-05-25 14:57 ` [PATCH v2 1/9] dt-bindings: Add compatible for Mali Valhall (JM) Alyssa Rosenzweig 2022-05-26 1:56 ` Rob Herring 2022-05-26 8:49 ` Steven Price
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).