PageRenderTime 16ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Documentation/devicetree/bindings/power_supply/sbs_sbs-battery.txt

https://gitlab.com/webhaikal/SenseiFerrari
Plain Text | 23 lines | 19 code | 4 blank | 0 comment | 0 complexity | 2ef3e611f0f49366b787b892953ae9bf MD5 | raw file
 1SBS sbs-battery
 2~~~~~~~~~~
 3
 4Required properties :
 5 - compatible : "sbs,sbs-battery"
 6
 7Optional properties :
 8 - sbs,i2c-retry-count : The number of times to retry i2c transactions on i2c
 9   IO failure.
10 - sbs,poll-retry-count : The number of times to try looking for new status
11   after an external change notification.
12 - sbs,battery-detect-gpios : The gpio which signals battery detection and
13   a flag specifying its polarity.
14
15Example:
16
17	bq20z75@b {
18		compatible = "sbs,sbs-battery";
19		reg = < 0xb >;
20		sbs,i2c-retry-count = <2>;
21		sbs,poll-retry-count = <10>;
22		sbs,battery-detect-gpios = <&gpio-controller 122 1>;
23	}