diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2023-03-17 16:47:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-23 17:25:22 +0100 |
commit | edf1664f3249a091a2b91182fc087b3253b0b4c2 (patch) | |
tree | 918498c17a1bc58093dac442d4429dc04ee3b802 /Documentation/RCU | |
parent | xhci: mem: Join string literals back (diff) | |
download | linux-edf1664f3249a091a2b91182fc087b3253b0b4c2.tar.xz linux-edf1664f3249a091a2b91182fc087b3253b0b4c2.zip |
xhci: dbc: Provide sysfs option to configure dbc descriptors
When DbC is enabled the first port on the xHC host acts as a usb device.
xHC provides the descriptors automatically when the DbC device is
enumerated. Most of the values are hardcoded, but some fields such as
idProduct, idVendor, bcdDevice and bInterfaceProtocol can be modified.
Add sysfs entries that allow userspace to change these.
User can only change them before dbc is enabled, i.e. before writing
"enable" to dbc sysfs file as we don't want these values to change while
device is connected, or during enumeration.
Add documentation for these entries in
Documentation/ABI/testing/sysfs-bus-pci-drivers-xhci_hcd
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20230317154715.535523-9-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/RCU')
0 files changed, 0 insertions, 0 deletions