From 7af6b394dee1641cd3c7932d97815b1078393f9f Mon Sep 17 00:00:00 2001 From: SPRESENSE <41312067+SPRESENSE@users.noreply.github.com> Date: Sun, 4 Jul 2021 12:55:16 +0900 Subject: [PATCH] arch: cxd56x: Add Kconfig for power management debug output Add configurations for power management debug output to Kconfig. --- arch/arm/src/cxd56xx/Kconfig | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/src/cxd56xx/Kconfig b/arch/arm/src/cxd56xx/Kconfig index 0b0ae9242f..c168c3e5a6 100644 --- a/arch/arm/src/cxd56xx/Kconfig +++ b/arch/arm/src/cxd56xx/Kconfig @@ -235,6 +235,37 @@ config CXD56_PM_PROCFS ---help--- Enable the power domain status or the clock frequency monitor. +config CXD56_PM_DEBUG + bool "Power Management Debug Features" + default n + ---help--- + Enable power management debug features. + +if CXD56_PM_DEBUG + +config CXD56_PM_DEBUG_ERROR + bool "Power Management Error Output" + default n + depends on DEBUG_ERROR + ---help--- + Enable power management error output to SYSLOG. + +config CXD56_PM_DEBUG_WARN + bool "Power Management Warnings Output" + default n + depends on DEBUG_WARN + ---help--- + Enable power management warning output to SYSLOG. + +config CXD56_PM_DEBUG_INFO + bool "Power Management Informational Output" + default n + depends on DEBUG_INFO + ---help--- + Enable power management informational output to SYSLOG. + +endif # CXD56_PM_DEBUG + endif # CXD56_PM config CXD56_GAUGE