gpio: add sloppy logic analyzer using polling
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 20 Jun 2024 09:41:58 +0000 (11:41 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 1 Jul 2024 08:54:11 +0000 (10:54 +0200)
commit7828b7bbbf2074dd7dd14d87f50bc5ce9036d692
tree4274f1036aab287eff744f22947dad42ee21d061
parent6a9c15083b1662a4b7b36e787272deb696d72c24
gpio: add sloppy logic analyzer using polling

This is a sloppy logic analyzer using GPIOs. It comes with a script to
isolate a CPU for polling. While this is definitely not a production
level analyzer, it can be a helpful first view when remote debugging.
Read the documentation for details.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240620094159.6785-2-wsa+renesas@sang-engineering.com
[Bartosz: moved the Kconfig entry into a different category]
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/dev-tools/gpio-sloppy-logic-analyzer.rst [new file with mode: 0644]
Documentation/dev-tools/index.rst
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-sloppy-logic-analyzer.c [new file with mode: 0644]
tools/gpio/gpio-sloppy-logic-analyzer.sh [new file with mode: 0755]