GNU Linux-libre 6.8.9-gnu
[releases.git] / Documentation / devicetree / bindings / iio / adc / cirrus,ep9301-adc.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/cirrus,ep9301-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Cirrus Logic EP930x internal ADC
8
9 description: |
10   Cirrus Logic EP9301/EP9302 SoCs' internal ADC block.
11
12   User's manual:
13   https://cdn.embeddedts.com/resource-attachments/ts-7000_ep9301-ug.pdf
14
15 maintainers:
16   - Alexander Sverdlin <alexander.sverdlin@gmail.com>
17
18 properties:
19   compatible:
20     const: cirrus,ep9301-adc
21
22   reg:
23     maxItems: 1
24
25   clocks:
26     maxItems: 1
27
28   interrupts:
29     maxItems: 1
30
31 required:
32   - compatible
33   - reg
34   - clocks
35
36 additionalProperties: false
37
38 examples:
39   - |
40     adc: adc@80900000 {
41         compatible = "cirrus,ep9301-adc";
42         reg = <0x80900000 0x28>;
43         clocks = <&syscon 24>;
44         interrupt-parent = <&vic1>;
45         interrupts = <30>;
46     };
47 ...