Re: [PATCH] regmap: debugfs: Add a registers `range' file

2013-02-11 Thread Dimitris Papastamos
On Mon, Feb 11, 2013 at 01:16:41PM +, Mark Brown wrote: > On Mon, Feb 11, 2013 at 10:52:23AM +, Dimitris Papastamos wrote: > > > +struct regmap_reg_range { > > + unsigned int start; > > + unsigned int end; > > + unsigned int attr; > > +}; > > All we ever do with this struct is >

Re: [PATCH] regmap: debugfs: Add a registers `range' file

2013-02-11 Thread Mark Brown
On Mon, Feb 11, 2013 at 10:52:23AM +, Dimitris Papastamos wrote: > +struct regmap_reg_range { > + unsigned int start; > + unsigned int end; > + unsigned int attr; > +}; All we ever do with this struct is > + r.start = c->base_reg; > + r.end = c->max_reg;

[PATCH] regmap: debugfs: Add a registers `range' file

2013-02-11 Thread Dimitris Papastamos
This file lists the register ranges in the register map. The condition to split the range is based on the actual register attributes. A range is a contiguous block of registers with the same register attributes. Signed-off-by: Dimitris Papastamos --- Hi, This is applied on top of commit

[PATCH] regmap: debugfs: Add a registers `range' file

2013-02-11 Thread Dimitris Papastamos
This file lists the register ranges in the register map. The condition to split the range is based on the actual register attributes. A range is a contiguous block of registers with the same register attributes. Signed-off-by: Dimitris Papastamos d...@opensource.wolfsonmicro.com --- Hi, This

Re: [PATCH] regmap: debugfs: Add a registers `range' file

2013-02-11 Thread Mark Brown
On Mon, Feb 11, 2013 at 10:52:23AM +, Dimitris Papastamos wrote: +struct regmap_reg_range { + unsigned int start; + unsigned int end; + unsigned int attr; +}; All we ever do with this struct is + r.start = c-base_reg; + r.end = c-max_reg; +

Re: [PATCH] regmap: debugfs: Add a registers `range' file

2013-02-11 Thread Dimitris Papastamos
On Mon, Feb 11, 2013 at 01:16:41PM +, Mark Brown wrote: On Mon, Feb 11, 2013 at 10:52:23AM +, Dimitris Papastamos wrote: +struct regmap_reg_range { + unsigned int start; + unsigned int end; + unsigned int attr; +}; All we ever do with this struct is +

[PATCH] regmap: debugfs: Add a registers `range' file

2013-01-30 Thread Dimitris Papastamos
This file lists the register ranges in the register map. The condition to split the range is based on the actual register attributes. A range is a contiguous block of registers with the same register attributes. Signed-off-by: Dimitris Papastamos --- drivers/base/regmap/regmap-debugfs.c | 179

[PATCH] regmap: debugfs: Add a registers `range' file

2013-01-30 Thread Dimitris Papastamos
This file lists the register ranges in the register map. The condition to split the range is based on the actual register attributes. A range is a contiguous block of registers with the same register attributes. Signed-off-by: Dimitris Papastamos d...@opensource.wolfsonmicro.com ---