rt9455_charger.txt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Binding for Richtek rt9455 battery charger
  2. Required properties:
  3. - compatible: it should contain one of the following:
  4. "richtek,rt9455".
  5. - reg: integer, i2c address of the device.
  6. - interrupts: interrupt mapping for GPIO IRQ, it should be
  7. configured with IRQ_TYPE_LEVEL_LOW flag.
  8. - richtek,output-charge-current: integer, output current from the charger to the
  9. battery, in uA.
  10. - richtek,end-of-charge-percentage: integer, percent of the output charge current.
  11. When the current in constant-voltage phase drops
  12. below output_charge_current x end-of-charge-percentage,
  13. charge is terminated.
  14. - richtek,battery-regulation-voltage: integer, maximum battery voltage in uV.
  15. - richtek,boost-output-voltage: integer, maximum voltage provided to consumer
  16. devices, when the charger is in boost mode, in uV.
  17. Optional properties:
  18. - richtek,min-input-voltage-regulation: integer, input voltage level in uV, used to
  19. decrease voltage level when the over current
  20. of the input power source occurs.
  21. This prevents input voltage drop due to insufficient
  22. current provided by the power source.
  23. Default: 4500000 uV (4.5V)
  24. - richtek,avg-input-current-regulation: integer, input current value in uA drained by the
  25. charger from the power source.
  26. Default: 500000 uA (500mA)
  27. Example:
  28. rt9455@22 {
  29. compatible = "richtek,rt9455";
  30. reg = <0x22>;
  31. interrupt-parent = <&gpio1>;
  32. interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
  33. richtek,output-charge-current = <500000>;
  34. richtek,end-of-charge-percentage = <10>;
  35. richtek,battery-regulation-voltage = <4200000>;
  36. richtek,boost-output-voltage = <5050000>;
  37. richtek,min-input-voltage-regulation = <4500000>;
  38. richtek,avg-input-current-regulation = <500000>;
  39. };