Merge tag 'drm-next-2020-12-24' of git://anongit.freedesktop.org/drm/drm
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / arm / msm / qcom,llcc.yaml
1 # SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/arm/msm/qcom,llcc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Last Level Cache Controller
8
9 maintainers:
10   - Rishabh Bhatnagar <rishabhb@codeaurora.org>
11   - Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
12
13 description: |
14   LLCC (Last Level Cache Controller) provides last level of cache memory in SoC,
15   that can be shared by multiple clients. Clients here are different cores in the
16   SoC, the idea is to minimize the local caches at the clients and migrate to
17   common pool of memory. Cache memory is divided into partitions called slices
18   which are assigned to clients. Clients can query the slice details, activate
19   and deactivate them.
20
21 properties:
22   compatible:
23     enum:
24       - qcom,sc7180-llcc
25       - qcom,sdm845-llcc
26       - qcom,sm8150-llcc
27
28   reg:
29     items:
30       - description: LLCC base register region
31       - description: LLCC broadcast base register region
32
33   reg-names:
34     items:
35       - const: llcc_base
36       - const: llcc_broadcast_base
37
38   interrupts:
39     maxItems: 1
40
41 required:
42   - compatible
43   - reg
44   - reg-names
45   - interrupts
46
47 additionalProperties: false
48
49 examples:
50   - |
51     #include <dt-bindings/interrupt-controller/arm-gic.h>
52
53     system-cache-controller@1100000 {
54       compatible = "qcom,sdm845-llcc";
55       reg = <0x1100000 0x200000>, <0x1300000 0x50000> ;
56       reg-names = "llcc_base", "llcc_broadcast_base";
57       interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
58     };