]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thunderbolt: debugfs: Add USB4 Gen 4 margining capabilities
authorAapo Vienamo <aapo.vienamo@iki.fi>
Thu, 15 Aug 2024 18:45:14 +0000 (21:45 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 1 Nov 2024 05:55:37 +0000 (07:55 +0200)
commitc9077d59adf43c9e9303e4651248839162fd9be6
tree0deee4f088f4ce55e06c449a067b0c4e6c5c5487
parent480ebc2eb5b28474d2e1b780a826d5e8e8997a7a
thunderbolt: debugfs: Add USB4 Gen 4 margining capabilities

Parse the Gen 4 specific capabilities. Change the return types of
independent_voltage_margins() and independent_time_margins() to enums
that distinguish between the Gen 2/3 and Gen 4 margins since they behave
differently between generations.

Signed-off-by: Aapo Vienamo <aapo.vienamo@iki.fi>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/debugfs.c
drivers/thunderbolt/sb_regs.h