[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DBE4UO2RGAYX.17V1DAF8MQYJM@kernel.org>
Date: Thu, 17 Jul 2025 08:56:59 +0200
From: "Michael Walle" <mwalle@...nel.org>
To: "Andrew Davis" <afd@...com>, "Frank Binns" <frank.binns@...tec.com>,
"Matt Coster" <matt.coster@...tec.com>, "Maarten Lankhorst"
<maarten.lankhorst@...ux.intel.com>, "Maxime Ripard" <mripard@...nel.org>,
"Thomas Zimmermann" <tzimmermann@...e.de>, "David Airlie"
<airlied@...il.com>, "Simona Vetter" <simona@...ll.ch>, "Rob Herring"
<robh@...nel.org>, "Krzysztof Kozlowski" <krzk+dt@...nel.org>, "Conor
Dooley" <conor+dt@...nel.org>, "Nishanth Menon" <nm@...com>, "Vignesh
Raghavendra" <vigneshr@...com>, "Tero Kristo" <kristo@...nel.org>
Cc: <dri-devel@...ts.freedesktop.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [RFC PATCH 1/3] dt-bindings: gpu: img: Add AM62P SoC specific
compatible
Hi Andrew,
On Wed Jul 16, 2025 at 6:17 PM CEST, Andrew Davis wrote:
> On 7/16/25 8:47 AM, Michael Walle wrote:
> > The AM62P and the J722S features the same BXS-4 GPU as the J721S2. Add a
> > new SoC specific compatible.
> >
>
> If the GPU is the same, and the integration is the same, do you really need
> a new compatible?
AFAIK it's good practise to have one to have a base for future SoC
specific quirks. For example, there are differences how that IP was
integrated, i.e. the am62p doesn't have DMA coherency (for this
peripheral), the clock is dedicated and there might be more.
>
> > Signed-off-by: Michael Walle <mwalle@...nel.org>
> > ---
> > Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
> > index 4450e2e73b3c..bad3e412a168 100644
> > --- a/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
> > +++ b/Documentation/devicetree/bindings/gpu/img,powervr-rogue.yaml
> > @@ -23,6 +23,7 @@ properties:
> > - const: img,img-rogue
> > - items:
> > - enum:
> > + - ti,am62p-gpu
>
> There is a check below based on SoC compat:
>
> > - if:
> > properties:
> > compatible:
> > contains:
> > enum:
> > - ti,am62-gpu
> > - ti,j721s2-gpu
> > then:
> > properties:
> > clocks:
> > maxItems: 1
>
> If you do add a new SoC specific compatible does this check need updating?
Thanks! Yes probably.
-michael
Download attachment "signature.asc" of type "application/pgp-signature" (298 bytes)
Powered by blists - more mailing lists