This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 7af6b394dee1641cd3c7932d97815b1078393f9f
Author: SPRESENSE <41312067+sprese...@users.noreply.github.com>
AuthorDate: Sun Jul 4 12:55:16 2021 +0900

    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 0b0ae92..c168c3e 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

Reply via email to