Commit bd0b8028 authored by Pankaj Patil's avatar Pankaj Patil Committed by Bjorn Andersson
Browse files

dt-bindings: cache: qcom,llcc: Document Glymur LLCC block



Document the Last Level Cache Controller on Glymur SoC
Glymur LLCC has 12 base register regions and an additional AND, OR
broadcast region, total 14 register regions
Increase maxItems for reg and reg-names to allow 14 entries for Glymur

Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: default avatarPankaj Patil <pankaj.patil@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251211-glymur_llcc_enablement-v3-1-43457b354b0d@oss.qualcomm.com


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 8f0b4cce
Loading
Loading
Loading
Loading
+45 −2
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ description: |
properties:
  compatible:
    enum:
      - qcom,glymur-llcc
      - qcom,ipq5424-llcc
      - qcom,kaanapali-llcc
      - qcom,qcs615-llcc
@@ -46,11 +47,11 @@ properties:

  reg:
    minItems: 1
    maxItems: 10
    maxItems: 14

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

  interrupts:
    maxItems: 1
@@ -84,6 +85,48 @@ allOf:
          items:
            - const: llcc0_base

  - if:
      properties:
        compatible:
          contains:
            enum:
              - qcom,glymur-llcc
    then:
      properties:
        reg:
          items:
            - description: LLCC0 base register region
            - description: LLCC1 base register region
            - description: LLCC2 base register region
            - description: LLCC3 base register region
            - description: LLCC4 base register region
            - description: LLCC5 base register region
            - description: LLCC6 base register region
            - description: LLCC7 base register region
            - description: LLCC8 base register region
            - description: LLCC9 base register region
            - description: LLCC10 base register region
            - description: LLCC11 base register region
            - description: LLCC broadcast base register region
            - description: LLCC broadcast AND register region
        reg-names:
          items:
            - const: llcc0_base
            - const: llcc1_base
            - const: llcc2_base
            - const: llcc3_base
            - const: llcc4_base
            - const: llcc5_base
            - const: llcc6_base
            - const: llcc7_base
            - const: llcc7_base
            - const: llcc8_base
            - const: llcc9_base
            - const: llcc10_base
            - const: llcc11_base
            - const: llcc_broadcast_base
            - const: llcc_broadcast_and_base

  - if:
      properties:
        compatible: