linux/drivers/staging/pi433
Paulo Miguel Almeida 4ef027d5a3 staging: pi433: add debugfs interface
This adds debugfs interface that can be used for debugging possible
hardware/software issues.

It currently exposes the following debugfs entries for each SPI device
probed:

  /sys/kernel/debug/pi433/<DEVICE>/regs
  ...

The 'regs' file contains all rf69 uC registers values that are useful
for troubleshooting misconfigurations between 2 devices. It contains one
register per line so it should be easy to use normal filtering tools to
find the registers of interest if needed.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Paulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
Link: https://lore.kernel.org/r/YfzeEHJcd+qvYGZ8@mail.google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-04 15:25:34 +01:00
..
Documentation staging: pi433: overlay: Convert to sugar syntax 2020-02-23 19:20:49 +01:00
Kconfig staging: pi433: Fix Kconfig indentation 2019-11-20 15:20:29 +01:00
Makefile staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
pi433_if.c staging: pi433: add debugfs interface 2022-02-04 15:25:34 +01:00
pi433_if.h staging: pi433: fix docs typos and references to previous struct names 2021-09-13 08:49:42 +02:00
rf69_enum.h staging: pi433: add docs to packet_format and tx_start_condition enum 2022-01-03 14:30:01 +01:00
rf69_registers.h staging: pi433: add missing register contants 2022-01-26 13:02:41 +01:00
rf69.c staging: pi433: add debugfs interface 2022-02-04 15:25:34 +01:00
rf69.h staging: pi433: add debugfs interface 2022-02-04 15:25:34 +01:00
TODO staging: pi433: remove coding style item from the TODO file 2022-01-31 14:00:11 +01:00