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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.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/spi/qcom,spi-qcom-qspi.yaml (Architecture i386) and /Documentation/devicetree/bindings/spi/qcom,spi-qcom-qspi.yaml (Architecture m68k)


  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/spi/qcom,sp      4 $id: http://devicetree.org/schemas/spi/qcom,spi-qcom-qspi.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Qualcomm Quad Serial Peripheral Interfa      7 title: Qualcomm Quad Serial Peripheral Interface (QSPI)
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Bjorn Andersson <bjorn.andersson@linaro.org     10   - Bjorn Andersson <bjorn.andersson@linaro.org>
 11                                                    11 
 12 description: The QSPI controller allows SPI pr     12 description: The QSPI controller allows SPI protocol communication in single,
 13   dual, or quad wire transmission modes for re     13   dual, or quad wire transmission modes for read/write access to slaves such
 14   as NOR flash.                                    14   as NOR flash.
 15                                                    15 
 16 allOf:                                             16 allOf:
 17   - $ref: /schemas/spi/spi-controller.yaml#        17   - $ref: /schemas/spi/spi-controller.yaml#
 18                                                    18 
 19 properties:                                        19 properties:
 20   compatible:                                      20   compatible:
 21     items:                                         21     items:
 22       - enum:                                      22       - enum:
 23           - qcom,sc7180-qspi                       23           - qcom,sc7180-qspi
 24           - qcom,sc7280-qspi                       24           - qcom,sc7280-qspi
 25           - qcom,sdm845-qspi                       25           - qcom,sdm845-qspi
 26                                                    26 
 27       - const: qcom,qspi-v1                        27       - const: qcom,qspi-v1
 28                                                    28 
 29   reg:                                             29   reg:
 30     maxItems: 1                                    30     maxItems: 1
 31                                                    31 
 32   iommus:                                          32   iommus:
 33     maxItems: 1                                    33     maxItems: 1
 34                                                    34 
 35   interrupts:                                      35   interrupts:
 36     maxItems: 1                                    36     maxItems: 1
 37                                                    37 
 38   clock-names:                                     38   clock-names:
 39     items:                                         39     items:
 40       - const: iface                               40       - const: iface
 41       - const: core                                41       - const: core
 42                                                    42 
 43   clocks:                                          43   clocks:
 44     items:                                         44     items:
 45       - description: AHB clock                     45       - description: AHB clock
 46       - description: QSPI core clock               46       - description: QSPI core clock
 47                                                    47 
 48   interconnects:                                   48   interconnects:
 49     minItems: 1                                    49     minItems: 1
 50     maxItems: 2                                    50     maxItems: 2
 51                                                    51 
 52   interconnect-names:                              52   interconnect-names:
 53     minItems: 1                                    53     minItems: 1
 54     items:                                         54     items:
 55       - const: qspi-config                         55       - const: qspi-config
 56       - const: qspi-memory                         56       - const: qspi-memory
 57                                                    57 
 58   operating-points-v2: true                        58   operating-points-v2: true
 59                                                    59 
 60   power-domains:                                   60   power-domains:
 61     maxItems: 1                                    61     maxItems: 1
 62                                                    62 
 63 required:                                          63 required:
 64   - compatible                                     64   - compatible
 65   - reg                                            65   - reg
 66   - interrupts                                     66   - interrupts
 67   - clock-names                                    67   - clock-names
 68   - clocks                                         68   - clocks
 69                                                    69 
 70 unevaluatedProperties: false                       70 unevaluatedProperties: false
 71                                                    71 
 72 examples:                                          72 examples:
 73   - |                                              73   - |
 74     #include <dt-bindings/clock/qcom,gcc-sdm84     74     #include <dt-bindings/clock/qcom,gcc-sdm845.h>
 75     #include <dt-bindings/interrupt-controller     75     #include <dt-bindings/interrupt-controller/arm-gic.h>
 76                                                    76 
 77     soc: soc {                                     77     soc: soc {
 78         #address-cells = <2>;                      78         #address-cells = <2>;
 79         #size-cells = <2>;                         79         #size-cells = <2>;
 80                                                    80 
 81         qspi: spi@88df000 {                        81         qspi: spi@88df000 {
 82             compatible = "qcom,sdm845-qspi", "     82             compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
 83             reg = <0 0x88df000 0 0x600>;           83             reg = <0 0x88df000 0 0x600>;
 84             #address-cells = <1>;                  84             #address-cells = <1>;
 85             #size-cells = <0>;                     85             #size-cells = <0>;
 86             interrupts = <GIC_SPI 82 IRQ_TYPE_     86             interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
 87             clock-names = "iface", "core";         87             clock-names = "iface", "core";
 88             clocks = <&gcc GCC_QSPI_CNOC_PERIP     88             clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
 89                          <&gcc GCC_QSPI_CORE_C     89                          <&gcc GCC_QSPI_CORE_CLK>;
 90                                                    90 
 91             flash@0 {                              91             flash@0 {
 92                 compatible = "jedec,spi-nor";      92                 compatible = "jedec,spi-nor";
 93                 reg = <0>;                         93                 reg = <0>;
 94                 spi-max-frequency = <25000000>     94                 spi-max-frequency = <25000000>;
 95                 spi-tx-bus-width = <2>;            95                 spi-tx-bus-width = <2>;
 96                 spi-rx-bus-width = <2>;            96                 spi-rx-bus-width = <2>;
 97             };                                     97             };
 98         };                                         98         };
 99     };                                             99     };
100 ...                                               100 ...
                                                      

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