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", "chrgcurr2", "chrgcurr1", "vbusvld",
10 - io-channels: IIO ADC channel specifier for each name in io-channel-names
11 - io-channel-names: Should contain the following entries:
12 "battdetb", "battp", "vbus", "chg_isense", "batti"
15 - mode-gpios: Optionally CPCAP charger can have a companion wireless
16 charge controller that is controlled with two GPIOs
21 cpcap_charger: charger {
22 compatible = "motorola,mapphone-cpcap-charger";
23 interrupts-extended = <
24 &cpcap 13 0 &cpcap 12 0 &cpcap 29 0 &cpcap 28 0
25 &cpcap 22 0 &cpcap 21 0 &cpcap 20 0 &cpcap 19 0
29 "chrg_det", "rvrs_chrg", "chrg_se1b", "se0conn",
30 "rvrs_mode", "chrgcurr2", "chrgcurr1", "vbusvld",
32 mode-gpios = <&gpio3 29 GPIO_ACTIVE_LOW
33 &gpio3 23 GPIO_ACTIVE_LOW>;
34 io-channels = <&cpcap_adc 0 &cpcap_adc 1
35 &cpcap_adc 2 &cpcap_adc 5
37 io-channel-names = "battdetb", "battp",