mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
usb: typec: Add driver for NVIDIA Alt Modes
Latest NVIDIA GPUs support VirtualLink device. Since USBIF has not assigned a Standard ID (SID) for VirtualLink so using NVIDA VID 0x955 as SVID. Signed-off-by: Ajay Gupta <ajayg@nvidia.com> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d266e96820
commit
cf28369c63
5 changed files with 64 additions and 1 deletions
|
@ -5,6 +5,11 @@
|
|||
#include <linux/usb/typec_altmode.h>
|
||||
|
||||
#define USB_TYPEC_DP_SID 0xff01
|
||||
/* USB IF has not assigned a Standard ID (SID) for VirtualLink,
|
||||
* so the manufacturers of VirtualLink adapters use their Vendor
|
||||
* IDs as the SVID.
|
||||
*/
|
||||
#define USB_TYPEC_NVIDIA_VLINK_SID 0x955 /* NVIDIA VirtualLink */
|
||||
#define USB_TYPEC_DP_MODE 1
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue