usb: typec: Bus type for alternate modes
Introducing a simple bus for the alternate modes. Bus allows binding drivers to the discovered alternate modes the partners support. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Tested-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
4ab8c18d4d
commit
8a37d87d72
@@ -221,5 +221,9 @@ int main(void)
|
||||
DEVID_FIELD(tb_service_id, protocol_version);
|
||||
DEVID_FIELD(tb_service_id, protocol_revision);
|
||||
|
||||
DEVID(typec_device_id);
|
||||
DEVID_FIELD(typec_device_id, svid);
|
||||
DEVID_FIELD(typec_device_id, mode);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user