aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/power_supply/ti_bq20z75.txt
blob: 7571294f41105d51191635224ba086c49654d192 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
TI bq20z75
~~~~~~~~~~

Required properties :
 - compatible : "ti,bq20z75"

Optional properties :
 - ti,i2c-retry-count : The number of times to retry i2c transactions on i2c
   IO failure.
 - ti,poll-retry-count : The number of times to try looking for new status
   after an external change notification.
 - ti,battery-detect-gpios : The gpio which signals battery detection and
   a flag specifying its polarity.

Example:

	bq20z75@b {
		compatible = "ti,bq20z75";
		reg = < 0xb >;
		ti,i2c-retry-count = <2>;
		ti,poll-retry-count = <10>;
		ti,battery-detect-gpios = <&gpio-controller 122 1>;
	}