forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/Documentation/devicetree/bindings/power/supply/cpcap-charger.txt
....@@ -5,7 +5,8 @@
55 - interrupts: Interrupt specifier for each name in interrupt-names
66 - interrupt-names: Should contain the following entries:
77 "chrg_det", "rvrs_chrg", "chrg_se1b", "se0conn",
8
- "rvrs_mode", "chrgcurr1", "vbusvld", "battdetb"
8
+ "rvrs_mode", "chrgcurr2", "chrgcurr1", "vbusvld",
9
+ "battdetb"
910 - io-channels: IIO ADC channel specifier for each name in io-channel-names
1011 - io-channel-names: Should contain the following entries:
1112 "battdetb", "battp", "vbus", "chg_isense", "batti"
....@@ -21,11 +22,13 @@
2122 compatible = "motorola,mapphone-cpcap-charger";
2223 interrupts-extended = <
2324 &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
25
+ &cpcap 22 0 &cpcap 21 0 &cpcap 20 0 &cpcap 19 0
26
+ &cpcap 54 0
2527 >;
2628 interrupt-names =
2729 "chrg_det", "rvrs_chrg", "chrg_se1b", "se0conn",
28
- "rvrs_mode", "chrgcurr1", "vbusvld", "battdetb";
30
+ "rvrs_mode", "chrgcurr2", "chrgcurr1", "vbusvld",
31
+ "battdetb";
2932 mode-gpios = <&gpio3 29 GPIO_ACTIVE_LOW
3033 &gpio3 23 GPIO_ACTIVE_LOW>;
3134 io-channels = <&cpcap_adc 0 &cpcap_adc 1