~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/interconnect/mediatek,cci.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/interconnect/mediatek,cci.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: MediaTek Cache Coherent Interconnect (CCI) frequency and voltage scaling
  8 
  9 maintainers:
 10   - Jia-Wei Chang <jia-wei.chang@mediatek.com>
 11   - Johnson Wang <johnson.wang@mediatek.com>
 12 
 13 description: |
 14   MediaTek Cache Coherent Interconnect (CCI) is a hardware engine used by
 15   MT8183 and MT8186 SoCs to scale the frequency and adjust the voltage in
 16   hardware. It can also optimize the voltage to reduce the power consumption.
 17 
 18 properties:
 19   compatible:
 20     enum:
 21       - mediatek,mt8183-cci
 22       - mediatek,mt8186-cci
 23 
 24   clocks:
 25     items:
 26       - description:
 27           The multiplexer for clock input of the bus.
 28       - description:
 29           A parent of "bus" clock which is used as an intermediate clock source
 30           when the original clock source (PLL) is under transition and not
 31           stable yet.
 32 
 33   clock-names:
 34     items:
 35       - const: cci
 36       - const: intermediate
 37 
 38   operating-points-v2: true
 39   opp-table:
 40     type: object
 41 
 42   proc-supply:
 43     description:
 44       Phandle of the regulator for CCI that provides the supply voltage.
 45 
 46   sram-supply:
 47     description:
 48       Phandle of the regulator for sram of CCI that provides the supply
 49       voltage. When it is present, the implementation needs to do
 50       "voltage tracking" to step by step scale up/down Vproc and Vsram to fit
 51       SoC specific needs. When absent, the voltage scaling flow is handled by
 52       hardware, hence no software "voltage tracking" is needed.
 53 
 54 required:
 55   - compatible
 56   - clocks
 57   - clock-names
 58   - operating-points-v2
 59   - proc-supply
 60 
 61 additionalProperties: false
 62 
 63 examples:
 64   - |
 65     #include <dt-bindings/clock/mt8183-clk.h>
 66     cci: cci {
 67         compatible = "mediatek,mt8183-cci";
 68         clocks = <&mcucfg CLK_MCU_BUS_SEL>,
 69                  <&topckgen CLK_TOP_ARMPLL_DIV_PLL1>;
 70         clock-names = "cci", "intermediate";
 71         operating-points-v2 = <&cci_opp>;
 72         proc-supply = <&mt6358_vproc12_reg>;
 73     };
 74 
 75     cci_opp: opp-table-cci {
 76         compatible = "operating-points-v2";
 77         opp-shared;
 78         opp2_00: opp-273000000 {
 79             opp-hz = /bits/ 64 <273000000>;
 80             opp-microvolt = <650000>;
 81         };
 82         opp2_01: opp-338000000 {
 83             opp-hz = /bits/ 64 <338000000>;
 84             opp-microvolt = <687500>;
 85         };
 86         opp2_02: opp-403000000 {
 87             opp-hz = /bits/ 64 <403000000>;
 88             opp-microvolt = <718750>;
 89         };
 90         opp2_03: opp-463000000 {
 91             opp-hz = /bits/ 64 <463000000>;
 92             opp-microvolt = <756250>;
 93         };
 94         opp2_04: opp-546000000 {
 95             opp-hz = /bits/ 64 <546000000>;
 96             opp-microvolt = <800000>;
 97         };
 98         opp2_05: opp-624000000 {
 99             opp-hz = /bits/ 64 <624000000>;
100             opp-microvolt = <818750>;
101         };
102         opp2_06: opp-689000000 {
103             opp-hz = /bits/ 64 <689000000>;
104             opp-microvolt = <850000>;
105         };
106         opp2_07: opp-767000000 {
107             opp-hz = /bits/ 64 <767000000>;
108             opp-microvolt = <868750>;
109         };
110         opp2_08: opp-845000000 {
111             opp-hz = /bits/ 64 <845000000>;
112             opp-microvolt = <893750>;
113         };
114         opp2_09: opp-871000000 {
115             opp-hz = /bits/ 64 <871000000>;
116             opp-microvolt = <906250>;
117         };
118         opp2_10: opp-923000000 {
119             opp-hz = /bits/ 64 <923000000>;
120             opp-microvolt = <931250>;
121         };
122         opp2_11: opp-962000000 {
123             opp-hz = /bits/ 64 <962000000>;
124             opp-microvolt = <943750>;
125         };
126         opp2_12: opp-1027000000 {
127             opp-hz = /bits/ 64 <1027000000>;
128             opp-microvolt = <975000>;
129         };
130         opp2_13: opp-1092000000 {
131             opp-hz = /bits/ 64 <1092000000>;
132             opp-microvolt = <1000000>;
133         };
134         opp2_14: opp-1144000000 {
135             opp-hz = /bits/ 64 <1144000000>;
136             opp-microvolt = <1025000>;
137         };
138         opp2_15: opp-1196000000 {
139             opp-hz = /bits/ 64 <1196000000>;
140             opp-microvolt = <1050000>;
141         };
142     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php