smb350.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Summit smb350 battery charger
  2. The smb350 charger supports stack-cell battery charging.
  3. The smb350 interface is via I2C bus.
  4. The i2c slave 7-bit address is programmable at manufacture.
  5. Node required properties:
  6. - compatible: Must be "summit,smb350-charger".
  7. - reg: The device 7-bit I2C address.
  8. - summit,stat-gpio gpio which smb350 STAT pin connects to.
  9. - summit,chg-en-n-gpio gpio which control charging enable.
  10. - summit,chg-susp-n-gpio gpio which control device shutdown
  11. - summit,chg-current-ma charging current in milliamps.
  12. - summit,term-current-ma charging termination current in milliamps.
  13. valid values are 200/300/400/500/600/700.
  14. A value of zero means no termination current.
  15. Example:
  16. i2c@f9967000 {
  17. cell-index = <0>;
  18. compatible = "qcom,i2c-qup";
  19. reg = <0Xf9967000 0x1000>;
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. reg-names = "qup_phys_addr";
  23. interrupts = <0 105 0>;
  24. interrupt-names = "qup_err_intr";
  25. qcom,i2c-bus-freq = <100000>;
  26. qcom,i2c-src-freq = <24000000>;
  27. label = "blsp_11";
  28. smb350-charger@2b {
  29. compatible = "summit,smb350-charger";
  30. reg = <0x2b>; /* 0x56/0x57 */
  31. summit,stat-gpio = <&pm8941_gpios 30 0x00>;
  32. summit,chg-en-n-gpio = <&pm8941_gpios 10 0x00>;
  33. summit,chg-susp-n-gpio = <&pm8941_gpios 13 0x00>;
  34. summit,chg-current-ma = <1600>;
  35. summit,term-current-ma = <200>;
  36. };
  37. };