thunderbolt: Add 'generation' attribute for devices
authorChristian Kellner <christian@kellner.me>
Thu, 3 Oct 2019 17:32:40 +0000 (19:32 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 9 Oct 2019 10:03:25 +0000 (13:03 +0300)
commitb406357c572b29cdcf05f717c69ae0018fa6a146
tree5abb9937af6e8cc2cbcac23840cc3a555e7aebfe
parentda0c9ea146cbe92b832f1b0f694840ea8eb33cce
thunderbolt: Add 'generation' attribute for devices

The Thunderbolt standard went through several major iterations, here
called generation. USB4, which will be based on Thunderbolt, will be
generation 4. Let userspace know the generation of the controller in
the devices in order to distinguish between Thunderbolt and USB4, so
it can be shown in various user interfaces.

Signed-off-by: Christian Kellner <christian@kellner.me>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Documentation/ABI/testing/sysfs-bus-thunderbolt
drivers/thunderbolt/switch.c