thunderbolt: Expose router DROM through debugfs
authorMika Westerberg <mika.westerberg@linux.intel.com>
Sat, 21 Dec 2024 12:52:43 +0000 (14:52 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Sun, 5 Jan 2025 08:35:03 +0000 (10:35 +0200)
commit43d84701d2aa147eab39b529919ffaf35f724bbb
tree58560c8749e19270ef98494032357267fb8898b1
parentd6d458d42e1e1544a18f37f1d5c840e00d5261b9
thunderbolt: Expose router DROM through debugfs

Router DROM contains information that might be usable for development
and debugging purposes. For example when new entries are added to the
USB4 spec it is useful to be able to look for them without need to
change the kernel.

For this reason expose the DROM through debugfs.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/debugfs.c
drivers/thunderbolt/eeprom.c
drivers/thunderbolt/tb.h