xref: /freebsd/sys/contrib/device-tree/Bindings/iio/adc/ti,twl6030-gpadc.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1*84943d6fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*84943d6fSEmmanuel Vadot%YAML 1.2
3*84943d6fSEmmanuel Vadot---
4*84943d6fSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/adc/ti,twl6030-gpadc.yaml#
5*84943d6fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*84943d6fSEmmanuel Vadot
7*84943d6fSEmmanuel Vadottitle: GPADC subsystem in the TWL6030 power module
8*84943d6fSEmmanuel Vadot
9*84943d6fSEmmanuel Vadotmaintainers:
10*84943d6fSEmmanuel Vadot  - Andreas Kemnade <andreas@kemnade.info>
11*84943d6fSEmmanuel Vadot
12*84943d6fSEmmanuel Vadotdescription:
13*84943d6fSEmmanuel Vadot  The GPADC subsystem in the TWL603X consists of a 10-bit ADC
14*84943d6fSEmmanuel Vadot  combined with a 15-input analog multiplexer in the TWL6030 resp. a
15*84943d6fSEmmanuel Vadot  19-input analog muliplexer in the TWL6032.
16*84943d6fSEmmanuel Vadot
17*84943d6fSEmmanuel Vadotproperties:
18*84943d6fSEmmanuel Vadot  compatible:
19*84943d6fSEmmanuel Vadot    enum:
20*84943d6fSEmmanuel Vadot      - ti,twl6030-gpadc
21*84943d6fSEmmanuel Vadot      - ti,twl6032-gpadc
22*84943d6fSEmmanuel Vadot
23*84943d6fSEmmanuel Vadot  interrupts:
24*84943d6fSEmmanuel Vadot    maxItems: 1
25*84943d6fSEmmanuel Vadot
26*84943d6fSEmmanuel Vadot  "#io-channel-cells":
27*84943d6fSEmmanuel Vadot    const: 1
28*84943d6fSEmmanuel Vadot
29*84943d6fSEmmanuel Vadotrequired:
30*84943d6fSEmmanuel Vadot  - compatible
31*84943d6fSEmmanuel Vadot  - interrupts
32*84943d6fSEmmanuel Vadot  - "#io-channel-cells"
33*84943d6fSEmmanuel Vadot
34*84943d6fSEmmanuel VadotadditionalProperties: false
35*84943d6fSEmmanuel Vadot
36*84943d6fSEmmanuel Vadotexamples:
37*84943d6fSEmmanuel Vadot  - |
38*84943d6fSEmmanuel Vadot    gpadc {
39*84943d6fSEmmanuel Vadot        compatible = "ti,twl6030-gpadc";
40*84943d6fSEmmanuel Vadot        interrupts = <3>;
41*84943d6fSEmmanuel Vadot        #io-channel-cells = <1>;
42*84943d6fSEmmanuel Vadot    };
43*84943d6fSEmmanuel Vadot...
44