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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/dma/qcom,gpi.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/dma/qcom,gpi.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/dma/qcom,gpi.yaml (Version linux-6.10.14)


  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/dma/qcom,gp      4 $id: http://devicetree.org/schemas/dma/qcom,gpi.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Qualcomm Technologies Inc GPI DMA contr      7 title: Qualcomm Technologies Inc GPI DMA controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Vinod Koul <vkoul@kernel.org>                   10   - Vinod Koul <vkoul@kernel.org>
 11                                                    11 
 12 description: |                                     12 description: |
 13   QCOM GPI DMA controller provides DMA capabil     13   QCOM GPI DMA controller provides DMA capabilities for
 14   peripheral buses such as I2C, UART, and SPI.     14   peripheral buses such as I2C, UART, and SPI.
 15                                                    15 
 16 allOf:                                             16 allOf:
 17   - $ref: dma-controller.yaml#                     17   - $ref: dma-controller.yaml#
 18                                                    18 
 19 properties:                                        19 properties:
 20   compatible:                                      20   compatible:
 21     oneOf:                                         21     oneOf:
 22       - enum:                                      22       - enum:
 23           - qcom,sdm845-gpi-dma                    23           - qcom,sdm845-gpi-dma
 24           - qcom,sm6350-gpi-dma                    24           - qcom,sm6350-gpi-dma
 25       - items:                                     25       - items:
 26           - enum:                                  26           - enum:
 27               - qcom,qcm2290-gpi-dma               27               - qcom,qcm2290-gpi-dma
 28               - qcom,qdu1000-gpi-dma               28               - qcom,qdu1000-gpi-dma
 29               - qcom,sc7280-gpi-dma                29               - qcom,sc7280-gpi-dma
 30               - qcom,sdx75-gpi-dma             << 
 31               - qcom,sm6115-gpi-dma                30               - qcom,sm6115-gpi-dma
 32               - qcom,sm6375-gpi-dma                31               - qcom,sm6375-gpi-dma
 33               - qcom,sm8350-gpi-dma                32               - qcom,sm8350-gpi-dma
 34               - qcom,sm8450-gpi-dma                33               - qcom,sm8450-gpi-dma
 35               - qcom,sm8550-gpi-dma                34               - qcom,sm8550-gpi-dma
 36               - qcom,sm8650-gpi-dma                35               - qcom,sm8650-gpi-dma
 37               - qcom,x1e80100-gpi-dma              36               - qcom,x1e80100-gpi-dma
 38           - const: qcom,sm6350-gpi-dma             37           - const: qcom,sm6350-gpi-dma
 39       - items:                                     38       - items:
 40           - enum:                                  39           - enum:
 41               - qcom,sdm670-gpi-dma                40               - qcom,sdm670-gpi-dma
 42               - qcom,sm6125-gpi-dma                41               - qcom,sm6125-gpi-dma
 43               - qcom,sm8150-gpi-dma                42               - qcom,sm8150-gpi-dma
 44               - qcom,sm8250-gpi-dma                43               - qcom,sm8250-gpi-dma
 45           - const: qcom,sdm845-gpi-dma             44           - const: qcom,sdm845-gpi-dma
 46                                                    45 
 47   reg:                                             46   reg:
 48     maxItems: 1                                    47     maxItems: 1
 49                                                    48 
 50   interrupts:                                      49   interrupts:
 51     description:                                   50     description:
 52       Interrupt lines for each GPI instance        51       Interrupt lines for each GPI instance
 53     minItems: 1                                    52     minItems: 1
 54     maxItems: 13                                   53     maxItems: 13
 55                                                    54 
 56   "#dma-cells":                                    55   "#dma-cells":
 57     const: 3                                       56     const: 3
 58     description: >                                 57     description: >
 59       DMA clients must use the format describe     58       DMA clients must use the format described in dma.txt, giving a phandle
 60       to the DMA controller plus the following     59       to the DMA controller plus the following 3 integer cells:
 61       - channel: if set to 0xffffffff, any ava     60       - channel: if set to 0xffffffff, any available channel will be allocated
 62         for the client. Otherwise, the exact c     61         for the client. Otherwise, the exact channel specified will be used.
 63       - seid: serial id of the client as defin     62       - seid: serial id of the client as defined in the SoC documentation.
 64       - client: type of the client as defined      63       - client: type of the client as defined in dt-bindings/dma/qcom-gpi.h
 65                                                    64 
 66   iommus:                                          65   iommus:
 67     maxItems: 1                                    66     maxItems: 1
 68                                                    67 
 69   dma-channels:                                    68   dma-channels:
 70     maximum: 31                                    69     maximum: 31
 71                                                    70 
 72   dma-channel-mask:                                71   dma-channel-mask:
 73     maxItems: 1                                    72     maxItems: 1
 74                                                    73 
 75   dma-coherent: true                               74   dma-coherent: true
 76                                                    75 
 77 required:                                          76 required:
 78   - compatible                                     77   - compatible
 79   - reg                                            78   - reg
 80   - interrupts                                     79   - interrupts
 81   - "#dma-cells"                                   80   - "#dma-cells"
 82   - iommus                                         81   - iommus
 83   - dma-channels                                   82   - dma-channels
 84   - dma-channel-mask                               83   - dma-channel-mask
 85                                                    84 
 86 additionalProperties: false                        85 additionalProperties: false
 87                                                    86 
 88 examples:                                          87 examples:
 89   - |                                              88   - |
 90     #include <dt-bindings/interrupt-controller     89     #include <dt-bindings/interrupt-controller/arm-gic.h>
 91     #include <dt-bindings/dma/qcom-gpi.h>          90     #include <dt-bindings/dma/qcom-gpi.h>
 92     gpi_dma0: dma-controller@800000 {              91     gpi_dma0: dma-controller@800000 {
 93         compatible = "qcom,sdm845-gpi-dma";        92         compatible = "qcom,sdm845-gpi-dma";
 94         #dma-cells = <3>;                          93         #dma-cells = <3>;
 95         reg = <0x00800000 0x60000>;                94         reg = <0x00800000 0x60000>;
 96         iommus = <&apps_smmu 0x0016 0x0>;          95         iommus = <&apps_smmu 0x0016 0x0>;
 97         dma-channels = <13>;                       96         dma-channels = <13>;
 98         dma-channel-mask = <0xfa>;                 97         dma-channel-mask = <0xfa>;
 99         interrupts = <GIC_SPI 244 IRQ_TYPE_LEV     98         interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
100                      <GIC_SPI 245 IRQ_TYPE_LEV     99                      <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
101                      <GIC_SPI 246 IRQ_TYPE_LEV    100                      <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
102                      <GIC_SPI 247 IRQ_TYPE_LEV    101                      <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
103                      <GIC_SPI 248 IRQ_TYPE_LEV    102                      <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
104                      <GIC_SPI 249 IRQ_TYPE_LEV    103                      <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
105                      <GIC_SPI 250 IRQ_TYPE_LEV    104                      <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
106                      <GIC_SPI 251 IRQ_TYPE_LEV    105                      <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
107                      <GIC_SPI 252 IRQ_TYPE_LEV    106                      <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
108                      <GIC_SPI 253 IRQ_TYPE_LEV    107                      <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
109                      <GIC_SPI 254 IRQ_TYPE_LEV    108                      <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
110                      <GIC_SPI 255 IRQ_TYPE_LEV    109                      <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
111                      <GIC_SPI 256 IRQ_TYPE_LEV    110                      <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
112     };                                            111     };
113                                                   112 
114 ...                                               113 ...
                                                      

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