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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/spi/fsl-imx-cspi.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/fsl-imx-cspi.yaml (Architecture i386) and /Documentation/devicetree/bindings/spi/fsl-imx-cspi.yaml (Architecture sparc64)


  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/spi/fsl-imx      4 $id: http://devicetree.org/schemas/spi/fsl-imx-cspi.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Freescale (Enhanced) Configurable Seria      7 title: Freescale (Enhanced) Configurable Serial Peripheral Interface (CSPI/eCSPI) for i.MX
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Shawn Guo <shawnguo@kernel.org>                 10   - Shawn Guo <shawnguo@kernel.org>
 11                                                    11 
 12 allOf:                                             12 allOf:
 13   - $ref: /schemas/spi/spi-controller.yaml#        13   - $ref: /schemas/spi/spi-controller.yaml#
 14                                                    14 
 15 properties:                                        15 properties:
 16   compatible:                                      16   compatible:
 17     oneOf:                                         17     oneOf:
 18       - const: fsl,imx1-cspi                       18       - const: fsl,imx1-cspi
 19       - const: fsl,imx21-cspi                      19       - const: fsl,imx21-cspi
 20       - const: fsl,imx27-cspi                      20       - const: fsl,imx27-cspi
 21       - const: fsl,imx31-cspi                      21       - const: fsl,imx31-cspi
 22       - const: fsl,imx35-cspi                      22       - const: fsl,imx35-cspi
 23       - const: fsl,imx51-ecspi                     23       - const: fsl,imx51-ecspi
 24       - const: fsl,imx53-ecspi                     24       - const: fsl,imx53-ecspi
 25       - items:                                     25       - items:
 26           - enum:                                  26           - enum:
 27               - fsl,imx25-cspi                     27               - fsl,imx25-cspi
 28               - fsl,imx50-cspi                     28               - fsl,imx50-cspi
 29               - fsl,imx51-cspi                     29               - fsl,imx51-cspi
 30               - fsl,imx53-cspi                     30               - fsl,imx53-cspi
 31           - const: fsl,imx35-cspi                  31           - const: fsl,imx35-cspi
 32       - items:                                     32       - items:
 33           - const: fsl,imx8mp-ecspi                33           - const: fsl,imx8mp-ecspi
 34           - const: fsl,imx6ul-ecspi                34           - const: fsl,imx6ul-ecspi
 35       - items:                                     35       - items:
 36           - enum:                                  36           - enum:
 37               - fsl,imx50-ecspi                    37               - fsl,imx50-ecspi
 38               - fsl,imx6q-ecspi                    38               - fsl,imx6q-ecspi
 39               - fsl,imx6sx-ecspi                   39               - fsl,imx6sx-ecspi
 40               - fsl,imx6sl-ecspi                   40               - fsl,imx6sl-ecspi
 41               - fsl,imx6sll-ecspi                  41               - fsl,imx6sll-ecspi
 42               - fsl,imx6ul-ecspi                   42               - fsl,imx6ul-ecspi
 43               - fsl,imx7d-ecspi                    43               - fsl,imx7d-ecspi
 44               - fsl,imx8mq-ecspi                   44               - fsl,imx8mq-ecspi
 45               - fsl,imx8mm-ecspi                   45               - fsl,imx8mm-ecspi
 46               - fsl,imx8mn-ecspi                   46               - fsl,imx8mn-ecspi
 47           - const: fsl,imx51-ecspi                 47           - const: fsl,imx51-ecspi
 48                                                    48 
 49   reg:                                             49   reg:
 50     maxItems: 1                                    50     maxItems: 1
 51                                                    51 
 52   interrupts:                                      52   interrupts:
 53     maxItems: 1                                    53     maxItems: 1
 54                                                    54 
 55   clocks:                                          55   clocks:
 56     items:                                         56     items:
 57       - description: SoC SPI ipg clock             57       - description: SoC SPI ipg clock
 58       - description: SoC SPI per clock             58       - description: SoC SPI per clock
 59                                                    59 
 60   clock-names:                                     60   clock-names:
 61     items:                                         61     items:
 62       - const: ipg                                 62       - const: ipg
 63       - const: per                                 63       - const: per
 64                                                    64 
 65   dmas:                                            65   dmas:
 66     items:                                         66     items:
 67       - description: DMA controller phandle an     67       - description: DMA controller phandle and request line for RX
 68       - description: DMA controller phandle an     68       - description: DMA controller phandle and request line for TX
 69                                                    69 
 70   dma-names:                                       70   dma-names:
 71     items:                                         71     items:
 72       - const: rx                                  72       - const: rx
 73       - const: tx                                  73       - const: tx
 74                                                    74 
 75   fsl,spi-rdy-drctl:                               75   fsl,spi-rdy-drctl:
 76     $ref: /schemas/types.yaml#/definitions/uin     76     $ref: /schemas/types.yaml#/definitions/uint32
 77     description: |                                 77     description: |
 78       Integer, representing the value of DRCTL     78       Integer, representing the value of DRCTL, the register controlling
 79       the SPI_READY handling. Note that to ena     79       the SPI_READY handling. Note that to enable the DRCTL consideration,
 80       the SPI_READY mode-flag needs to be set      80       the SPI_READY mode-flag needs to be set too.
 81       Valid values are: 0 (disabled), 1 (edge-     81       Valid values are: 0 (disabled), 1 (edge-triggered burst) and 2 (level-triggered burst).
 82     enum: [0, 1, 2]                                82     enum: [0, 1, 2]
 83                                                    83 
 84 required:                                          84 required:
 85   - compatible                                     85   - compatible
 86   - reg                                            86   - reg
 87   - interrupts                                     87   - interrupts
 88   - clocks                                         88   - clocks
 89   - clock-names                                    89   - clock-names
 90                                                    90 
 91 unevaluatedProperties: false                       91 unevaluatedProperties: false
 92                                                    92 
 93 examples:                                          93 examples:
 94   - |                                              94   - |
 95     #include <dt-bindings/clock/imx5-clock.h>      95     #include <dt-bindings/clock/imx5-clock.h>
 96                                                    96 
 97     spi@70010000 {                                 97     spi@70010000 {
 98         #address-cells = <1>;                      98         #address-cells = <1>;
 99         #size-cells = <0>;                         99         #size-cells = <0>;
100         compatible = "fsl,imx51-ecspi";           100         compatible = "fsl,imx51-ecspi";
101         reg = <0x70010000 0x4000>;                101         reg = <0x70010000 0x4000>;
102         interrupts = <36>;                        102         interrupts = <36>;
103         clocks = <&clks IMX5_CLK_ECSPI1_IPG_GA    103         clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>,
104                  <&clks IMX5_CLK_ECSPI1_PER_GA    104                  <&clks IMX5_CLK_ECSPI1_PER_GATE>;
105         clock-names = "ipg", "per";               105         clock-names = "ipg", "per";
106     };                                            106     };
                                                      

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