Skip to content

Commit f9759e2

Browse files
abelvesarobherring
authored andcommitted
dt-bindings: cache: qcom,llcc: Fix X1E80100 reg entries
Document the missing Broadcast_AND region for x1e80100. Fixes: e9ceb59 ("dt-bindings: cache: qcom,llcc: Add X1E80100 compatible") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Abel Vesa <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/20241018-qcom-llcc-bindings-reg-ranges-fix-v1-1-88693cb7723b@linaro.org Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent b213f06 commit f9759e2

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

Documentation/devicetree/bindings/cache/qcom,llcc.yaml

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ properties:
3939

4040
reg:
4141
minItems: 2
42-
maxItems: 9
42+
maxItems: 10
4343

4444
reg-names:
4545
minItems: 2
46-
maxItems: 9
46+
maxItems: 10
4747

4848
interrupts:
4949
maxItems: 1
@@ -134,6 +134,36 @@ allOf:
134134
- qcom,qdu1000-llcc
135135
- qcom,sc8180x-llcc
136136
- qcom,sc8280xp-llcc
137+
then:
138+
properties:
139+
reg:
140+
items:
141+
- description: LLCC0 base register region
142+
- description: LLCC1 base register region
143+
- description: LLCC2 base register region
144+
- description: LLCC3 base register region
145+
- description: LLCC4 base register region
146+
- description: LLCC5 base register region
147+
- description: LLCC6 base register region
148+
- description: LLCC7 base register region
149+
- description: LLCC broadcast base register region
150+
reg-names:
151+
items:
152+
- const: llcc0_base
153+
- const: llcc1_base
154+
- const: llcc2_base
155+
- const: llcc3_base
156+
- const: llcc4_base
157+
- const: llcc5_base
158+
- const: llcc6_base
159+
- const: llcc7_base
160+
- const: llcc_broadcast_base
161+
162+
- if:
163+
properties:
164+
compatible:
165+
contains:
166+
enum:
137167
- qcom,x1e80100-llcc
138168
then:
139169
properties:
@@ -148,6 +178,7 @@ allOf:
148178
- description: LLCC6 base register region
149179
- description: LLCC7 base register region
150180
- description: LLCC broadcast base register region
181+
- description: LLCC broadcast AND register region
151182
reg-names:
152183
items:
153184
- const: llcc0_base
@@ -159,6 +190,7 @@ allOf:
159190
- const: llcc6_base
160191
- const: llcc7_base
161192
- const: llcc_broadcast_base
193+
- const: llcc_broadcast_and_base
162194

163195
- if:
164196
properties:

0 commit comments

Comments
 (0)