[PATCH RFC 0/2] regmap: option to disable debugfs
From: Dong Aisheng
Date: Mon Jun 20 2022 - 10:32:18 EST
Current regmap core will create debugfs by default for each instance.
However, it's fairly possible that some devices may not work properly
with regmap registers dump via debugfs due to it may be in suspend
state (e.g. Power domain is off).
This patchset allows user to claim no debugfs support due to platform
limitations.
Dong Aisheng (2):
regmap: add option to disable debugfs
soc: imx8m-blk-ctrl: do not export debugfs
drivers/base/regmap/regmap-debugfs.c | 3 ++-
drivers/base/regmap/regmap.c | 3 +++
drivers/soc/imx/imx8m-blk-ctrl.c | 1 +
include/linux/regmap.h | 2 ++
4 files changed, 8 insertions(+), 1 deletion(-)
--
2.25.1