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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/crypto/qcom-qce.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/crypto/qcom-qce.yaml (Architecture sparc64) and /Documentation/devicetree/bindings/crypto/qcom-qce.yaml (Architecture m68k)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/crypto/qcom      4 $id: http://devicetree.org/schemas/crypto/qcom-qce.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Qualcomm crypto engine driver                7 title: Qualcomm crypto engine driver
  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   This document defines the binding for the QC     13   This document defines the binding for the QCE crypto
 14   controller found on Qualcomm parts.              14   controller found on Qualcomm parts.
 15                                                    15 
 16 properties:                                        16 properties:
 17   compatible:                                      17   compatible:
 18     oneOf:                                         18     oneOf:
 19       - const: qcom,crypto-v5.1                    19       - const: qcom,crypto-v5.1
 20         deprecated: true                           20         deprecated: true
 21         description: Kept only for ABI backwar     21         description: Kept only for ABI backward compatibility
 22                                                    22 
 23       - const: qcom,crypto-v5.4                    23       - const: qcom,crypto-v5.4
 24         deprecated: true                           24         deprecated: true
 25         description: Kept only for ABI backwar     25         description: Kept only for ABI backward compatibility
 26                                                    26 
 27       - items:                                     27       - items:
 28           - enum:                                  28           - enum:
 29               - qcom,ipq4019-qce                   29               - qcom,ipq4019-qce
 30               - qcom,sm8150-qce                    30               - qcom,sm8150-qce
 31           - const: qcom,qce                        31           - const: qcom,qce
 32                                                    32 
 33       - items:                                     33       - items:
 34           - enum:                                  34           - enum:
 35               - qcom,ipq6018-qce                   35               - qcom,ipq6018-qce
 36               - qcom,ipq8074-qce                   36               - qcom,ipq8074-qce
 37               - qcom,ipq9574-qce                   37               - qcom,ipq9574-qce
 38               - qcom,msm8996-qce                   38               - qcom,msm8996-qce
 39               - qcom,qcm2290-qce                   39               - qcom,qcm2290-qce
 40               - qcom,sdm845-qce                    40               - qcom,sdm845-qce
 41               - qcom,sm6115-qce                    41               - qcom,sm6115-qce
 42           - const: qcom,ipq4019-qce                42           - const: qcom,ipq4019-qce
 43           - const: qcom,qce                        43           - const: qcom,qce
 44                                                    44 
 45       - items:                                     45       - items:
 46           - enum:                                  46           - enum:
 47               - qcom,sc7280-qce                    47               - qcom,sc7280-qce
 48               - qcom,sm6350-qce                    48               - qcom,sm6350-qce
 49               - qcom,sm8250-qce                    49               - qcom,sm8250-qce
 50               - qcom,sm8350-qce                    50               - qcom,sm8350-qce
 51               - qcom,sm8450-qce                    51               - qcom,sm8450-qce
 52               - qcom,sm8550-qce                    52               - qcom,sm8550-qce
 53               - qcom,sm8650-qce                    53               - qcom,sm8650-qce
 54           - const: qcom,sm8150-qce                 54           - const: qcom,sm8150-qce
 55           - const: qcom,qce                        55           - const: qcom,qce
 56                                                    56 
 57   reg:                                             57   reg:
 58     maxItems: 1                                    58     maxItems: 1
 59                                                    59 
 60   clocks:                                          60   clocks:
 61     minItems: 1                                    61     minItems: 1
 62     maxItems: 3                                    62     maxItems: 3
 63                                                    63 
 64   clock-names:                                     64   clock-names:
 65     minItems: 1                                    65     minItems: 1
 66     maxItems: 3                                    66     maxItems: 3
 67                                                    67 
 68   iommus:                                          68   iommus:
 69     minItems: 1                                    69     minItems: 1
 70     maxItems: 8                                    70     maxItems: 8
 71     description:                                   71     description:
 72       phandle to apps_smmu node with sid mask.     72       phandle to apps_smmu node with sid mask.
 73                                                    73 
 74   interconnects:                                   74   interconnects:
 75     maxItems: 1                                    75     maxItems: 1
 76     description:                                   76     description:
 77       Interconnect path between qce crypto and     77       Interconnect path between qce crypto and main memory.
 78                                                    78 
 79   interconnect-names:                              79   interconnect-names:
 80     const: memory                                  80     const: memory
 81                                                    81 
 82   dmas:                                            82   dmas:
 83     items:                                         83     items:
 84       - description: DMA specifiers for rx dma     84       - description: DMA specifiers for rx dma channel.
 85       - description: DMA specifiers for tx dma     85       - description: DMA specifiers for tx dma channel.
 86                                                    86 
 87   dma-names:                                       87   dma-names:
 88     items:                                         88     items:
 89       - const: rx                                  89       - const: rx
 90       - const: tx                                  90       - const: tx
 91                                                    91 
 92 allOf:                                             92 allOf:
 93   - if:                                            93   - if:
 94       properties:                                  94       properties:
 95         compatible:                                95         compatible:
 96           contains:                                96           contains:
 97             enum:                                  97             enum:
 98               - qcom,crypto-v5.1                   98               - qcom,crypto-v5.1
 99               - qcom,crypto-v5.4                   99               - qcom,crypto-v5.4
