Kconfig 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. menu "Voltage and Current regulators"
  2. config REGULATOR
  3. bool "Voltage and Current Regulator Support"
  4. default n
  5. help
  6. Generic Voltage and Current Regulator support.
  7. This framework is designed to provide a generic interface to voltage
  8. and current regulators within the Linux kernel. It's intended to
  9. provide voltage and current control to client or consumer drivers and
  10. also provide status information to user space applications through a
  11. sysfs interface.
  12. The intention is to allow systems to dynamically control regulator
  13. output in order to save power and prolong battery life. This applies
  14. to both voltage regulators (where voltage output is controllable) and
  15. current sinks (where current output is controllable).
  16. This framework safely compiles out if not selected so that client
  17. drivers can still be used in systems with no software controllable
  18. regulators.
  19. If unsure, say no.
  20. config REGULATOR_DEBUG
  21. bool "Regulator debug support"
  22. depends on REGULATOR
  23. help
  24. Say yes here to enable debugging support.
  25. config REGULATOR_FIXED_VOLTAGE
  26. tristate
  27. default n
  28. select REGULATOR
  29. config REGULATOR_VIRTUAL_CONSUMER
  30. tristate "Virtual regulator consumer support"
  31. default n
  32. select REGULATOR
  33. help
  34. This driver provides a virtual consumer for the voltage and
  35. current regulator API which provides sysfs controls for
  36. configuring the supplies requested. This is mainly useful
  37. for test purposes.
  38. If unsure, say no.
  39. config REGULATOR_BQ24022
  40. tristate "TI bq24022 Dual Input 1-Cell Li-Ion Charger IC"
  41. default n
  42. select REGULATOR
  43. help
  44. This driver controls a TI bq24022 Charger attached via
  45. GPIOs. The provided current regulator can enable/disable
  46. charging select between 100 mA and 500 mA charging current
  47. limit.
  48. endmenu