Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1456458 > unrolled thread

[PATCH 0/2] Display regmap values in debugfs for write only registers

Started byCristian Birsan <cristian.birsan@microchip.com>
First post2016-08-04 17:00 +0200
Last post2016-08-04 17:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] Display regmap values in debugfs for write only registers  Cristian Birsan <cristian.birsan@microchip.com> - 2016-08-04 17:00 +0200

#1456458 — [PATCH 0/2] Display regmap values in debugfs for write only registers

FromCristian Birsan <cristian.birsan@microchip.com>
Date2016-08-04 17:00 +0200
Subject[PATCH 0/2] Display regmap values in debugfs for write only registers
Message-ID<s2shP-28W-3@gated-at.bofh.it>
Hi,

This patch series adds support for dumping write only device registers in
regmap debugfs.This is useful for debuging devices like audio codecs (such 
as WM8731) and maybe other devices. It addresses the problem described in
the following thread: https://lkml.org/lkml/2015/6/13/98

The logic that decides if the values can be printed is moved to
regmap_printable() function to allow for easier future updates.

Please let me know if you have other sugestions.

Kind regards,
Cristian

Cristian Birsan (2):
  regmap: Add a function to check if a regmap register is cached
  regmap: debugfs: Add support for dumping write only device registers

 drivers/base/regmap/internal.h       |  1 +
 drivers/base/regmap/regmap-debugfs.c | 22 ++++++++++++++++++----
 drivers/base/regmap/regmap.c         | 14 ++++++++++++++
 3 files changed, 33 insertions(+), 4 deletions(-)

-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web