ARM: dts: omap4-droid4: Add CPCAP PMIC ADC configuration
authorTony Lindgren <tony@atomide.com>
Sun, 9 Apr 2017 23:20:29 +0000 (16:20 -0700)
committerTony Lindgren <tony@atomide.com>
Sun, 9 Apr 2017 23:20:29 +0000 (16:20 -0700)
Add CPCAP PMIC ADC configuration.

Cc: devicetree@vger.kernel.org
Cc: Marcel Partap <mpartap@gmx.net>
Cc: Michael Scott <michael.scott@linaro.org>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Tested-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi

index d5c364ba57c6ea505d6eba6df134a1c71a5c4e61..1aa85d8999d78b6ceedd9ab7638b89ab44394f62 100644 (file)
                spi-max-frequency = <3000000>;
                spi-cs-high;
 
+               cpcap_adc: adc {
+                       compatible = "motorola,mapphone-cpcap-adc";
+                       interrupts-extended = <&cpcap 8 0>;
+                       interrupt-names = "adcdone";
+                       #io-channel-cells = <1>;
+               };
+
                cpcap_regulator: regulator {
                        compatible = "motorola,mapphone-cpcap-regulator";