]> git.ipfire.org Git - thirdparty/linux.git/commit
usb: typec: Export typec bus and typec altmode device type
authorChaoyi Chen <chaoyi.chen@rock-chips.com>
Mon, 8 Dec 2025 01:54:51 +0000 (09:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Dec 2025 13:42:34 +0000 (14:42 +0100)
commit4dee13db29de6dd869af9b3827e1ff569644e838
treeaa3574b1332e86e1a28c430742d21bebd7afe424
parent67ab45426215c7fdccb65aecd4cac15bbe4dfcbb
usb: typec: Export typec bus and typec altmode device type

The DRM may want to register a notifier on the typec bus to know when
a typec altmode device is added, and distinguish between different
types of typec altmode device.

Export these things.

Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://patch.msgid.link/20251208015500.94-3-kernel@airkyi.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/bus.c
drivers/usb/typec/bus.h
drivers/usb/typec/class.c
include/linux/usb/typec.h
include/linux/usb/typec_altmode.h