diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index c918dfcdec9a..12149ecc39d4 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -575,6 +575,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 QTI_BATTERY_GLINK_DEBUG tristate "Enable support for QTI battery glink debug driver" depends on QTI_PMIC_GLINK