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 <gurus@codeaurora.org>
This commit is contained in:
Guru Das Srinagesh 2020-03-03 19:09:40 -08:00
commit 832acae949

View file

@ -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