sbs_sbs-battery.txt 621 B

1234567891011121314151617181920212223
  1. SBS sbs-battery
  2. ~~~~~~~~~~
  3. Required properties :
  4. - compatible : "sbs,sbs-battery"
  5. Optional properties :
  6. - sbs,i2c-retry-count : The number of times to retry i2c transactions on i2c
  7. IO failure.
  8. - sbs,poll-retry-count : The number of times to try looking for new status
  9. after an external change notification.
  10. - sbs,battery-detect-gpios : The gpio which signals battery detection and
  11. a flag specifying its polarity.
  12. Example:
  13. bq20z75@b {
  14. compatible = "sbs,sbs-battery";
  15. reg = < 0xb >;
  16. sbs,i2c-retry-count = <2>;
  17. sbs,poll-retry-count = <10>;
  18. sbs,battery-detect-gpios = <&gpio-controller 122 1>;
  19. }