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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/iio/adc/adi,ad7380.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/iio/adc/adi,ad7380.yaml (Architecture i386) and /Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml (Architecture m68k)


  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/iio/adc/adi      4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7380.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Analog Devices Simultaneous Sampling An      7 title: Analog Devices Simultaneous Sampling Analog to Digital Converters
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Michael Hennerich <Michael.Hennerich@analog     10   - Michael Hennerich <Michael.Hennerich@analog.com>
 11   - Nuno Sá <nuno.sa@analog.com>                   11   - Nuno Sá <nuno.sa@analog.com>
 12                                                    12 
 13 description: |                                     13 description: |
 14   * https://www.analog.com/en/products/ad7380.     14   * https://www.analog.com/en/products/ad7380.html
 15   * https://www.analog.com/en/products/ad7381.     15   * https://www.analog.com/en/products/ad7381.html
 16   * https://www.analog.com/en/products/ad7383.     16   * https://www.analog.com/en/products/ad7383.html
 17   * https://www.analog.com/en/products/ad7384.     17   * https://www.analog.com/en/products/ad7384.html
 18   * https://www.analog.com/en/products/ad7386.     18   * https://www.analog.com/en/products/ad7386.html
 19   * https://www.analog.com/en/products/ad7387.     19   * https://www.analog.com/en/products/ad7387.html
 20   * https://www.analog.com/en/products/ad7388.     20   * https://www.analog.com/en/products/ad7388.html
 21   * https://www.analog.com/en/products/ad7380-     21   * https://www.analog.com/en/products/ad7380-4.html
 22   * https://www.analog.com/en/products/ad7381-     22   * https://www.analog.com/en/products/ad7381-4.html
 23   * https://www.analog.com/en/products/ad7383-     23   * https://www.analog.com/en/products/ad7383-4.html
 24   * https://www.analog.com/en/products/ad7384-     24   * https://www.analog.com/en/products/ad7384-4.html
 25   * https://www.analog.com/en/products/ad7386-     25   * https://www.analog.com/en/products/ad7386-4.html
 26   * https://www.analog.com/en/products/ad7387-     26   * https://www.analog.com/en/products/ad7387-4.html
 27   * https://www.analog.com/en/products/ad7388-     27   * https://www.analog.com/en/products/ad7388-4.html
 28                                                    28 
 29                                                    29 
 30 $ref: /schemas/spi/spi-peripheral-props.yaml#      30 $ref: /schemas/spi/spi-peripheral-props.yaml#
 31                                                    31 
 32 properties:                                        32 properties:
 33   compatible:                                      33   compatible:
 34     enum:                                          34     enum:
 35       - adi,ad7380                                 35       - adi,ad7380
 36       - adi,ad7381                                 36       - adi,ad7381
 37       - adi,ad7383                                 37       - adi,ad7383
 38       - adi,ad7384                                 38       - adi,ad7384
 39       - adi,ad7386                                 39       - adi,ad7386
 40       - adi,ad7387                                 40       - adi,ad7387
 41       - adi,ad7388                                 41       - adi,ad7388
 42       - adi,ad7380-4                               42       - adi,ad7380-4
 43       - adi,ad7381-4                               43       - adi,ad7381-4
 44       - adi,ad7383-4                               44       - adi,ad7383-4
 45       - adi,ad7384-4                               45       - adi,ad7384-4
 46       - adi,ad7386-4                               46       - adi,ad7386-4
 47       - adi,ad7387-4                               47       - adi,ad7387-4
 48       - adi,ad7388-4                               48       - adi,ad7388-4
 49                                                    49 
 50   reg:                                             50   reg:
 51     maxItems: 1                                    51     maxItems: 1
 52                                                    52 
 53   spi-max-frequency:                               53   spi-max-frequency:
 54     maximum: 80000000                              54     maximum: 80000000
 55   spi-cpol: true                                   55   spi-cpol: true
 56   spi-cpha: true                                   56   spi-cpha: true
 57                                                    57 
 58   vcc-supply:                                      58   vcc-supply:
 59     description: A 3V to 3.6V supply that powe     59     description: A 3V to 3.6V supply that powers the chip.
 60                                                    60 
 61   vlogic-supply:                                   61   vlogic-supply:
 62     description:                                   62     description:
 63       A 1.65V to 3.6V supply for the logic pin     63       A 1.65V to 3.6V supply for the logic pins.
 64                                                    64 
 65   refio-supply:                                    65   refio-supply:
 66     description:                                   66     description:
 67       A 2.5V to 3.3V supply for the external r     67       A 2.5V to 3.3V supply for the external reference voltage. When omitted,
 68       the internal 2.5V reference is used.         68       the internal 2.5V reference is used.
 69                                                    69 
 70   refin-supply:                                    70   refin-supply:
 71     description:                                   71     description:
 72       A 2.5V to 3.3V supply for external refer     72       A 2.5V to 3.3V supply for external reference voltage, for ad7380-4 only.
 73                                                    73 
 74   aina-supply:                                     74   aina-supply:
 75     description:                                   75     description:
 76       The common mode voltage supply for the A     76       The common mode voltage supply for the AINA- pin on pseudo-differential
 77       chips.                                       77       chips.
 78                                                    78 
 79   ainb-supply:                                     79   ainb-supply:
 80     description:                                   80     description:
 81       The common mode voltage supply for the A     81       The common mode voltage supply for the AINB- pin on pseudo-differential
 82       chips.                                       82       chips.
 83                                                    83 
 84   ainc-supply:                                     84   ainc-supply:
 85     description:                                   85     description:
 86       The common mode voltage supply for the A     86       The common mode voltage supply for the AINC- pin on pseudo-differential
 87       chips.                                       87       chips.
 88                                                    88 
 89   aind-supply:                                     89   aind-supply:
 90     description:                                   90     description:
 91       The common mode voltage supply for the A     91       The common mode voltage supply for the AIND- pin on pseudo-differential
 92       chips.                                       92       chips.
 93                                                    93 
 94   interrupts:                                      94   interrupts:
 95     description:                                   95     description:
 96       When the device is using 1-wire mode, th     96       When the device is using 1-wire mode, this property is used to optionally
 97       specify the ALERT interrupt.                 97       specify the ALERT interrupt.
 98     maxItems: 1                                    98     maxItems: 1
 99                                                    99 
