summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/devicetree/bindings/iio/adc/cc10001_adc.txt
blob: 904f76de90552ffca6cc2f5922ea547a015f9690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
* Cosmic Circuits - Analog to Digital Converter (CC-10001-ADC)

Required properties:
  - compatible: Should be "cosmic,10001-adc"
  - reg: Should contain adc registers location and length.
  - clock-names: Should contain "adc".
  - clocks: Should contain a clock specifier for each entry in clock-names
  - vref-supply: The regulator supply ADC reference voltage.

Optional properties:
  - adc-reserved-channels: Bitmask of reserved channels,
    i.e. channels that cannot be used by the OS.

Example:
adc: adc@18101600 {
	compatible = "cosmic,10001-adc";
	reg = <0x18101600 0x24>;
	adc-reserved-channels = <0x2>;
	clocks = <&adc_clk>;
	clock-names = "adc";
	vref-supply = <&reg_1v8>;
};