1 Motorola CPCAP PMIC battery charger binding
4 - compatible: Shall be "motorola,mapphone-cpcap-charger"
5 - interrupts: Interrupt specifier for each name in interrupt-names
6 - interrupt-names: Should contain the following entries:
7 "chrg_det", "rvrs_chrg", "chrg_se1b", "se0conn",
8 "rvrs_mode", "chrgcurr1", "vbusvld", "battdetb"
9 - io-channels: IIO ADC channel specifier for each name in io-channel-names
10 - io-channel-names: Should contain the following entries:
11 "battdetb", "battp", "vbus", "chg_isense", "batti"
14 - mode-gpios: Optionally CPCAP charger can have a companion wireless
15 charge controller that is controlled with two GPIOs
20 cpcap_charger: charger {
21 compatible = "motorola,mapphone-cpcap-charger";
22 interrupts-extended = <
23 &cpcap 13 0 &cpcap 12 0 &cpcap 29 0 &cpcap 28 0
24 &cpcap 22 0 &cpcap 20 0 &cpcap 19 0 &cpcap 54 0
27 "chrg_det", "rvrs_chrg", "chrg_se1b", "se0conn",
28 "rvrs_mode", "chrgcurr1", "vbusvld", "battdetb";
29 mode-gpios = <&gpio3 29 GPIO_ACTIVE_LOW
30 &gpio3 23 GPIO_ACTIVE_LOW>;
31 io-channels = <&cpcap_adc 0 &cpcap_adc 1
32 &cpcap_adc 2 &cpcap_adc 5
34 io-channel-names = "battdetb", "battp",