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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/spi/spi-rockchip.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/spi-rockchip.yaml (Architecture mips) and /Documentation/devicetree/bindings/spi/spi-rockchip.yaml (Architecture ppc)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/spi/spi-roc      4 $id: http://devicetree.org/schemas/spi/spi-rockchip.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Rockchip SPI Controller                      7 title: Rockchip SPI Controller
  8                                                     8 
  9 description:                                        9 description:
 10   The Rockchip SPI controller is used to inter     10   The Rockchip SPI controller is used to interface with various devices such
 11   as flash and display controllers using the S     11   as flash and display controllers using the SPI communication interface.
 12                                                    12 
 13 allOf:                                             13 allOf:
 14   - $ref: spi-controller.yaml#                     14   - $ref: spi-controller.yaml#
 15                                                    15 
 16 maintainers:                                       16 maintainers:
 17   - Heiko Stuebner <heiko@sntech.de>                17   - Heiko Stuebner <heiko@sntech.de>
 18                                                    18 
 19 # Everything else is described in the common f     19 # Everything else is described in the common file
 20 properties:                                        20 properties:
 21   compatible:                                      21   compatible:
 22     oneOf:                                         22     oneOf:
 23       - const: rockchip,rk3036-spi                 23       - const: rockchip,rk3036-spi
 24       - const: rockchip,rk3066-spi                 24       - const: rockchip,rk3066-spi
 25       - const: rockchip,rk3228-spi                 25       - const: rockchip,rk3228-spi
 26       - const: rockchip,rv1108-spi                 26       - const: rockchip,rv1108-spi
 27       - items:                                     27       - items:
 28           - enum:                                  28           - enum:
 29               - rockchip,px30-spi                  29               - rockchip,px30-spi
 30               - rockchip,rk3128-spi                30               - rockchip,rk3128-spi
 31               - rockchip,rk3188-spi                31               - rockchip,rk3188-spi
 32               - rockchip,rk3288-spi                32               - rockchip,rk3288-spi
 33               - rockchip,rk3308-spi                33               - rockchip,rk3308-spi
 34               - rockchip,rk3328-spi                34               - rockchip,rk3328-spi
 35               - rockchip,rk3368-spi                35               - rockchip,rk3368-spi
 36               - rockchip,rk3399-spi                36               - rockchip,rk3399-spi
 37               - rockchip,rk3568-spi                37               - rockchip,rk3568-spi
 38               - rockchip,rk3576-spi                38               - rockchip,rk3576-spi
 39               - rockchip,rk3588-spi                39               - rockchip,rk3588-spi
 40               - rockchip,rv1126-spi                40               - rockchip,rv1126-spi
 41           - const: rockchip,rk3066-spi             41           - const: rockchip,rk3066-spi
 42                                                    42 
 43   reg:                                             43   reg:
 44     maxItems: 1                                    44     maxItems: 1
 45                                                    45 
 46   interrupts:                                      46   interrupts:
 47     maxItems: 1                                    47     maxItems: 1
 48                                                    48 
 49   clocks:                                          49   clocks:
 50     items:                                         50     items:
 51       - description: transfer-clock                51       - description: transfer-clock
 52       - description: peripheral clock              52       - description: peripheral clock
 53                                                    53 
 54   clock-names:                                     54   clock-names:
 55     items:                                         55     items:
 56       - const: spiclk                              56       - const: spiclk
 57       - const: apb_pclk                            57       - const: apb_pclk
 58                                                    58 
 59   dmas:                                            59   dmas:
 60     items:                                         60     items:
 61       - description: TX DMA Channel                61       - description: TX DMA Channel
 62       - description: RX DMA Channel                62       - description: RX DMA Channel
 63                                                    63 
 64   dma-names:                                       64   dma-names:
 65     items:                                         65     items:
 66       - const: tx                                  66       - const: tx
 67       - const: rx                                  67       - const: rx
 68                                                    68 
 69   rx-sample-delay-ns:                              69   rx-sample-delay-ns:
 70     default: 0                                     70     default: 0
 71     description:                                   71     description:
 72       Nano seconds to delay after the SCLK edg     72       Nano seconds to delay after the SCLK edge before sampling Rx data
 73       (may need to be fine tuned for high capa     73       (may need to be fine tuned for high capacitance lines).
 74       If not specified 0 will be used.             74       If not specified 0 will be used.
 75                                                    75 
 76   pinctrl-names:                                   76   pinctrl-names:
 77     minItems: 1                                    77     minItems: 1
 78     items:                                         78     items:
 79       - const: default                             79       - const: default
 80       - const: sleep                               80       - const: sleep
 81     description:                                   81     description:
 82       Names for the pin configuration(s); may      82       Names for the pin configuration(s); may be "default" or "sleep",
 83       where the "sleep" configuration may desc     83       where the "sleep" configuration may describe the state
 84       the pins should be in during system susp     84       the pins should be in during system suspend.
 85                                                    85 
 86   power-domains:                                   86   power-domains:
 87     maxItems: 1                                    87     maxItems: 1
 88                                                    88 
 89 required:                                          89 required:
 90   - compatible                                     90   - compatible
 91   - reg                                            91   - reg
 92   - interrupts                                     92   - interrupts
 93   - clocks                                         93   - clocks
 94   - clock-names                                    94   - clock-names
 95                                                    95 
 96 unevaluatedProperties: false                       96 unevaluatedProperties: false
 97                                                    97 
 98 examples:                                          98 examples:
 99   - |                                              99   - |
100     #include <dt-bindings/clock/rk3188-cru-com    100     #include <dt-bindings/clock/rk3188-cru-common.h>
101     #include <dt-bindings/interrupt-controller    101     #include <dt-bindings/interrupt-controller/arm-gic.h>
102     #include <dt-bindings/interrupt-controller    102     #include <dt-bindings/interrupt-controller/irq.h>
103     spi0: spi@ff110000 {                          103     spi0: spi@ff110000 {
104       compatible = "rockchip,rk3066-spi";         104       compatible = "rockchip,rk3066-spi";
105       reg = <0xff110000 0x1000>;                  105       reg = <0xff110000 0x1000>;
106       interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_    106       interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
107       clocks = <&cru SCLK_SPI0>, <&cru PCLK_SP    107       clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
108       clock-names = "spiclk", "apb_pclk";         108       clock-names = "spiclk", "apb_pclk";
109       dmas = <&pdma1 11>, <&pdma1 12>;            109       dmas = <&pdma1 11>, <&pdma1 12>;
110       dma-names = "tx", "rx";                     110       dma-names = "tx", "rx";
111       pinctrl-0 = <&spi1_pins>;                   111       pinctrl-0 = <&spi1_pins>;
112       pinctrl-1 = <&spi1_sleep>;                  112       pinctrl-1 = <&spi1_sleep>;
113       pinctrl-names = "default", "sleep";         113       pinctrl-names = "default", "sleep";
114       rx-sample-delay-ns = <10>;                  114       rx-sample-delay-ns = <10>;
115       #address-cells = <1>;                       115       #address-cells = <1>;
116       #size-cells = <0>;                          116       #size-cells = <0>;
117     };                                            117     };
                                                      

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