Lines Matching +full:charge +full:- +full:current
1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/cpcap-charger.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Tony Lindgren <tony@atomide.com>
12 - Sebastian Reichel <sre@kernel.org>
17 sub-function.
20 - $ref: power-supply.yaml#
24 const: motorola,mapphone-cpcap-charger
28 - description: charger detection interrupt
29 - description: reverse charge interrupt
30 - description: SE1 charger detection interrupt
31 - description: SE0 charger detection interrupt
32 - description: reverse mode interrupt
33 - description: charge current 2 interrupt
34 - description: charge current 1 interrupt
35 - description: VBUS valid interrupt
36 - description: battery detect interrupt
38 interrupt-names:
40 - const: chrg_det
41 - const: rvrs_chrg
42 - const: chrg_se1b
43 - const: se0conn
44 - const: rvrs_mode
45 - const: chrgcurr2
46 - const: chrgcurr1
47 - const: vbusvld
48 - const: battdetb
50 io-channels:
52 - description: battery temperature
53 - description: battery voltage
54 - description: VBUS voltage
55 - description: battery charge current
56 - description: battery current
58 io-channel-names:
60 - const: battdetb
61 - const: battp
62 - const: vbus
63 - const: chg_isense
64 - const: batti
66 mode-gpios:
69 charge controller that is controlled with two GPIOs
75 - compatible
76 - interrupts
77 - interrupt-names
78 - io-channels
79 - io-channel-names
84 - |
85 #include <dt-bindings/gpio/gpio.h>
88 compatible = "motorola,mapphone-cpcap-charger";
89 interrupts-extended =
93 interrupt-names =
97 mode-gpios = <&gpio3 29 GPIO_ACTIVE_LOW>,
99 io-channels = <&cpcap_adc 0>, <&cpcap_adc 1>,
102 io-channel-names = "battdetb", "battp",