Skip to content

Commit 8bdb8ae

Browse files
mairacanalpelwell
authored andcommitted
dt-bindings: gpu: v3d: Add SMS register to BCM2712 compatible
V3D 7.1 exposes a new register block, called V3D_SMS. As BCM2712 has a V3D 7.1 core, add a new register item to its compatible. Similar to the GCA, which is specific for V3D 3.3, SMS is optional and should only be added for V3D 7.1 variants (such as brcm,2712-v3d). Signed-off-by: Maíra Canal <[email protected]>
1 parent e1fb678 commit 8bdb8ae

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

Diff for: Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.yaml

+21-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ allOf:
5858
contains:
5959
enum:
6060
- brcm,2711-v3d
61-
- brcm,2712-v3d
6261
- brcm,7278-v3d
6362
then:
6463
properties:
@@ -72,6 +71,27 @@ allOf:
7271
- const: hub
7372
- const: core0
7473
- const: bridge
74+
- if:
75+
properties:
76+
compatible:
77+
contains:
78+
const: brcm,2712-v3d
79+
then:
80+
properties:
81+
reg:
82+
items:
83+
- description: hub register (required)
84+
- description: core0 register (required)
85+
- description: SMS register (required)
86+
- description: bridge register (if no external reset controller)
87+
minItems: 3
88+
reg-names:
89+
items:
90+
- const: hub
91+
- const: core0
92+
- const: sms
93+
- const: bridge
94+
minItems: 3
7595
- if:
7696
properties:
7797
compatible:

0 commit comments

Comments
 (0)