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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/iio/adc/fsl,imx25-gcq.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/fsl,imx25-gcq.yaml (Architecture i386) and /Documentation/devicetree/bindings/iio/adc/fsl,imx25-gcq.yaml (Architecture ppc)


  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C      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/iio/adc/fsl      4 $id: http://devicetree.org/schemas/iio/adc/fsl,imx25-gcq.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Freescale ADC GCQ device                     7 title: Freescale ADC GCQ device
  8                                                     8 
  9 description:                                        9 description:
 10   This is a generic conversion queue device th     10   This is a generic conversion queue device that can convert any of the
 11   analog inputs using the ADC unit of the i.MX     11   analog inputs using the ADC unit of the i.MX25.
 12                                                    12 
 13 maintainers:                                       13 maintainers:
 14   - Jonathan Cameron <jic23@kernel.org>             14   - Jonathan Cameron <jic23@kernel.org>
 15                                                    15 
 16 properties:                                        16 properties:
 17   compatible:                                      17   compatible:
 18     const: fsl,imx25-gcq                           18     const: fsl,imx25-gcq
 19                                                    19 
 20   reg:                                             20   reg:
 21     maxItems: 1                                    21     maxItems: 1
 22                                                    22 
 23   interrupts:                                      23   interrupts:
 24     maxItems: 1                                    24     maxItems: 1
 25                                                    25 
 26   vref-ext-supply:                                 26   vref-ext-supply:
 27     description:                                   27     description:
 28       The regulator supplying the ADC referenc     28       The regulator supplying the ADC reference voltage.
 29       Required when at least one subnode uses      29       Required when at least one subnode uses the this reference.
 30                                                    30 
 31   vref-xp-supply:                                  31   vref-xp-supply:
 32     description:                                   32     description:
 33       The regulator supplying the ADC referenc     33       The regulator supplying the ADC reference voltage on pin XP.
 34       Required when at least one subnode uses      34       Required when at least one subnode uses this reference.
 35                                                    35 
 36   vref-yp-supply:                                  36   vref-yp-supply:
 37     description:                                   37     description:
 38       The regulator supplying the ADC referenc     38       The regulator supplying the ADC reference voltage on pin YP.
 39       Required when at least one subnode uses      39       Required when at least one subnode uses this reference.
 40                                                    40 
 41   "#io-channel-cells":                             41   "#io-channel-cells":
 42     const: 1                                       42     const: 1
 43                                                    43 
 44   "#address-cells":                                44   "#address-cells":
 45     const: 1                                       45     const: 1
 46                                                    46 
 47   "#size-cells":                                   47   "#size-cells":
 48     const: 0                                       48     const: 0
 49                                                    49 
 50 required:                                          50 required:
 51   - compatible                                     51   - compatible
 52   - reg                                            52   - reg
 53   - interrupts                                     53   - interrupts
 54   - "#address-cells"                               54   - "#address-cells"
 55   - "#size-cells"                                  55   - "#size-cells"
 56                                                    56 
 57 patternProperties:                                 57 patternProperties:
 58   "[a-z][a-z0-9]+@[0-9a-f]+$":                     58   "[a-z][a-z0-9]+@[0-9a-f]+$":
 59     type: object                                   59     type: object
 60     description:                                   60     description:
 61       Child nodes used to define the reference     61       Child nodes used to define the reference voltages used for each channel
 62                                                    62 
 63     properties:                                    63     properties:
 64       reg:                                         64       reg:
 65         description: |                             65         description: |
 66           Number of the analog input.              66           Number of the analog input.
 67           0: xp                                    67           0: xp
 68           1: yp                                    68           1: yp
 69           2: xn                                    69           2: xn
 70           3: yn                                    70           3: yn
 71           4: wiper                                 71           4: wiper
 72           5: inaux0                                72           5: inaux0
 73           6: inaux1                                73           6: inaux1
 74           7: inaux2                                74           7: inaux2
 75         items:                                     75         items:
 76           - minimum: 0                             76           - minimum: 0
 77             maximum: 7                             77             maximum: 7
 78                                                    78 
 79       fsl,adc-refp:                                79       fsl,adc-refp:
 80         $ref: /schemas/types.yaml#/definitions     80         $ref: /schemas/types.yaml#/definitions/uint32
 81         description: |                             81         description: |
 82           Specifies the positive reference inp     82           Specifies the positive reference input as defined in
 83           <dt-bindings/iio/adc/fsl-imx25-gcq.h     83           <dt-bindings/iio/adc/fsl-imx25-gcq.h>
 84           0: YP voltage reference                  84           0: YP voltage reference
 85           1: XP voltage reference                  85           1: XP voltage reference
 86           2: External voltage reference            86           2: External voltage reference
 87           3: Internal voltage reference (defau     87           3: Internal voltage reference (default)
 88         minimum: 0                                 88         minimum: 0
 89         maximum: 3                                 89         maximum: 3
 90                                                    90 
 91       fsl,adc-refn:                                91       fsl,adc-refn:
 92         $ref: /schemas/types.yaml#/definitions     92         $ref: /schemas/types.yaml#/definitions/uint32
 93         description: |                             93         description: |
 94           Specifies the negative reference inp     94           Specifies the negative reference input as defined in
 95           <dt-bindings/iio/adc/fsl-imx25-gcq.h     95           <dt-bindings/iio/adc/fsl-imx25-gcq.h>
 96           0: XN ground reference                   96           0: XN ground reference
 97           1: YN ground reference                   97           1: YN ground reference
 98           2: Internal ground reference             98           2: Internal ground reference
 99           3: External ground reference (defaul     99           3: External ground reference (default)
100         minimum: 0                                100         minimum: 0
101         maximum: 3                                101         maximum: 3
102                                                   102 
103     required:                                     103     required:
104       - reg                                       104       - reg
105                                                   105 
106     additionalProperties: false                   106     additionalProperties: false
107                                                   107 
108 additionalProperties: false                       108 additionalProperties: false
109                                                   109 
110 examples:                                         110 examples:
111   - |                                             111   - |
112     #include <dt-bindings/iio/adc/fsl-imx25-gc    112     #include <dt-bindings/iio/adc/fsl-imx25-gcq.h>
113     soc {                                         113     soc {
114         #address-cells = <1>;                     114         #address-cells = <1>;
115         #size-cells = <1>;                        115         #size-cells = <1>;
116         adc@50030800 {                            116         adc@50030800 {
117             compatible = "fsl,imx25-gcq";         117             compatible = "fsl,imx25-gcq";
118             reg = <0x50030800 0x60>;              118             reg = <0x50030800 0x60>;
119             interrupt-parent = <&tscadc>;         119             interrupt-parent = <&tscadc>;
120             interrupts = <1>;                     120             interrupts = <1>;
121             #address-cells = <1>;                 121             #address-cells = <1>;
122             #size-cells = <0>;                    122             #size-cells = <0>;
123                                                   123 
124             inaux@5 {                             124             inaux@5 {
125                 reg = <5>;                        125                 reg = <5>;
126                 fsl,adc-refp = <MX25_ADC_REFP_    126                 fsl,adc-refp = <MX25_ADC_REFP_INT>;
127                 fsl,adc-refn = <MX25_ADC_REFN_    127                 fsl,adc-refn = <MX25_ADC_REFN_NGND>;
128             };                                    128             };
129         };                                        129         };
130     };                                            130     };
131 ...                                               131 ...
                                                      

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