Re: [RFC PATCH] debugfs: add tools to printk 32-bit registers

From: Mark Brown
Date: Wed Nov 16 2011 - 06:31:51 EST


On Tue, Nov 15, 2011 at 01:20:12PM -0800, Greg KH wrote:
> On Tue, Nov 15, 2011 at 02:02:30PM +0100, Alessandro Rubini wrote:

> > Some debugfs file I deal with are mostly blocks of registers,
> > i.e. lines of the form "<name> = 0x<value>". Some files are only
> > registers, some include registers blocks among other material. This
> > patch introduces data structures and functions to deal with both
> > cases. I expect more users of this over time.

> Nice, but a few minor questions:

Hrm, we have something similar in regmap but in the form

number: value

Might be worth looking at that for the seeking implementation, or to
suggest improvements to the regmap one.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/