summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/adc/cpcap-adc.txt
blob: ec04008e8f4fdd6f7cee35ad889c6a399ed8ce66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Motorola CPCAP PMIC ADC binding

Required properties:
- compatible: Should be "motorola,cpcap-adc" or "motorola,mapphone-cpcap-adc"
- interrupts: The interrupt number for the ADC device
- interrupt-names: Should be "adcdone"
- #io-channel-cells: Number of cells in an IIO specifier

Example:

cpcap_adc: adc {
	compatible = "motorola,mapphone-cpcap-adc";
	interrupt-parent = <&cpcap>;
	interrupts = <8 IRQ_TYPE_NONE>;
	interrupt-names = "adcdone";
	#io-channel-cells = <1>;
};