1SBS sbs-battery 2~~~~~~~~~~ 3 4Required properties : 5 - compatible: "<vendor>,<part-number>", "sbs,sbs-battery" as fallback. The 6 part number compatible string might be used in order to take care of 7 vendor specific registers. 8 Known <vendor>,<part-number>: 9 ti,bq20z75 10 11Optional properties : 12 - sbs,i2c-retry-count : The number of times to retry i2c transactions on i2c 13 IO failure. 14 - sbs,poll-retry-count : The number of times to try looking for new status 15 after an external change notification. 16 - sbs,battery-detect-gpios : The gpio which signals battery detection and 17 a flag specifying its polarity. 18 19Example: 20 21 battery@b { 22 compatible = "ti,bq20z75", "sbs,sbs-battery"; 23 reg = <0xb>; 24 sbs,i2c-retry-count = <2>; 25 sbs,poll-retry-count = <10>; 26 sbs,battery-detect-gpios = <&gpio-controller 122 1>; 27 } 28