mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mfd: tps65086: Enable register view in debugfs
@ 2023-11-21  6:32 Andre Werner
  2023-11-23 15:36 ` (subset) " Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Andre Werner @ 2023-11-21  6:32 UTC (permalink / raw)
  To: lee; +Cc: linux-kernel, Andre Werner

Previously there was no output for the regmap's registers
in debugfs due to missing "max_register" property in regmap
configuration.

Signed-off-by: Andre Werner <andre.werner@systec-electronic.com>
---
 drivers/mfd/tps65086.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/tps65086.c b/drivers/mfd/tps65086.c
index 152179ee11ca..fdce81b33f60 100644
--- a/drivers/mfd/tps65086.c
+++ b/drivers/mfd/tps65086.c
@@ -36,6 +36,7 @@ static const struct regmap_config tps65086_regmap_config = {
 	.val_bits = 8,
 	.cache_type = REGCACHE_MAPLE,
 	.volatile_table = &tps65086_volatile_table,
+	.max_register = TPS65086_OC_STATUS,
 };
 
 static const struct regmap_irq tps65086_irqs[] = {
-- 
2.42.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: (subset) [PATCH] mfd: tps65086: Enable register view in debugfs
  2023-11-21  6:32 [PATCH] mfd: tps65086: Enable register view in debugfs Andre Werner
@ 2023-11-23 15:36 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2023-11-23 15:36 UTC (permalink / raw)
  To: lee, Andre Werner; +Cc: linux-kernel

On Tue, 21 Nov 2023 07:32:59 +0100, Andre Werner wrote:
> Previously there was no output for the regmap's registers
> in debugfs due to missing "max_register" property in regmap
> configuration.
> 
> 

Applied, thanks!

[1/1] mfd: tps65086: Enable register view in debugfs
      commit: 0f3f51ebc4a8f096c1bd046115458b7499cf535e

--
Lee Jones [李琼斯]


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-23 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-21  6:32 [PATCH] mfd: tps65086: Enable register view in debugfs Andre Werner
2023-11-23 15:36 ` (subset) " Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®