summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/regmap-debugfs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* regmap: Include the last register in debugfs outputMark Brown2011-09-051-2/+2
| | | | | | | Off by one in the array iteration. Reported-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* regmap: Provide access information via debugfsMark Brown2011-08-141-1/+71
| | | | | | | | | | | | | Let userspace know what the access map for the device is. This is helpful for verifying that the access map is correctly configured and could also be useful for programs that try to work with the data. File format is: register: R W V P where R, W, V and P are 'y' or 'n' showing readable, writable, volatile and precious respectively. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* regmap: Share some of the debugfs infrastructure ready for more filesMark Brown2011-08-141-4/+10
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* regmap: Add functions to check for access on registersMark Brown2011-08-141-4/+2
| | | | | | | We're going to be using these in quite a few places so factor out the readable/writable/volatile/precious checks. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* regmap: Fix type of field width specifiers for x86_64Mark Brown2011-08-091-1/+1
| | | | | | | | x86_64 size_t is not an int but the printf format specifier for size_t should be an int. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
* regmap: Skip precious registers when dumping registers via debugfsMark Brown2011-08-081-0/+4
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* regmap: Provide register map dump via debugfsMark Brown2011-08-081-0/+131
Copy over the read parts of the ASoC debugfs implementation into regmap, allowing users to see what the register values the device has are at runtime. The implementation, especially the support for seeking, is mostly due to Dimitris Papastamos' work in ASoC. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>