bq25890.txt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Binding for TI bq25890 Li-Ion Charger
  2. Required properties:
  3. - compatible: Should contain one of the following:
  4. * "ti,bq25890"
  5. - reg: integer, i2c address of the device.
  6. - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV);
  7. - ti,charge-current: integer, maximum charging current (in uA);
  8. - ti,termination-current: integer, charge will be terminated when current in
  9. constant-voltage phase drops below this value (in uA);
  10. - ti,precharge-current: integer, maximum charge current during precharge
  11. phase (in uA);
  12. - ti,minimum-sys-voltage: integer, when battery is charging and it is below
  13. minimum system voltage, the system will be regulated above
  14. minimum-sys-voltage setting (in uV);
  15. - ti,boost-voltage: integer, VBUS voltage level in boost mode (in uV);
  16. - ti,boost-max-current: integer, maximum allowed current draw in boost mode
  17. (in uA).
  18. Optional properties:
  19. - ti,boost-low-freq: boolean, if present boost mode frequency will be 500kHz,
  20. otherwise 1.5MHz;
  21. - ti,use-ilim-pin: boolean, if present the ILIM resistor will be used and the
  22. input current will be the lower between the resistor setting and the IINLIM
  23. register setting;
  24. - ti,thermal-regulation-threshold: integer, temperature above which the charge
  25. current is lowered, to avoid overheating (in degrees Celsius). If omitted,
  26. the default setting will be used (120 degrees);
  27. Example:
  28. bq25890 {
  29. compatible = "ti,bq25890";
  30. reg = <0x6a>;
  31. ti,battery-regulation-voltage = <4200000>;
  32. ti,charge-current = <1000000>;
  33. ti,termination-current = <50000>;
  34. ti,precharge-current = <128000>;
  35. ti,minimum-sys-voltage = <3600000>;
  36. ti,boost-voltage = <5000000>;
  37. ti,boost-max-current = <1000000>;
  38. ti,use-ilim-pin;
  39. ti,thermal-regulation-threshold = <120>;
  40. };