Kconfig 896 B

123456789101112131415161718192021222324252627282930313233343536
  1. menuconfig RT_USING_POWER_SUPPLY
  2. bool "Using Power supply class support"
  3. select RT_USING_ADT
  4. select RT_USING_ADT_REF
  5. select RT_USING_SYSTEM_WORKQUEUE
  6. default n
  7. config RT_POWER_SUPPLY_DAEMON
  8. bool "System supply daemon"
  9. depends on RT_USING_POWER_SUPPLY
  10. default y
  11. if RT_USING_POWER_SUPPLY
  12. comment "Power Supply Device Drivers"
  13. endif
  14. config RT_POWER_SUPPLY_EMU
  15. bool "Emulator battery(thermal)/charger"
  16. depends on RT_USING_POWER_SUPPLY
  17. depends on RT_USING_PM
  18. depends on RT_USING_CONSOLE
  19. depends on RT_USING_MSH
  20. depends on RT_USING_CPU_USAGE_TRACER
  21. default n
  22. config RT_POWER_SUPPLY_CHARGER_GPIO
  23. bool "GPIO charger"
  24. depends on RT_USING_POWER_SUPPLY
  25. depends on RT_USING_DM
  26. depends on RT_USING_OFW
  27. depends on RT_USING_PIN
  28. default y
  29. if RT_USING_POWER_SUPPLY
  30. osource "$(SOC_DM_POWER_SUPPLY_DIR)/Kconfig"
  31. endif