Messages in this thread |  | | | Date | Fri, 18 Nov 2011 01:20:49 +0100 | | From | Alessandro Rubini <> | | Subject | [PATCH V2 0/2] debugfs: a tool to print 32-bit registers |
| |
This is V2 of what I posted a few days ago. I also updates the file in Documentation. I Cc:d people who gave feedback.
Patch 2 uses the new tool for an existing file I didn't initially notice (I had a victim file, but it's seriously failing compilation). Code removal there is almost zero because Felipe Balbi already did stuff in the way I do.
Mark Brown suggested to look at drivers/base/regmap, and actually this may be duplicating what is already being worked on in a more general way. My code base is earlier than regmap so I didn't notice. Unfortunately I have no resources left to study regmap as it deserves.
Mark, if you say this is not useful at this point, I'm fine with it; I may return with some regbase-aware code when time permits if it's not already there.
/alessandro
Alessandro Rubini (2): debugfs: add tools to printk 32-bit registers usb: dwc3: use debugfs_print_regs32()
Documentation/filesystems/debugfs.txt | 32 +++++++++++- drivers/usb/dwc3/debugfs.c | 15 +---- fs/debugfs/file.c | 90 +++++++++++++++++++++++++++++++++ include/linux/debugfs.h | 26 +++++++++ 4 files changed, 150 insertions(+), 13 deletions(-)
|  |