Lines Matching +full:gpio +full:- +full:charger
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: TI bq2515x 500-mA Linear charger family
11 - Dan Murphy <dmurphy@ti.com>
12 - Ricardo Rivera-Matos <r-rivera-matos@ti.com>
16 integrates the most common functions for wearable devices, namely a charger,
18 push-button controller.
20 Specifications about the charger can be found at:
27 - ti,bq25150
28 - ti,bq25155
32 description: I2C address of the charger.
34 ac-detect-gpios:
36 GPIO used for connecting the bq2515x device PG (AC Detect)
40 reset-gpios:
41 description: GPIO used for hardware reset.
44 powerdown-gpios:
45 description: GPIO used for low power mode of IC.
48 charge-enable-gpios:
49 description: GPIO used to turn on and off charging.
52 input-current-limit-microamp:
58 monitored-battery:
63 - compatible
64 - reg
65 - monitored-battery
70 - |
72 compatible = "simple-battery";
73 constant-charge-current-max-microamp = <50000>;
74 precharge-current-microamp = <2500>;
75 constant-charge-voltage-max-microvolt = <4000000>;
77 #include <dt-bindings/gpio/gpio.h>
79 #address-cells = <1>;
80 #size-cells = <0>;
82 bq25150: charger@6b {
85 monitored-battery = <&bat>;
86 input-current-limit-microamp = <100000>;
88 ac-detect-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
89 reset-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
90 powerdown-gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
91 charge-enable-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;