[PATCH RFC 0/2] regmap: option to disable debugfs

Dong Aisheng posted 2 patches 3 years, 10 months ago
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(-)
[PATCH RFC 0/2] regmap: option to disable debugfs
Posted by Dong Aisheng 3 years, 10 months ago
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