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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/spi/brcm,bcm63xx-hsspi.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/brcm,bcm63xx-hsspi.yaml (Architecture i386) and /Documentation/devicetree/bindings/spi/brcm,bcm63xx-hsspi.yaml (Architecture ppc)


  1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Cl      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/brcm,bc      4 $id: http://devicetree.org/schemas/spi/brcm,bcm63xx-hsspi.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Broadcom Broadband SoC High Speed SPI c      7 title: Broadcom Broadband SoC High Speed SPI controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - William Zhang <william.zhang@broadcom.com>      10   - William Zhang <william.zhang@broadcom.com>
 11   - Kursad Oney <kursad.oney@broadcom.com>          11   - Kursad Oney <kursad.oney@broadcom.com>
 12   - Jonas Gorski <jonas.gorski@gmail.com>           12   - Jonas Gorski <jonas.gorski@gmail.com>
 13                                                    13 
 14 description: |                                     14 description: |
 15   Broadcom Broadband SoC supports High Speed S     15   Broadcom Broadband SoC supports High Speed SPI master controller since the
 16   early MIPS based chips such as BCM6328 and B     16   early MIPS based chips such as BCM6328 and BCM63268.  This initial rev 1.0
 17   controller was carried over to recent ARM ba     17   controller was carried over to recent ARM based chips, such as BCM63138,
 18   BCM4908 and BCM6858. The old MIPS based chip     18   BCM4908 and BCM6858. The old MIPS based chip should continue to use the
 19   brcm,bcm6328-hsspi compatible string. The re     19   brcm,bcm6328-hsspi compatible string. The recent ARM based chip is required to
 20   use the brcm,bcmbca-hsspi-v1.0 as part of it     20   use the brcm,bcmbca-hsspi-v1.0 as part of its compatible string list as
 21   defined below to match the specific chip alo     21   defined below to match the specific chip along with ip revision info.
 22                                                    22 
 23   This rev 1.0 controller has a limitation tha     23   This rev 1.0 controller has a limitation that can not keep the chip select line
 24   active between the SPI transfers within the      24   active between the SPI transfers within the same SPI message. This can
 25   terminate the transaction to some SPI device     25   terminate the transaction to some SPI devices prematurely. The issue can be
 26   worked around by either the controller's pre     26   worked around by either the controller's prepend mode or using the dummy chip
 27   select workaround. Driver automatically pick     27   select workaround. Driver automatically picks the suitable mode based on
 28   transfer type so it is transparent to the us     28   transfer type so it is transparent to the user.
 29                                                    29 
 30   The newer SoCs such as BCM6756, BCM4912 and      30   The newer SoCs such as BCM6756, BCM4912 and BCM6855 include an updated SPI
 31   controller rev 1.1 that add the capability t     31   controller rev 1.1 that add the capability to allow the driver to control chip
 32   select explicitly. This solves the issue in      32   select explicitly. This solves the issue in the old controller.
 33                                                    33 
 34 properties:                                        34 properties:
 35   compatible:                                      35   compatible:
 36     oneOf:                                         36     oneOf:
 37       - const: brcm,bcm6328-hsspi                  37       - const: brcm,bcm6328-hsspi
 38       - items:                                     38       - items:
 39           - enum:                                  39           - enum:
 40               - brcm,bcm47622-hsspi                40               - brcm,bcm47622-hsspi
 41               - brcm,bcm4908-hsspi                 41               - brcm,bcm4908-hsspi
 42               - brcm,bcm63138-hsspi                42               - brcm,bcm63138-hsspi
 43               - brcm,bcm63146-hsspi                43               - brcm,bcm63146-hsspi
 44               - brcm,bcm63148-hsspi                44               - brcm,bcm63148-hsspi
 45               - brcm,bcm63158-hsspi                45               - brcm,bcm63158-hsspi
 46               - brcm,bcm63178-hsspi                46               - brcm,bcm63178-hsspi
 47               - brcm,bcm6846-hsspi                 47               - brcm,bcm6846-hsspi
 48               - brcm,bcm6856-hsspi                 48               - brcm,bcm6856-hsspi
 49               - brcm,bcm6858-hsspi                 49               - brcm,bcm6858-hsspi
 50               - brcm,bcm6878-hsspi                 50               - brcm,bcm6878-hsspi
 51           - const: brcm,bcmbca-hsspi-v1.0          51           - const: brcm,bcmbca-hsspi-v1.0
 52       - items:                                     52       - items:
 53           - enum:                                  53           - enum:
 54               - brcm,bcm4912-hsspi                 54               - brcm,bcm4912-hsspi
 55               - brcm,bcm6756-hsspi                 55               - brcm,bcm6756-hsspi
 56               - brcm,bcm6813-hsspi                 56               - brcm,bcm6813-hsspi
 57               - brcm,bcm6855-hsspi                 57               - brcm,bcm6855-hsspi
 58           - const: brcm,bcmbca-hsspi-v1.1          58           - const: brcm,bcmbca-hsspi-v1.1
 59                                                    59 
 60   reg:                                             60   reg:
 61     items:                                         61     items:
 62       - description: main registers                62       - description: main registers
 63       - description: miscellaneous control reg     63       - description: miscellaneous control registers
 64     minItems: 1                                    64     minItems: 1
 65                                                    65 
 66   reg-names:                                       66   reg-names:
 67     items:                                         67     items:
 68       - const: hsspi                               68       - const: hsspi
 69       - const: spim-ctrl                           69       - const: spim-ctrl
 70     minItems: 1                                    70     minItems: 1
 71                                                    71 
 72   clocks:                                          72   clocks:
 73     items:                                         73     items:
 74       - description: SPI master reference cloc     74       - description: SPI master reference clock
 75       - description: SPI master pll clock          75       - description: SPI master pll clock
 76                                                    76 
 77   clock-names:                                     77   clock-names:
 78     items:                                         78     items:
 79       - const: hsspi                               79       - const: hsspi
 80       - const: pll                                 80       - const: pll
 81                                                    81 
 82   interrupts:                                      82   interrupts:
 83     maxItems: 1                                    83     maxItems: 1
 84                                                    84 
 85 required:                                          85 required:
 86   - compatible                                     86   - compatible
 87   - reg                                            87   - reg
 88   - clocks                                         88   - clocks
 89   - clock-names                                    89   - clock-names
 90   - interrupts                                     90   - interrupts
 91                                                    91 
 92 allOf:                                             92 allOf:
 93   - $ref: spi-controller.yaml#                     93   - $ref: spi-controller.yaml#
 94   - if:                                            94   - if:
 95       properties:                                  95       properties:
 96         compatible:                                96         compatible:
 97           contains:                                97           contains:
 98             enum:                                  98             enum:
 99               - brcm,bcm6328-hsspi                 99               - brcm,bcm6328-hsspi
100               - brcm,bcmbca-hsspi-v1.0            100               - brcm,bcmbca-hsspi-v1.0
101     then:                                         101     then:
102       properties:                                 102       properties:
103         reg:                                      103         reg:
104           maxItems: 1                             104           maxItems: 1
105         reg-names:                                105         reg-names:
106           maxItems: 1                             106           maxItems: 1
107     else:                                         107     else:
108       properties:                                 108       properties:
109         reg:                                      109         reg:
110           minItems: 2                             110           minItems: 2
111           maxItems: 2                             111           maxItems: 2
112         reg-names:                                112         reg-names:
113           minItems: 2                             113           minItems: 2
114           maxItems: 2                             114           maxItems: 2
115       required:                                   115       required:
116         - reg-names                               116         - reg-names
117                                                   117 
118 unevaluatedProperties: false                      118 unevaluatedProperties: false
119                                                   119 
120 examples:                                         120 examples:
121   - |                                             121   - |
122     #include <dt-bindings/interrupt-controller    122     #include <dt-bindings/interrupt-controller/arm-gic.h>
123     spi@ff801000 {                                123     spi@ff801000 {
124         compatible = "brcm,bcm6756-hsspi", "br    124         compatible = "brcm,bcm6756-hsspi", "brcm,bcmbca-hsspi-v1.1";
125         reg = <0xff801000 0x1000>,                125         reg = <0xff801000 0x1000>,
126               <0xff802610 0x4>;                   126               <0xff802610 0x4>;
127         reg-names = "hsspi", "spim-ctrl";         127         reg-names = "hsspi", "spim-ctrl";
128         interrupts = <GIC_SPI 36 IRQ_TYPE_LEVE    128         interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
129         clocks = <&hsspi>, <&hsspi_pll>;          129         clocks = <&hsspi>, <&hsspi_pll>;
130         clock-names = "hsspi", "pll";             130         clock-names = "hsspi", "pll";
131         num-cs = <8>;                             131         num-cs = <8>;
132         #address-cells = <1>;                     132         #address-cells = <1>;
133         #size-cells = <0>;                        133         #size-cells = <0>;
134     };                                            134     };
                                                      

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