Lines Matching +full:poll +full:- +full:retry +full:- +full:count
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:
33 The number of times to retry I2C transactions on I2C IO failure.
37 sbs,poll-retry-count:
44 sbs,battery-detect-gpios:
50 sbs,disable-charger-broadcasts:
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;