From f4ec9d39d01f445f45cd7fce79bd0ddd691c1c16 Mon Sep 17 00:00:00 2001 From: Guru Das Srinagesh Date: Tue, 3 Mar 2020 19:09:40 -0800 Subject: [PATCH] soc: Kconfig: Add QTI_PMIC_GLINK_CLIENT_DEBUG This option enables the generation of debugfs files in PMIC GLINK client drivers that are strictly meant for internal debugging only. Change-Id: I0c0c27b38754dcc694a4b98d6cd29e4a78cd7426 Signed-off-by: Guru Das Srinagesh --- drivers/soc/qcom/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index e90b810ee55c..2121ebfffeb5 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -229,6 +229,16 @@ config QTI_PMIC_GLINK charging and gauging. This enables clients to read and write battery charging parameters. +config QTI_PMIC_GLINK_CLIENT_DEBUG + depends on QTI_PMIC_GLINK && DEBUG_FS + bool "Enable debugfs features in PMIC GLINK client drivers" + help + This option enables the generation of debugfs files in PMIC GLINK + client drivers that are strictly meant for internal debugging only. + Writing to these debug files changes key physical parameters of a + system, which may lead to instability. Therefore, this option should + never be enabled on production devices. + config QCOM_SECURE_BUFFER tristate "Helper functions for secure buffers through TZ" depends on QCOM_SCM