100               - qcom,ipq6018-qce                  100               - qcom,ipq6018-qce
101               - qcom,ipq8074-qce                  101               - qcom,ipq8074-qce
102               - qcom,ipq9574-qce                  102               - qcom,ipq9574-qce
103               - qcom,msm8996-qce                  103               - qcom,msm8996-qce
104               - qcom,sdm845-qce                   104               - qcom,sdm845-qce
105     then:                                         105     then:
106       properties:                                 106       properties:
107         clocks:                                   107         clocks:
108           maxItems: 3                             108           maxItems: 3
109         clock-names:                              109         clock-names:
110           items:                                  110           items:
111             - const: iface                        111             - const: iface
112             - const: bus                          112             - const: bus
113             - const: core                         113             - const: core
114       required:                                   114       required:
115         - clocks                                  115         - clocks
116         - clock-names                             116         - clock-names
117                                                   117 
118   - if:                                           118   - if:
119       properties:                                 119       properties:
120         compatible:                               120         compatible:
121           contains:                               121           contains:
122             enum:                                 122             enum:
123               - qcom,qcm2290-qce                  123               - qcom,qcm2290-qce
124               - qcom,sm6115-qce                   124               - qcom,sm6115-qce
125     then:                                         125     then:
126       properties:                                 126       properties:
127         clocks:                                   127         clocks:
128           maxItems: 1                             128           maxItems: 1
129         clock-names:                              129         clock-names:
130           items:                                  130           items:
131             - const: core                         131             - const: core
132       required:                                   132       required:
133         - clocks                                  133         - clocks
134         - clock-names                             134         - clock-names
135                                                   135 
136   - if:                                           136   - if:
137       properties:                                 137       properties:
138         compatible:                               138         compatible:
139           contains:                               139           contains:
140             enum:                                 140             enum:
141               - qcom,sm8150-qce                   141               - qcom,sm8150-qce
142     then:                                         142     then:
143       properties:                                 143       properties:
144         clocks: false                             144         clocks: false
145         clock-names: false                        145         clock-names: false
146                                                   146 
147 required:                                         147 required:
148   - compatible                                    148   - compatible
149   - reg                                           149   - reg
150   - dmas                                          150   - dmas
151   - dma-names                                     151   - dma-names
152                                                   152 
153 additionalProperties: false                       153 additionalProperties: false
154                                                   154 
155 examples:                                         155 examples:
156   - |                                             156   - |
157     #include <dt-bindings/clock/qcom,gcc-apq80    157     #include <dt-bindings/clock/qcom,gcc-apq8084.h>
158     crypto-engine@fd45a000 {                      158     crypto-engine@fd45a000 {
159         compatible = "qcom,ipq6018-qce", "qcom    159         compatible = "qcom,ipq6018-qce", "qcom,ipq4019-qce", "qcom,qce";
160         reg = <0xfd45a000 0x6000>;                160         reg = <0xfd45a000 0x6000>;
161         clocks = <&gcc GCC_CE2_AHB_CLK>,          161         clocks = <&gcc GCC_CE2_AHB_CLK>,
162                  <&gcc GCC_CE2_AXI_CLK>,          162                  <&gcc GCC_CE2_AXI_CLK>,
163                  <&gcc GCC_CE2_CLK>;              163                  <&gcc GCC_CE2_CLK>;
164         clock-names = "iface", "bus", "core";     164         clock-names = "iface", "bus", "core";
165         dmas = <&cryptobam 2>, <&cryptobam 3>;    165         dmas = <&cryptobam 2>, <&cryptobam 3>;
166         dma-names = "rx", "tx";                   166         dma-names = "rx", "tx";
167         iommus = <&apps_smmu 0x584 0x0011>,       167         iommus = <&apps_smmu 0x584 0x0011>,
168                  <&apps_smmu 0x586 0x0011>,       168                  <&apps_smmu 0x586 0x0011>,
169                  <&apps_smmu 0x594 0x0011>,       169                  <&apps_smmu 0x594 0x0011>,
170                  <&apps_smmu 0x596 0x0011>;       170                  <&apps_smmu 0x596 0x0011>;
171     };                                            171     };
                                                      

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