regmap: Provide access information via debugfs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 10 Aug 2011 08:28:04 +0000 (17:28 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 14 Aug 2011 10:51:16 +0000 (19:51 +0900)
commit449e38427fe57a6120fecd1051981c89ee862b3d
treec8c7d4b24b799c6bf5f601776f7e1671b9a419cf
parent21f555445676e5c7d30bb9b3487cb183d02e45e3
regmap: Provide access information via debugfs

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>
drivers/base/regmap/regmap-debugfs.c