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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/net/nfc/marvell,nci.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/net/nfc/marvell,nci.yaml (Architecture i386) and /Documentation/devicetree/bindings/net/nfc/marvell,nci.yaml (Architecture alpha)


  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD      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/net/nfc/mar      4 $id: http://devicetree.org/schemas/net/nfc/marvell,nci.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Marvell International Ltd. NCI NFC cont      7 title: Marvell International Ltd. NCI NFC controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Krzysztof Kozlowski <krzk@kernel.org>           10   - Krzysztof Kozlowski <krzk@kernel.org>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     enum:                                          14     enum:
 15       - marvell,nfc-i2c                            15       - marvell,nfc-i2c
 16       - marvell,nfc-spi                            16       - marvell,nfc-spi
 17       - marvell,nfc-uart                           17       - marvell,nfc-uart
 18                                                    18 
 19   hci-muxed:                                       19   hci-muxed:
 20     type: boolean                                  20     type: boolean
 21     description: |                                 21     description: |
 22       Specifies that the chip is muxing NCI ov     22       Specifies that the chip is muxing NCI over HCI frames
 23                                                    23 
 24   interrupts:                                      24   interrupts:
 25     maxItems: 1                                    25     maxItems: 1
 26                                                    26 
 27   reg:                                             27   reg:
 28     maxItems: 1                                    28     maxItems: 1
 29                                                    29 
 30   reset-n-io:                                      30   reset-n-io:
 31     $ref: /schemas/types.yaml#/definitions/pha     31     $ref: /schemas/types.yaml#/definitions/phandle-array
 32     maxItems: 1                                    32     maxItems: 1
 33     description: |                                 33     description: |
 34       Output GPIO pin used to reset the chip (     34       Output GPIO pin used to reset the chip (active low)
 35                                                    35 
 36   i2c-int-falling:                                 36   i2c-int-falling:
 37     type: boolean                                  37     type: boolean
 38     description: |                                 38     description: |
 39       For I2C type of connection. Specifies th     39       For I2C type of connection. Specifies that the chip read event shall be
 40       triggered on falling edge.                   40       triggered on falling edge.
 41                                                    41 
 42   i2c-int-rising:                                  42   i2c-int-rising:
 43     type: boolean                                  43     type: boolean
 44     description: |                                 44     description: |
 45       For I2C type of connection.  Specifies t     45       For I2C type of connection.  Specifies that the chip read event shall be
 46       triggered on rising edge.                    46       triggered on rising edge.
 47                                                    47 
 48   break-control:                                   48   break-control:
 49     type: boolean                                  49     type: boolean
 50     description: |                                 50     description: |
 51       For UART type of connection. Specifies t     51       For UART type of connection. Specifies that the chip needs specific break
 52       management.                                  52       management.
 53                                                    53 
 54   flow-control:                                    54   flow-control:
 55     type: boolean                                  55     type: boolean
 56     description: |                                 56     description: |
 57       For UART type of connection. Specifies t     57       For UART type of connection. Specifies that the chip is using RTS/CTS.
 58                                                    58 
 59   spi-cpha: true                                   59   spi-cpha: true
 60   spi-cpol: true                                   60   spi-cpol: true
 61                                                    61 
 62 required:                                          62 required:
 63   - compatible                                     63   - compatible
 64                                                    64 
 65 allOf:                                             65 allOf:
 66   - if:                                            66   - if:
 67       properties:                                  67       properties:
 68         compatible:                                68         compatible:
 69           contains:                                69           contains:
 70             const: marvell,nfc-i2c                 70             const: marvell,nfc-i2c
 71     then:                                          71     then:
 72       properties:                                  72       properties:
 73         break-control: false                       73         break-control: false
 74         flow-control: false                        74         flow-control: false
 75         spi-cpha: false                            75         spi-cpha: false
 76         spi-cpol: false                            76         spi-cpol: false
 77         spi-max-frequency: false                   77         spi-max-frequency: false
 78       required:                                    78       required:
 79         - reg                                      79         - reg
 80                                                    80 
 81   - if:                                            81   - if:
 82       properties:                                  82       properties:
 83         compatible:                                83         compatible:
 84           contains:                                84           contains:
 85             const: marvell,nfc-spi                 85             const: marvell,nfc-spi
 86     then:                                          86     then:
 87       $ref: /schemas/spi/spi-peripheral-props.     87       $ref: /schemas/spi/spi-peripheral-props.yaml#
 88       properties:                                  88       properties:
 89         break-control: false                       89         break-control: false
 90         flow-control: false                        90         flow-control: false
 91         i2c-int-falling: false                     91         i2c-int-falling: false
 92         i2c-int-rising: false                      92         i2c-int-rising: false
 93       required:                                    93       required:
 94         - reg                                      94         - reg
 95                                                    95 
 96   - if:                                            96   - if:
 97       properties:                                  97       properties:
 98         compatible:                                98         compatible:
 99           contains:                                99           contains:
100             const: marvell,nfc-uart               100             const: marvell,nfc-uart
101     then:                                         101     then:
102       properties:                                 102       properties:
103         i2c-int-falling: false                    103         i2c-int-falling: false
104         i2c-int-rising: false                     104         i2c-int-rising: false
105         interrupts: false                         105         interrupts: false
106         spi-cpha: false                           106         spi-cpha: false
107         spi-cpol: false                           107         spi-cpol: false
108         spi-max-frequency: false                  108         spi-max-frequency: false
109         reg: false                                109         reg: false
110                                                   110 
111 unevaluatedProperties: false                      111 unevaluatedProperties: false
112                                                   112 
113 examples:                                         113 examples:
114   - |                                             114   - |
115     #include <dt-bindings/gpio/gpio.h>            115     #include <dt-bindings/gpio/gpio.h>
116     #include <dt-bindings/interrupt-controller    116     #include <dt-bindings/interrupt-controller/irq.h>
117                                                   117 
118     i2c {                                         118     i2c {
119         #address-cells = <1>;                     119         #address-cells = <1>;
120         #size-cells = <0>;                        120         #size-cells = <0>;
121                                                   121 
122         nfc@8 {                                   122         nfc@8 {
123             compatible = "marvell,nfc-i2c";       123             compatible = "marvell,nfc-i2c";
124             reg = <0x8>;                          124             reg = <0x8>;
125                                                   125 
126             interrupt-parent = <&gpio3>;          126             interrupt-parent = <&gpio3>;
127             interrupts = <21 IRQ_TYPE_EDGE_RIS    127             interrupts = <21 IRQ_TYPE_EDGE_RISING>;
128                                                   128 
129             i2c-int-rising;                       129             i2c-int-rising;
130                                                   130 
131             reset-n-io = <&gpio3 19 GPIO_ACTIV    131             reset-n-io = <&gpio3 19 GPIO_ACTIVE_LOW>;
132         };                                        132         };
133     };                                            133     };
134                                                   134 
135   - |                                             135   - |
136     #include <dt-bindings/gpio/gpio.h>            136     #include <dt-bindings/gpio/gpio.h>
137     #include <dt-bindings/interrupt-controller    137     #include <dt-bindings/interrupt-controller/irq.h>
138                                                   138 
139     spi {                                         139     spi {
140         #address-cells = <1>;                     140         #address-cells = <1>;
141         #size-cells = <0>;                        141         #size-cells = <0>;
142                                                   142 
143         nfc@0 {                                   143         nfc@0 {
144             compatible = "marvell,nfc-spi";       144             compatible = "marvell,nfc-spi";
145             reg = <0>;                            145             reg = <0>;
146                                                   146 
147             spi-max-frequency = <3000000>;        147             spi-max-frequency = <3000000>;
148             spi-cpha;                             148             spi-cpha;
149             spi-cpol;                             149             spi-cpol;
150                                                   150 
151             interrupt-parent = <&gpio1>;          151             interrupt-parent = <&gpio1>;
152             interrupts = <17 IRQ_TYPE_EDGE_RIS    152             interrupts = <17 IRQ_TYPE_EDGE_RISING>;
153                                                   153 
154             reset-n-io = <&gpio3 19 GPIO_ACTIV    154             reset-n-io = <&gpio3 19 GPIO_ACTIVE_LOW>;
155         };                                        155         };
156     };                                            156     };
157                                                   157 
158   - |                                             158   - |
159     #include <dt-bindings/gpio/gpio.h>            159     #include <dt-bindings/gpio/gpio.h>
160                                                   160 
161     uart {                                        161     uart {
162         nfc {                                     162         nfc {
163             compatible = "marvell,nfc-uart";      163             compatible = "marvell,nfc-uart";
164                                                   164 
165             reset-n-io = <&gpio3 16 GPIO_ACTIV    165             reset-n-io = <&gpio3 16 GPIO_ACTIVE_LOW>;
166                                                   166 
167             hci-muxed;                            167             hci-muxed;
168             flow-control;                         168             flow-control;
169         };                                        169         };
170     };                                            170     };
                                                      

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