bq2415x.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Binding for TI bq2415x Li-Ion Charger
  2. Required properties:
  3. - compatible: Should contain one of the following:
  4. * "ti,bq24150"
  5. * "ti,bq24150"
  6. * "ti,bq24150a"
  7. * "ti,bq24151"
  8. * "ti,bq24151a"
  9. * "ti,bq24152"
  10. * "ti,bq24153"
  11. * "ti,bq24153a"
  12. * "ti,bq24155"
  13. * "ti,bq24156"
  14. * "ti,bq24156a"
  15. * "ti,bq24158"
  16. - reg: integer, i2c address of the device.
  17. - ti,current-limit: integer, initial maximum current charger can pull
  18. from power supply in mA.
  19. - ti,weak-battery-voltage: integer, weak battery voltage threshold in mV.
  20. The chip will use slow precharge if battery voltage
  21. is below this value.
  22. - ti,battery-regulation-voltage: integer, maximum charging voltage in mV.
  23. - ti,charge-current: integer, maximum charging current in mA.
  24. - ti,termination-current: integer, charge will be terminated when current in
  25. constant-voltage phase drops below this value (in mA).
  26. - ti,resistor-sense: integer, value of sensing resistor in milliohm.
  27. Optional properties:
  28. - ti,usb-charger-detection: phandle to usb charger detection device.
  29. (required for auto mode)
  30. Example from Nokia N900:
  31. bq24150a {
  32. compatible = "ti,bq24150a";
  33. reg = <0x6b>;
  34. ti,current-limit = <100>;
  35. ti,weak-battery-voltage = <3400>;
  36. ti,battery-regulation-voltage = <4200>;
  37. ti,charge-current = <650>;
  38. ti,termination-current = <100>;
  39. ti,resistor-sense = <68>;
  40. ti,usb-charger-detection = <&isp1704>;
  41. };