usb: typec: tps6598x: Add trace event for IRQ events
authorGuido Günther <agx@sigxcpu.org>
Mon, 15 Feb 2021 11:46:42 +0000 (12:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:37:14 +0000 (09:37 +0100)
commit95cd85a9d493c34e70e97736f859316d52c7bd61
treeff85036560c86a5fd6cad3d24b311a5bfe34993b
parent99288de36020c5a6976df77e53ac449b0f75c97f
usb: typec: tps6598x: Add trace event for IRQ events

Allow to get irq event information via the tracing framework.  This
allows to inspect USB-C negotiation at runtime.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Guido Günther <agx@sigxcpu.org>
Link: https://lore.kernel.org/r/11444ae487d69da98ec20a18f2e49259e68319e3.1613389531.git.agx@sigxcpu.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/Makefile
drivers/usb/typec/tps6598x.c
drivers/usb/typec/tps6598x.h [new file with mode: 0644]
drivers/usb/typec/tps6598x_trace.h [new file with mode: 0644]