All of lore.kernel.org
 help / color / mirror / Atom feed
* Holes management in syscon driver
@ 2014-09-25 16:44 ` Maxime Coquelin
  0 siblings, 0 replies; 14+ messages in thread
From: Maxime Coquelin @ 2014-09-25 16:44 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Dong, all,

We use syscon driver on our STi platforms to manage our system config registers.
We declare one syscon instance per sysconf bank.

The problem we are facing is that these banks have holes, and when using regmap's debugfs interface to dump the registers, we get imprecise aborts.

My first idea would be do implement the .readable_reg and .writeable_reg callbacks offered by regmap in syscon driver, and provide ranges where there are registers via DT.
But I am not sure how would look the DT bindings.

What is your view on this?
Are other syscon users having the same issue?

Regards,
Maxime

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

end of thread, other threads:[~2014-10-08 11:13 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-25 16:44 Holes management in syscon driver Maxime Coquelin
2014-09-25 16:44 ` Maxime Coquelin
2014-10-07 13:22 ` [RFC PATCH 0/2] mfd: syscon: declare holes in syscon register maps Seraphin Bonnaffe
2014-10-07 13:22   ` Seraphin Bonnaffe
2014-10-07 13:22   ` Seraphin Bonnaffe
2014-10-07 13:22   ` [RFC PATCH 1/2] mfd: syscon: Document new DT binding "holes" Seraphin Bonnaffe
2014-10-07 13:22     ` Seraphin Bonnaffe
2014-10-07 13:22     ` Seraphin Bonnaffe
2014-10-07 13:22   ` [RFC PATCH 2/2] mfd: syscon: specify rd_table and wr_table from DT Seraphin Bonnaffe
2014-10-07 13:22     ` Seraphin Bonnaffe
2014-10-07 13:22     ` Seraphin Bonnaffe
2014-10-08 11:12   ` [RFC PATCH 0/2] mfd: syscon: declare holes in syscon register maps Maxime Coquelin
2014-10-08 11:12     ` Maxime Coquelin
2014-10-08 11:12     ` Maxime Coquelin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.