[PATCH v2 0/2] staging: pi433: add debugfs interface

Paulo Miguel Almeida posted 2 patches 4 years, 5 months ago
There is a newer version of this series
drivers/staging/pi433/pi433_if.c       | 80 ++++++++++++++++++++++++++
drivers/staging/pi433/rf69.c           |  2 +-
drivers/staging/pi433/rf69.h           |  1 +
drivers/staging/pi433/rf69_registers.h |  2 +
4 files changed, 84 insertions(+), 1 deletion(-)
[PATCH v2 0/2] staging: pi433: add debugfs interface
Posted by Paulo Miguel Almeida 4 years, 5 months ago
When troubleshooting RF applications, one of the most common approaches 
is to ensure that both sides of the communication path are using the 
same configuration such as bit rate, frequency deviation, encryption key,
sync words and so on.

The existing driver implementation doesn't allow the user to see which 
values have been configured onto the uC which makes trobleshooting more 
painful than it needs to be.

This patchset adds debugfs interface to this driver and exposes a 
read-only access to uC reg values to address that problem.

Patch dependency:

This series depend on these patches as they change the same set of files:

- https://lore.kernel.org/lkml/20220108212728.GA7784@mail.google.com/
- https://lore.kernel.org/lkml/20220114221643.GA7843@mail.google.com/ 
- https://lore.kernel.org/lkml/20220118230312.GA4826@mail.google.com/

Changelog:

v2: remove redudant references to dentry pointers in the code and perform 
     debugsfs_lookup instead. Req: Greg k-h  
v1: https://lore.kernel.org/lkml/20220123073855.GA79453@mail.google.com/

Paulo Miguel Almeida (2):
  staging: pi433: add missing register contants
  staging: pi433: add debugfs interface

 drivers/staging/pi433/pi433_if.c       | 80 ++++++++++++++++++++++++++
 drivers/staging/pi433/rf69.c           |  2 +-
 drivers/staging/pi433/rf69.h           |  1 +
 drivers/staging/pi433/rf69_registers.h |  2 +
 4 files changed, 84 insertions(+), 1 deletion(-)

-- 
2.25.4