Thread (5 messages) flat view 5 messages, 3 authors, 2014-10-08

Re: [RFC PATCH 0/2] mfd: syscon: declare holes in syscon register maps

From: Maxime Coquelin <hidden>
Date: 2014-10-08 11:13:35
Also in: linux-arm-kernel, lkml

Hi Seraphin,

On 10/07/2014 03:22 PM, Seraphin Bonnaffe wrote:
In reply to mail: Holes management in syscon driver.

Hi Dong, Maxime, Lee, all,

Regmap also offers .rd_table and .wr_table structures that can be used to
specify valid ranges within agiven regmap configuration.

This patch uses these structures to declare holes in a syscon instance.
It takes the description from DT, and fills in the structures accordingly.

Can I have your opinion on this implementation ?
As discussed face to face, it looks fine to me.

But we would like green light in the new "holes" property introduced.

Thanks,
Maxime
Thanks and Regards,
Seraphin

Seraphin Bonnaffe (2):
   mfd: syscon: Document new DT binding "holes"
   mfd: syscon: specify rd_table and wr_table from DT

  Documentation/devicetree/bindings/mfd/syscon.txt |  5 ++++
  drivers/mfd/syscon.c                             | 35 ++++++++++++++++++++++++
  2 files changed, 40 insertions(+)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help