summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorLan Tianyu <tianyu.lan@intel.com>2013-01-20 01:53:32 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-20 16:09:53 -0800
commitcef7468caff29d3333fba4d0ececd82063ce80d5 (patch)
tree5e3a3409f3dc4a37336b2ba05f4893b8f6cb8710 /Documentation/ABI
parent9f7344fbaf191de63df315c7e0fa4c976e2ea419 (diff)
downloadop-kernel-dev-cef7468caff29d3333fba4d0ececd82063ce80d5.zip
op-kernel-dev-cef7468caff29d3333fba4d0ececd82063ce80d5.tar.gz
usb: Add "portX/connect_type" attribute to expose usb port's connect type
Some platforms provide usb port connect types through ACPI. This patch is to add this new attribute to expose these information to user space. Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Lan Tianyu <tianyu.lan@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-usb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-usb b/Documentation/ABI/testing/sysfs-bus-usb
index b6fbe51..c8baaf5 100644
--- a/Documentation/ABI/testing/sysfs-bus-usb
+++ b/Documentation/ABI/testing/sysfs-bus-usb
@@ -227,3 +227,12 @@ Contact: Lan Tianyu <tianyu.lan@intel.com>
Description:
The /sys/bus/usb/devices/.../(hub interface)/portX
is usb port device's sysfs directory.
+
+What: /sys/bus/usb/devices/.../(hub interface)/portX/connect_type
+Date: January 2013
+Contact: Lan Tianyu <tianyu.lan@intel.com>
+Description:
+ Some platforms provide usb port connect types through ACPI.
+ This attribute is to expose these information to user space.
+ The file will read "hotplug", "wired" and "not used" if the
+ information is available, and "unknown" otherwise.
OpenPOWER on IntegriCloud