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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx/
- https://lore.kernel.org/lkml/20220114221643.GA7843@xxxxxxxxxxxxxxx/ 
- https://lore.kernel.org/lkml/20220118230312.GA4826@xxxxxxxxxxxxxxx/

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@xxxxxxxxxxxxxxx/

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





[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux