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 d5c364b..1aa85d8 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";