Kconfig 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. config RT_USING_PM
  2. bool "Using Power Management device drivers"
  3. default n
  4. help
  5. Enable the system-level power management framework which coordinates
  6. suspend/resume, tickless idle, and device low-power states. Required when
  7. implementing sleep modes beyond simple tick suppression.
  8. if RT_USING_PM
  9. config PM_TICKLESS_THRESHOLD_TIME
  10. int "PM tickless threashold time"
  11. default 2
  12. help
  13. Minimum idle duration (in milliseconds) before the PM core enters
  14. tickless mode. Tune based on wake-up latency vs power savings.
  15. config PM_USING_CUSTOM_CONFIG
  16. bool "PM using custom pm config"
  17. default n
  18. help
  19. Allow BSPs to provide custom PM policy hooks instead of the stock
  20. configuration.
  21. config PM_ENABLE_DEBUG
  22. bool "PM Enable Debug"
  23. default n
  24. help
  25. Print suspend/resume decisions and timing for debugging purposes.
  26. config PM_ENABLE_SUSPEND_SLEEP_MODE
  27. bool "PM Device suspend change sleep mode"
  28. default n
  29. help
  30. Permit PM to change system sleep mode dynamically when devices
  31. suspend; requires board support.
  32. config PM_ENABLE_THRESHOLD_SLEEP_MODE
  33. bool "PM using threshold time change sleep mode"
  34. default n
  35. help
  36. Automatically select light/deep/standby sleep based on idle time
  37. thresholds configured below.
  38. if PM_ENABLE_THRESHOLD_SLEEP_MODE
  39. config PM_LIGHT_THRESHOLD_TIME
  40. int "PM light mode threashold time"
  41. default 5
  42. help
  43. Idle time in milliseconds required before entering light sleep.
  44. config PM_DEEP_THRESHOLD_TIME
  45. int "PM deep mode threashold time"
  46. default 20
  47. help
  48. Idle duration required before requesting deep sleep.
  49. config PM_STANDBY_THRESHOLD_TIME
  50. int "PM standby mode threashold time"
  51. default 100
  52. help
  53. Idle time before transitioning into standby (longest latency)
  54. mode. Increase if standby exit is expensive.
  55. endif
  56. endif