ti,bq24735.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. TI BQ24735 Charge Controller
  2. ~~~~~~~~~~
  3. Required properties :
  4. - compatible : "ti,bq24735"
  5. Optional properties :
  6. - interrupts : Specify the interrupt to be used to trigger when the AC
  7. adapter is either plugged in or removed.
  8. - ti,ac-detect-gpios : This GPIO is optionally used to read the AC adapter
  9. presence. This is a Host GPIO that is configured as an input and
  10. connected to the bq24735.
  11. - ti,charge-current : Used to control and set the charging current. This value
  12. must be between 128mA and 8.128A with a 64mA step resolution. The POR value
  13. is 0x0000h. This number is in mA (e.g. 8192), see spec for more information
  14. about the ChargeCurrent (0x14h) register.
  15. - ti,charge-voltage : Used to control and set the charging voltage. This value
  16. must be between 1.024V and 19.2V with a 16mV step resolution. The POR value
  17. is 0x0000h. This number is in mV (e.g. 19200), see spec for more information
  18. about the ChargeVoltage (0x15h) register.
  19. - ti,input-current : Used to control and set the charger input current. This
  20. value must be between 128mA and 8.064A with a 128mA step resolution. The
  21. POR value is 0x1000h. This number is in mA (e.g. 8064), see the spec for
  22. more information about the InputCurrent (0x3fh) register.
  23. Example:
  24. bq24735@9 {
  25. compatible = "ti,bq24735";
  26. reg = <0x9>;
  27. ti,ac-detect-gpios = <&gpio 72 0x1>;
  28. }