OSDN Git Service

usb: typec: Bus type for alternate modes
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 27 Jun 2018 15:19:50 +0000 (18:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Jul 2018 15:42:36 +0000 (17:42 +0200)
commit8a37d87d72f0c69f837229c04d2fcd7117ea57e7
tree43cf3111a964678d08fe6638e4459e1c2db50b55
parent4ab8c18d4d67321cc7b660559de17511d4fc0237
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>
14 files changed:
Documentation/ABI/obsolete/sysfs-class-typec [new file with mode: 0644]
Documentation/ABI/testing/sysfs-bus-typec [new file with mode: 0644]
Documentation/ABI/testing/sysfs-class-typec
Documentation/driver-api/usb/typec_bus.rst [new file with mode: 0644]
MAINTAINERS
drivers/usb/typec/Makefile
drivers/usb/typec/bus.c [new file with mode: 0644]
drivers/usb/typec/bus.h [new file with mode: 0644]
drivers/usb/typec/class.c
include/linux/mod_devicetable.h
include/linux/usb/typec.h
include/linux/usb/typec_altmode.h [new file with mode: 0644]
scripts/mod/devicetable-offsets.c
scripts/mod/file2alias.c