Skip to content

Commit

Permalink
dt-bindings: cache: qcom,llcc: Fix X1E80100 reg entries
Browse files Browse the repository at this point in the history
Document the missing Broadcast_AND region for x1e80100.

Fixes: e9ceb59 ("dt-bindings: cache: qcom,llcc: Add X1E80100 compatible")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202410181235.L7MF7z48-lkp@intel.com/
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241018-qcom-llcc-bindings-reg-ranges-fix-v1-1-88693cb7723b@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
  • Loading branch information
Abel Vesa authored and Rob Herring (Arm) committed Oct 29, 2024
1 parent b213f06 commit f9759e2
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions Documentation/devicetree/bindings/cache/qcom,llcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ properties:

reg:
minItems: 2
maxItems: 9
maxItems: 10

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

interrupts:
maxItems: 1
Expand Down Expand Up @@ -134,6 +134,36 @@ allOf:
- qcom,qdu1000-llcc
- qcom,sc8180x-llcc
- qcom,sc8280xp-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: LLCC broadcast base 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: llcc_broadcast_base

- if:
properties:
compatible:
contains:
enum:
- qcom,x1e80100-llcc
then:
properties:
Expand All @@ -148,6 +178,7 @@ allOf:
- description: LLCC6 base register region
- description: LLCC7 base register region
- description: LLCC broadcast base register region
- description: LLCC broadcast AND register region
reg-names:
items:
- const: llcc0_base
Expand All @@ -159,6 +190,7 @@ allOf:
- const: llcc6_base
- const: llcc7_base
- const: llcc_broadcast_base
- const: llcc_broadcast_and_base

- if:
properties:
Expand Down

0 comments on commit f9759e2

Please sign in to comment.