Lines Matching +full:pg +full:- +full:gpios

1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Bq24250, bq24251 and bq24257 Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - ti,bq24250
20 - ti,bq24251
21 - ti,bq24257
29 ti,battery-regulation-voltage:
33 ti,charge-current:
37 ti,termination-current:
40 charge will be terminated when current in constant-voltage phase
43 pg-gpios:
45 GPIO used for connecting the bq2425x device PG (Power Good) pin.
47 possible as this is the recommended way to obtain the charger's input PG
48 state. If this pin is not specified a software-based approach for PG
52 ti,current-limit:
57 automatically using USB D+/D- signal based charger type detection.
58 If the hardware does not support the D+/D- based detection, a default
61 ti,ovp-voltage:
67 ti,in-dpm-voltage:
74 - compatible
75 - reg
76 - interrupts
77 - ti,battery-regulation-voltage
78 - ti,charge-current
79 - ti,termination-current
84 - |
85 #include <dt-bindings/gpio/gpio.h>
86 #include <dt-bindings/interrupt-controller/irq.h>
88 #address-cells = <1>;
89 #size-cells = <0>;
94 interrupt-parent = <&gpio1>;
97 pg-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
99 ti,battery-regulation-voltage = <4200000>;
100 ti,charge-current = <1000000>;
101 ti,termination-current = <50000>;
104 - |
105 #include <dt-bindings/gpio/gpio.h>
106 #include <dt-bindings/interrupt-controller/irq.h>
108 #address-cells = <1>;
109 #size-cells = <0>;
114 interrupt-parent = <&gpio1>;
117 ti,battery-regulation-voltage = <4200000>;
118 ti,charge-current = <500000>;
119 ti,termination-current = <50000>;
120 ti,current-limit = <900000>;
121 ti,ovp-voltage = <9500000>;
122 ti,in-dpm-voltage = <4440000>;