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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mmc/sdhci-msm.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 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/mmc/sdhci-msm.yaml (Architecture sparc64) and /Documentation/devicetree/bindings/mmc/sdhci-msm.yaml (Architecture ppc)


  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C      1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/mmc/sdhci-m      4 $id: http://devicetree.org/schemas/mmc/sdhci-msm.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Qualcomm SDHCI controller (sdhci-msm)        7 title: Qualcomm SDHCI controller (sdhci-msm)
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Bhupesh Sharma <bhupesh.sharma@linaro.org>      10   - Bhupesh Sharma <bhupesh.sharma@linaro.org>
 11                                                    11 
 12 description:                                       12 description:
 13   Secure Digital Host Controller Interface (SD     13   Secure Digital Host Controller Interface (SDHCI) present on
 14   Qualcomm SOCs supports SD/MMC/SDIO devices.      14   Qualcomm SOCs supports SD/MMC/SDIO devices.
 15                                                    15 
 16 properties:                                        16 properties:
 17   compatible:                                      17   compatible:
 18     oneOf:                                         18     oneOf:
 19       - enum:                                      19       - enum:
 20           - qcom,sdhci-msm-v4                      20           - qcom,sdhci-msm-v4
 21         deprecated: true                           21         deprecated: true
 22       - items:                                     22       - items:
 23           - enum:                                  23           - enum:
 24               - qcom,apq8084-sdhci                 24               - qcom,apq8084-sdhci
 25               - qcom,ipq4019-sdhci                 25               - qcom,ipq4019-sdhci
 26               - qcom,ipq8074-sdhci                 26               - qcom,ipq8074-sdhci
 27               - qcom,msm8226-sdhci                 27               - qcom,msm8226-sdhci
 28               - qcom,msm8953-sdhci                 28               - qcom,msm8953-sdhci
 29               - qcom,msm8974-sdhci                 29               - qcom,msm8974-sdhci
 30               - qcom,msm8976-sdhci                 30               - qcom,msm8976-sdhci
 31               - qcom,msm8916-sdhci                 31               - qcom,msm8916-sdhci
 32               - qcom,msm8992-sdhci                 32               - qcom,msm8992-sdhci
 33               - qcom,msm8994-sdhci                 33               - qcom,msm8994-sdhci
 34               - qcom,msm8996-sdhci                 34               - qcom,msm8996-sdhci
 35               - qcom,msm8998-sdhci                 35               - qcom,msm8998-sdhci
 36           - const: qcom,sdhci-msm-v4 # for sdc     36           - const: qcom,sdhci-msm-v4 # for sdcc versions less than 5.0
 37       - items:                                     37       - items:
 38           - enum:                                  38           - enum:
 39               - qcom,ipq5018-sdhci                 39               - qcom,ipq5018-sdhci
 40               - qcom,ipq5332-sdhci                 40               - qcom,ipq5332-sdhci
 41               - qcom,ipq6018-sdhci                 41               - qcom,ipq6018-sdhci
 42               - qcom,ipq9574-sdhci                 42               - qcom,ipq9574-sdhci
 43               - qcom,qcm2290-sdhci                 43               - qcom,qcm2290-sdhci
 44               - qcom,qcs404-sdhci                  44               - qcom,qcs404-sdhci
 45               - qcom,qdu1000-sdhci                 45               - qcom,qdu1000-sdhci
 46               - qcom,sc7180-sdhci                  46               - qcom,sc7180-sdhci
 47               - qcom,sc7280-sdhci                  47               - qcom,sc7280-sdhci
 48               - qcom,sc8280xp-sdhci                48               - qcom,sc8280xp-sdhci
 49               - qcom,sdm630-sdhci                  49               - qcom,sdm630-sdhci
 50               - qcom,sdm670-sdhci                  50               - qcom,sdm670-sdhci
 51               - qcom,sdm845-sdhci                  51               - qcom,sdm845-sdhci
 52               - qcom,sdx55-sdhci                   52               - qcom,sdx55-sdhci
 53               - qcom,sdx65-sdhci                   53               - qcom,sdx65-sdhci
 54               - qcom,sdx75-sdhci                   54               - qcom,sdx75-sdhci
 55               - qcom,sm6115-sdhci                  55               - qcom,sm6115-sdhci
 56               - qcom,sm6125-sdhci                  56               - qcom,sm6125-sdhci
 57               - qcom,sm6350-sdhci                  57               - qcom,sm6350-sdhci
 58               - qcom,sm6375-sdhci                  58               - qcom,sm6375-sdhci
 59               - qcom,sm8150-sdhci                  59               - qcom,sm8150-sdhci
 60               - qcom,sm8250-sdhci                  60               - qcom,sm8250-sdhci
 61               - qcom,sm8350-sdhci                  61               - qcom,sm8350-sdhci
 62               - qcom,sm8450-sdhci                  62               - qcom,sm8450-sdhci
 63               - qcom,sm8550-sdhci                  63               - qcom,sm8550-sdhci
 64               - qcom,sm8650-sdhci                  64               - qcom,sm8650-sdhci
 65           - const: qcom,sdhci-msm-v5 # for sdc     65           - const: qcom,sdhci-msm-v5 # for sdcc version 5.0
 66                                                    66 
 67   reg:                                             67   reg:
 68     minItems: 1                                    68     minItems: 1
 69     maxItems: 4                                    69     maxItems: 4
 70                                                    70 
 71   reg-names:                                       71   reg-names:
 72     minItems: 1                                    72     minItems: 1
 73     maxItems: 4                                    73     maxItems: 4
 74                                                    74 
 75   clocks:                                          75   clocks:
 76     minItems: 2                                    76     minItems: 2
 77     items:                                         77     items:
 78       - description: Main peripheral bus clock     78       - description: Main peripheral bus clock, PCLK/HCLK - AHB Bus clock
 79       - description: SDC MMC clock, MCLK           79       - description: SDC MMC clock, MCLK
 80       - description: TCXO clock                    80       - description: TCXO clock
 81       - description: clock for Inline Crypto E     81       - description: clock for Inline Crypto Engine
 82       - description: SDCC bus voter clock          82       - description: SDCC bus voter clock
 83       - description: reference clock for RCLK      83       - description: reference clock for RCLK delay calibration
 84       - description: sleep clock for RCLK dela     84       - description: sleep clock for RCLK delay calibration
 85                                                    85 
 86   clock-names:                                     86   clock-names:
 87     minItems: 2                                    87     minItems: 2
 88     items:                                         88     items:
 89       - const: iface                               89       - const: iface
 90       - const: core                                90       - const: core
 91       - const: xo                                  91       - const: xo
 92       - enum: [ice, bus, cal, sleep]               92       - enum: [ice, bus, cal, sleep]
 93       - enum: [ice, bus, cal, sleep]               93       - enum: [ice, bus, cal, sleep]
 94       - enum: [ice, bus, cal, sleep]               94       - enum: [ice, bus, cal, sleep]
 95       - enum: [ice, bus, cal, sleep]               95       - enum: [ice, bus, cal, sleep]
 96                                                    96 
 97   dma-coherent: true                               97   dma-coherent: true
 98                                                    98 
 99   interrupts:                                      99   interrupts:
100     maxItems: 2                                   100     maxItems: 2
101                                                   101 
102   interrupt-names:                                102   interrupt-names:
103     items:                                        103     items:
104       - const: hc_irq                             104       - const: hc_irq
105       - const: pwr_irq                            105       - const: pwr_irq
106                                                   106 
107   pinctrl-names:                                  107   pinctrl-names:
108     minItems: 1                                   108     minItems: 1
109     items:                                        109     items:
110       - const: default                            110       - const: default
111       - const: sleep                              111       - const: sleep
112                                                   112 
113   pinctrl-0:                                      113   pinctrl-0:
114     description:                                  114     description:
115       Should specify pin control groups used f    115       Should specify pin control groups used for this controller.
116                                                   116 
117   pinctrl-1:                                      117   pinctrl-1:
118     description:                                  118     description:
119       Should specify sleep pin control groups     119       Should specify sleep pin control groups used for this controller.
120                                                   120 
121   resets:                                         121   resets:
122     maxItems: 1                                   122     maxItems: 1
123                                                   123 
124   qcom,ddr-config:                                124   qcom,ddr-config:
125     $ref: /schemas/types.yaml#/definitions/uin    125     $ref: /schemas/types.yaml#/definitions/uint32
126     description: platform specific settings fo    126     description: platform specific settings for DDR_CONFIG reg.
127                                                   127 
128   qcom,dll-config:                                128   qcom,dll-config:
129     $ref: /schemas/types.yaml#/definitions/uin    129     $ref: /schemas/types.yaml#/definitions/uint32
130     description: platform specific settings fo    130     description: platform specific settings for DLL_CONFIG reg.
131                                                   131 
132   iommus:                                         132   iommus:
133     minItems: 1                                   133     minItems: 1
134     maxItems: 8                                   134     maxItems: 8
135     description: |                                135     description: |
136       phandle to apps_smmu node with sid mask.    136       phandle to apps_smmu node with sid mask.
137                                                   137 
138   interconnects:                                  138   interconnects:
139     minItems: 1                                   139     minItems: 1
140     items:                                        140     items:
141       - description: data path, sdhc to ddr       141       - description: data path, sdhc to ddr
142       - description: config path, cpu to sdhc     142       - description: config path, cpu to sdhc
143                                                   143 
144   interconnect-names:                             144   interconnect-names:
145     minItems: 1                                   145     minItems: 1
146     items:                                        146     items:
147       - const: sdhc-ddr                           147       - const: sdhc-ddr
148       - const: cpu-sdhc                           148       - const: cpu-sdhc
149                                                   149 
150   power-domains:                                  150   power-domains:
151     description: A phandle to sdhci power doma    151     description: A phandle to sdhci power domain node
152     maxItems: 1                                   152     maxItems: 1
153                                                   153 
154   operating-points-v2: true                       154   operating-points-v2: true
155                                                   155 
156 patternProperties:                                156 patternProperties:
157   '^opp-table(-[a-z0-9]+)?$':                     157   '^opp-table(-[a-z0-9]+)?$':
158     if:                                           158     if:
159       properties:                                 159       properties:
160         compatible:                               160         compatible:
161           const: operating-points-v2              161           const: operating-points-v2
162     then:                                         162     then:
163       patternProperties:                          163       patternProperties:
164         '^opp-?[0-9]+$':                          164         '^opp-?[0-9]+$':
165           required:                               165           required:
166             - required-opps                       166             - required-opps
167                                                   167 
168 required:                                         168 required:
169   - compatible                                    169   - compatible
170   - reg                                           170   - reg
171   - clocks                                        171   - clocks
172   - clock-names                                   172   - clock-names
173   - interrupts                                    173   - interrupts
174                                                   174 
175 allOf:                                            175 allOf:
176   - $ref: sdhci-common.yaml#                      176   - $ref: sdhci-common.yaml#
177                                                   177 
178   - if:                                           178   - if:
179       properties:                                 179       properties:
180         compatible:                               180         compatible:
181           contains:                               181           contains:
182             enum:                                 182             enum:
183               - qcom,sdhci-msm-v4                 183               - qcom,sdhci-msm-v4
184     then:                                         184     then:
185       properties:                                 185       properties:
186         reg:                                      186         reg:
187           minItems: 2                             187           minItems: 2
188           items:                                  188           items:
189             - description: Host controller reg    189             - description: Host controller register map
190             - description: SD Core register ma    190             - description: SD Core register map
191             - description: CQE register map       191             - description: CQE register map
192             - description: Inline Crypto Engin    192             - description: Inline Crypto Engine register map
193         reg-names:                                193         reg-names:
194           minItems: 2                             194           minItems: 2
195           items:                                  195           items:
196             - const: hc                           196             - const: hc
197             - const: core                         197             - const: core
198             - const: cqhci                        198             - const: cqhci
199             - const: ice                          199             - const: ice
200     else:                                         200     else:
201       properties:                                 201       properties:
202         reg:                                      202         reg:
203           minItems: 1                             203           minItems: 1
204           items:                                  204           items:
205             - description: Host controller reg    205             - description: Host controller register map
206             - description: CQE register map       206             - description: CQE register map
207             - description: Inline Crypto Engin    207             - description: Inline Crypto Engine register map
208         reg-names:                                208         reg-names:
209           minItems: 1                             209           minItems: 1
210           items:                                  210           items:
211             - const: hc                           211             - const: hc
212             - const: cqhci                        212             - const: cqhci
213             - const: ice                          213             - const: ice
214                                                   214 
215 unevaluatedProperties: false                      215 unevaluatedProperties: false
216                                                   216 
217 examples:                                         217 examples:
218   - |                                             218   - |
219     #include <dt-bindings/interrupt-controller    219     #include <dt-bindings/interrupt-controller/arm-gic.h>
220     #include <dt-bindings/clock/qcom,gcc-sm825    220     #include <dt-bindings/clock/qcom,gcc-sm8250.h>
221     #include <dt-bindings/clock/qcom,rpmh.h>      221     #include <dt-bindings/clock/qcom,rpmh.h>
222     #include <dt-bindings/power/qcom,rpmhpd.h>    222     #include <dt-bindings/power/qcom,rpmhpd.h>
223                                                   223 
224     sdhc_2: mmc@8804000 {                         224     sdhc_2: mmc@8804000 {
225       compatible = "qcom,sm8250-sdhci", "qcom,    225       compatible = "qcom,sm8250-sdhci", "qcom,sdhci-msm-v5";
226       reg = <0 0x08804000 0 0x1000>;              226       reg = <0 0x08804000 0 0x1000>;
227                                                   227 
228       interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL    228       interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
229                    <GIC_SPI 222 IRQ_TYPE_LEVEL    229                    <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
230       interrupt-names = "hc_irq", "pwr_irq";      230       interrupt-names = "hc_irq", "pwr_irq";
231                                                   231 
232       clocks = <&gcc GCC_SDCC2_AHB_CLK>,          232       clocks = <&gcc GCC_SDCC2_AHB_CLK>,
233                <&gcc GCC_SDCC2_APPS_CLK>,         233                <&gcc GCC_SDCC2_APPS_CLK>,
234                <&rpmhcc RPMH_CXO_CLK>;            234                <&rpmhcc RPMH_CXO_CLK>;
235       clock-names = "iface", "core", "xo";        235       clock-names = "iface", "core", "xo";
236       iommus = <&apps_smmu 0x4a0 0x0>;            236       iommus = <&apps_smmu 0x4a0 0x0>;
237       qcom,dll-config = <0x0007642c>;             237       qcom,dll-config = <0x0007642c>;
238       qcom,ddr-config = <0x80040868>;             238       qcom,ddr-config = <0x80040868>;
239       power-domains = <&rpmhpd RPMHPD_CX>;        239       power-domains = <&rpmhpd RPMHPD_CX>;
240                                                   240 
241       operating-points-v2 = <&sdhc2_opp_table>    241       operating-points-v2 = <&sdhc2_opp_table>;
242                                                   242 
243       sdhc2_opp_table: opp-table {                243       sdhc2_opp_table: opp-table {
244         compatible = "operating-points-v2";       244         compatible = "operating-points-v2";
245                                                   245 
246         opp-19200000 {                            246         opp-19200000 {
247           opp-hz = /bits/ 64 <19200000>;          247           opp-hz = /bits/ 64 <19200000>;
248           required-opps = <&rpmhpd_opp_min_svs    248           required-opps = <&rpmhpd_opp_min_svs>;
249         };                                        249         };
250                                                   250 
251         opp-50000000 {                            251         opp-50000000 {
252           opp-hz = /bits/ 64 <50000000>;          252           opp-hz = /bits/ 64 <50000000>;
253           required-opps = <&rpmhpd_opp_low_svs    253           required-opps = <&rpmhpd_opp_low_svs>;
254         };                                        254         };
255                                                   255 
256         opp-100000000 {                           256         opp-100000000 {
257           opp-hz = /bits/ 64 <100000000>;         257           opp-hz = /bits/ 64 <100000000>;
258           required-opps = <&rpmhpd_opp_svs>;      258           required-opps = <&rpmhpd_opp_svs>;
259         };                                        259         };
260                                                   260 
261         opp-202000000 {                           261         opp-202000000 {
262           opp-hz = /bits/ 64 <202000000>;         262           opp-hz = /bits/ 64 <202000000>;
263           required-opps = <&rpmhpd_opp_svs_l1>    263           required-opps = <&rpmhpd_opp_svs_l1>;
264         };                                        264         };
265       };                                          265       };
266     };                                            266     };
                                                      

~ [ 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