100 required:                                         100 required:
101   - compatible                                    101   - compatible
102   - reg                                           102   - reg
103   - vcc-supply                                    103   - vcc-supply
104   - vlogic-supply                                 104   - vlogic-supply
105                                                   105 
106 unevaluatedProperties: false                      106 unevaluatedProperties: false
107                                                   107 
108 allOf:                                            108 allOf:
109   # pseudo-differential chips require common m    109   # pseudo-differential chips require common mode voltage supplies,
110   # true differential chips don't use them        110   # true differential chips don't use them
111   - if:                                           111   - if:
112       properties:                                 112       properties:
113         compatible:                               113         compatible:
114           enum:                                   114           enum:
115             - adi,ad7383                          115             - adi,ad7383
116             - adi,ad7384                          116             - adi,ad7384
117             - adi,ad7383-4                        117             - adi,ad7383-4
118             - adi,ad7384-4                        118             - adi,ad7384-4
119     then:                                         119     then:
120       required:                                   120       required:
121         - aina-supply                             121         - aina-supply
122         - ainb-supply                             122         - ainb-supply
123     else:                                         123     else:
124       properties:                                 124       properties:
125         aina-supply: false                        125         aina-supply: false
126         ainb-supply: false                        126         ainb-supply: false
127   - if:                                           127   - if:
128       properties:                                 128       properties:
129         compatible:                               129         compatible:
130           enum:                                   130           enum:
131             - adi,ad7383-4                        131             - adi,ad7383-4
132             - adi,ad7384-4                        132             - adi,ad7384-4
133     then:                                         133     then:
134       required:                                   134       required:
135         - ainc-supply                             135         - ainc-supply
136         - aind-supply                             136         - aind-supply
137     else:                                         137     else:
138       properties:                                 138       properties:
139         ainc-supply: false                        139         ainc-supply: false
140         aind-supply: false                        140         aind-supply: false
141                                                   141 
142   # ad7380-4 uses refin-supply as external ref    142   # ad7380-4 uses refin-supply as external reference.
143   # All other chips from ad738x family use ref    143   # All other chips from ad738x family use refio as optional external reference.
144   # When refio-supply is omitted, internal ref    144   # When refio-supply is omitted, internal reference is used.
145   - if:                                           145   - if:
146       properties:                                 146       properties:
147         compatible:                               147         compatible:
148           enum:                                   148           enum:
149             - adi,ad7380-4                        149             - adi,ad7380-4
150     then:                                         150     then:
151       properties:                                 151       properties:
152         refio-supply: false                       152         refio-supply: false
153       required:                                   153       required:
154         - refin-supply                            154         - refin-supply
155     else:                                         155     else:
156       properties:                                 156       properties:
157         refin-supply: false                       157         refin-supply: false
158                                                   158 
159 examples:                                         159 examples:
160   - |                                             160   - |
161     #include <dt-bindings/interrupt-controller    161     #include <dt-bindings/interrupt-controller/irq.h>
162                                                   162 
163     spi {                                         163     spi {
164         #address-cells = <1>;                     164         #address-cells = <1>;
165         #size-cells = <0>;                        165         #size-cells = <0>;
166                                                   166 
167         adc@0 {                                   167         adc@0 {
168             compatible = "adi,ad7380";            168             compatible = "adi,ad7380";
169             reg = <0>;                            169             reg = <0>;
170                                                   170 
171             spi-cpol;                             171             spi-cpol;
172             spi-cpha;                             172             spi-cpha;
173             spi-max-frequency = <80000000>;       173             spi-max-frequency = <80000000>;
174                                                   174 
175             interrupts = <27 IRQ_TYPE_EDGE_FAL    175             interrupts = <27 IRQ_TYPE_EDGE_FALLING>;
176             interrupt-parent = <&gpio0>;          176             interrupt-parent = <&gpio0>;
177                                                   177 
178             vcc-supply = <&supply_3_3V>;          178             vcc-supply = <&supply_3_3V>;
179             vlogic-supply = <&supply_3_3V>;       179             vlogic-supply = <&supply_3_3V>;
180             refio-supply = <&supply_2_5V>;        180             refio-supply = <&supply_2_5V>;
181         };                                        181         };
182     };                                            182     };
                                                      

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