Skip to content

Commit f35a439

Browse files
quic-varadaandersson
authored andcommitted
dt-bindings: cache: qcom,llcc: Add IPQ5424 compatible
Document the Last Level Cache Controller on IPQ5424. The 'broadcast' register space is present only in chipsets that have multiple instances of LLCC IP. Since IPQ5424 has only one instance, both the LLCC and LLCC_BROADCAST points to the same register space. Hence, allow only '1' reg & reg-names entry for IPQ5424. Reviewed-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Varadarajan Narayanan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent a4332f6 commit f35a439

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

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

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ description: |
2020
properties:
2121
compatible:
2222
enum:
23+
- qcom,ipq5424-llcc
2324
- qcom,qcs615-llcc
2425
- qcom,qcs8300-llcc
2526
- qcom,qdu1000-llcc
@@ -42,11 +43,11 @@ properties:
4243
- qcom,x1e80100-llcc
4344

4445
reg:
45-
minItems: 2
46+
minItems: 1
4647
maxItems: 10
4748

4849
reg-names:
49-
minItems: 2
50+
minItems: 1
5051
maxItems: 10
5152

5253
interrupts:
@@ -66,6 +67,21 @@ required:
6667
- reg-names
6768

6869
allOf:
70+
- if:
71+
properties:
72+
compatible:
73+
contains:
74+
enum:
75+
- qcom,ipq5424-llcc
76+
then:
77+
properties:
78+
reg:
79+
items:
80+
- description: LLCC0 base register region
81+
reg-names:
82+
items:
83+
- const: llcc0_base
84+
6985
- if:
7086
properties:
7187
compatible:

0 commit comments

Comments
 (0)