Skip to content

Commit

Permalink
dt-bindings: cache: qcom,llcc: Add IPQ5424 compatible
Browse files Browse the repository at this point in the history
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) <robh@kernel.org>
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
Link: https://lore.kernel.org/r/20241121051935.1055222-2-quic_varada@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
  • Loading branch information
Varadarajan Narayanan authored and Bjorn Andersson committed Jan 8, 2025
1 parent a4332f6 commit f35a439
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions Documentation/devicetree/bindings/cache/qcom,llcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ description: |
properties:
compatible:
enum:
- qcom,ipq5424-llcc
- qcom,qcs615-llcc
- qcom,qcs8300-llcc
- qcom,qdu1000-llcc
Expand All @@ -42,11 +43,11 @@ properties:
- qcom,x1e80100-llcc

reg:
minItems: 2
minItems: 1
maxItems: 10

reg-names:
minItems: 2
minItems: 1
maxItems: 10

interrupts:
Expand All @@ -66,6 +67,21 @@ required:
- reg-names

allOf:
- if:
properties:
compatible:
contains:
enum:
- qcom,ipq5424-llcc
then:
properties:
reg:
items:
- description: LLCC0 base register region
reg-names:
items:
- const: llcc0_base

- if:
properties:
compatible:
Expand Down

0 comments on commit f35a439

Please sign in to comment.