Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions Documentation/ABI/testing/sysfs-bus-usb-billboard
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
What: /sys/bus/usb/devices/<INTERFACE>/billboard/num_modes
Date: November 2026
Contact: linux-usb@vger.kernel.org
Description:
Number of Alternate Modes listed by the USB Billboard device
(bNumberOfAlternateModes).

What: /sys/bus/usb/devices/<INTERFACE>/billboard/preferred_mode
Date: November 2026
Contact: linux-usb@vger.kernel.org
Description:
Index of the Alternate Mode the device prefers
(bPreferredAlternateMode).

What: /sys/bus/usb/devices/<INTERFACE>/billboard/vconn_power
Date: November 2026
Contact: linux-usb@vger.kernel.org
Description:
VCONN power the device needs to run all its Alternate Modes:
"1W", "1.5W", "2W", "3W", "4W", "5W", "6W", "not-required" or
"reserved".

What: /sys/bus/usb/devices/<INTERFACE>/billboard/version
Date: November 2026
Contact: linux-usb@vger.kernel.org
Description:
Billboard specification version the device implements
(bcdVersion), e.g. "1.21".

What: /sys/bus/usb/devices/<INTERFACE>/billboard/additional_failure_info
Date: November 2026
Contact: linux-usb@vger.kernel.org
Description:
bAdditionalFailureInfo as reported by the device, in hex.

What: /sys/bus/usb/devices/<INTERFACE>/billboard/additional_info_url
Date: November 2026
Contact: linux-usb@vger.kernel.org
Description:
The device's iAddtionalInfoURL string, empty if it has none.

What: /sys/bus/usb/devices/<INTERFACE>/billboard/altmode<N>_svid
What: /sys/bus/usb/devices/<INTERFACE>/billboard/altmode<N>_mode
What: /sys/bus/usb/devices/<INTERFACE>/billboard/altmode<N>_vdo
What: /sys/bus/usb/devices/<INTERFACE>/billboard/altmode<N>_description
Date: November 2026
Contact: linux-usb@vger.kernel.org
Description:
Alternate Mode <N> as listed by the device: the Standard or
Vendor ID in hex (wSVID), the mode index within that SVID
(bAlternateMode), the mode's VDO from the Billboard AUM
Capability descriptor (only present when the device provides
one) and the iAlternateModeString string (empty if none).

What: /sys/bus/usb/devices/<INTERFACE>/billboard/altmode<N>_state
Date: November 2026
Contact: linux-usb@vger.kernel.org
Description:
Result of the host's attempt to enter Alternate Mode <N>, from
bmConfigured: "configured", "not-attempted" (not attempted or
exited), "failed" (attempted but not entered) or "error"
(unspecified error). The driver also logs a warning for each
"failed" or "error" mode when it binds.
1 change: 1 addition & 0 deletions arch/arm64/configs/asahi.config
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ CONFIG_SPI_HID_APPLE_OF=m
CONFIG_SPI_HID_APPLE_CORE=m
CONFIG_USB_DWC3_APPLE=m
CONFIG_USB_VL122_HUB=m
CONFIG_USB_BILLBOARD=m
CONFIG_TYPEC=m
CONFIG_USB4=m
CONFIG_USB4_APPLE_SOC=m
Expand Down
12 changes: 12 additions & 0 deletions drivers/usb/misc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,18 @@ config USB_APPLEDISPLAY
Say Y here if you want to control the backlight of Apple Cinema
Displays over USB. This driver provides a sysfs interface.

config USB_BILLBOARD
tristate "USB Billboard Device Class support"
help
Say Y here to support USB Billboard devices. A USB-C dock, adapter
or display that offers Alternate Modes (DisplayPort, Thunderbolt)
exposes a Billboard device listing those modes and whether the
host entered them. This driver shows that information in sysfs and
logs a warning for each mode the device reports as not entered.

To compile this driver as a module, choose M here: the module will
be called usb-billboard.

config USB_QCOM_EUD
tristate "Qualcomm Embedded USB Debugger(EUD) Driver"
depends on ARCH_QCOM || COMPILE_TEST
Expand Down
1 change: 1 addition & 0 deletions drivers/usb/misc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#
obj-$(CONFIG_USB_ADUTUX) += adutux.o
obj-$(CONFIG_USB_APPLEDISPLAY) += appledisplay.o
obj-$(CONFIG_USB_BILLBOARD) += usb-billboard.o
obj-$(CONFIG_USB_CYPRESS_CY7C63) += cypress_cy7c63.o
obj-$(CONFIG_USB_CYTHERM) += cytherm.o
obj-$(CONFIG_USB_EMI26) += emi26.o
Expand Down
Loading
Loading