Lines Matching +full:gpio +full:- +full:charger
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
19 - items:
20 - enum:
21 - ti,bq20z65
22 - ti,bq20z75
23 - enum:
24 - sbs,sbs-battery
25 - items:
26 - const: sbs,sbs-battery
31 sbs,i2c-retry-count:
37 sbs,poll-retry-count:
44 sbs,battery-detect-gpios:
46 GPIO which signals battery detection. If this is not supplied, the bus
50 sbs,disable-charger-broadcasts:
54 compliant charger it should be disabled via this property to avoid blocking
55 the bus. Also some SBS battery fuel gauges are known to have a buggy multi-
60 - compatible
61 - reg
66 - |
67 #include <dt-bindings/gpio/gpio.h>
70 #address-cells = <1>;
71 #size-cells = <0>;
74 compatible = "ti,bq20z75", "sbs,sbs-battery";
76 sbs,i2c-retry-count = <2>;
77 sbs,poll-retry-count = <10>;
78 sbs,battery-detect-gpios = <&gpio 122 GPIO_ACTIVE_HIGH>;
79 sbs,disable-charger-broadcasts;