summaryrefslogtreecommitdiff
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorŁukasz Bartosik <ukaszb@chromium.org>2026-01-20 20:11:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-23 17:16:24 +0100
commitdb7fd1955e6825756d0241343add1d172098bb18 (patch)
tree90344efe962e84f47b5a1084847234e4b234d3c8 /Documentation/ABI
parent33d15312e35d4cfd26b68ab4c1b0143cc43d8b16 (diff)
downloadlinux-next-db7fd1955e6825756d0241343add1d172098bb18.tar.gz
linux-next-db7fd1955e6825756d0241343add1d172098bb18.zip
xhci: dbc: allow setting manufacturer string through sysfs
Add dbc_manufacturer sysfs attribute to allow changing the manufacturer description presented by the debug device when a host requests a string descriptor with iManufacturer index. Value can only be changed while debug capability (DbC) is in disabled state to prevent USB device descriptor change while connected to a USB host. The default value is "Linux Foundation". The string length can be from 1 to 126 characters. String is terminated at null or newline, driver does not support empty string. [ mn: Improve commit message and sysfs entry documentation ] Signed-off-by: Łukasz Bartosik <ukaszb@chromium.org> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://patch.msgid.link/20260120181148.128712-5-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-pci-drivers-xhci_hcd13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-pci-drivers-xhci_hcd b/Documentation/ABI/testing/sysfs-bus-pci-drivers-xhci_hcd
index d153162d6045..d10e6de3adb2 100644
--- a/Documentation/ABI/testing/sysfs-bus-pci-drivers-xhci_hcd
+++ b/Documentation/ABI/testing/sysfs-bus-pci-drivers-xhci_hcd
@@ -114,3 +114,16 @@ Description:
connected to a USB host.
The default value is "Linux USB Debug Target".
The field length can be from 1 to 126 characters.
+
+What: /sys/bus/pci/drivers/xhci_hcd/.../dbc_manufacturer
+Date: January 2026
+Contact: Łukasz Bartosik <ukaszb@chromium.org>
+Description:
+ The dbc_manufacturer attribute allows to change the manufacturer
+ string descriptor presented by the debug device when a host
+ requests a string descriptor with iManufacturer index.
+ Value can only be changed while debug capability (DbC) is in
+ disabled state to prevent USB device descriptor change while
+ connected to a USB host.
+ The default value is "Linux Foundation".
+ The field length can be from 1 to 126 characters.