Re: [RFC PATCH 1/3] dt-bindings: gpu: img: Add AM62P SoC specific compatible

From: Andrew Davis
Date: Wed Jul 16 2025 - 12:18:22 EST


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?

Signed-off-by: Michael Walle <mwalle@xxxxxxxxxx>
---
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?

Andrew

- ti,j721s2-gpu
- const: img,img-bxs-4-64
- const: img,img-rogue