linux/Documentation/ABI/testing
Richard Leitner 1cbd53c8cd usb: core: introduce per-port over-current counters
For some userspace applications information on the number of
over-current conditions at specific USB hub ports is relevant.

In our case we have a series of USB hardware (using the cp210x driver)
which communicates using a proprietary protocol. These devices sometimes
trigger an over-current situation on some hubs. In case of such an
over-current situation the USB devices offer an interface for reducing
the max used power. As these conditions are quite rare and imply
performance reductions of the device we don't want to reduce the max
power always.

Therefore give user-space applications the possibility to react
adequately by introducing an over_current_counter in the usb port struct
which is exported via sysfs.

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-22 13:07:05 +01:00
..
configfs-acpi ACPI: add support for loading SSDTs via configfs 2016-07-08 21:52:36 +02:00
configfs-iio Documentation: iio: Add IIO software devices docs 2016-05-04 11:44:15 +01:00
configfs-rdma_cm IB/cma: Add default RoCE TOS to CMA configfs 2017-02-15 09:51:28 -05:00
configfs-spear-pcie-gadget
configfs-stp-policy
configfs-usb-gadget
configfs-usb-gadget-acm
configfs-usb-gadget-ecm
configfs-usb-gadget-eem
configfs-usb-gadget-ffs
configfs-usb-gadget-hid
configfs-usb-gadget-loopback
configfs-usb-gadget-mass-storage
configfs-usb-gadget-midi
configfs-usb-gadget-ncm
configfs-usb-gadget-obex
configfs-usb-gadget-phonet
configfs-usb-gadget-printer
configfs-usb-gadget-rndis usb: gadget: add RNDIS configfs options for class/subclass/protocol 2017-08-15 14:18:56 +03:00
configfs-usb-gadget-serial
configfs-usb-gadget-sourcesink
configfs-usb-gadget-subset
configfs-usb-gadget-tcm
configfs-usb-gadget-uac1 usb: gadget: add f_uac1 variant based on a new u_audio api 2017-06-19 09:22:47 +03:00
configfs-usb-gadget-uac1_legacy usb: gadget: function: make current f_uac1 implementation legacy 2017-06-19 09:22:47 +03:00
configfs-usb-gadget-uac2
configfs-usb-gadget-uvc Documentation: configfs-usb-gadget-uvc: fix kernel version 2016-05-31 11:12:58 +03:00
debugfs-driver-genwqe
debugfs-ec
debugfs-ideapad
debugfs-olpc
debugfs-pfo-nx-crypto
debugfs-pktcdvd
dell-smbios-wmi platform/x86: dell-smbios-wmi: introduce userspace interface 2017-11-03 16:34:00 -07:00
dev-kmsg
devlink-resource-mlxsw mlxsw: documentation: Add resources ABI documentation 2018-01-16 14:15:35 -05:00
evm EVM: Allow userland to permit modification of EVM-protected metadata 2017-12-11 14:27:31 -05:00
gpio-cdev
ima_policy ima: support new "hash" and "dont_hash" policy actions 2017-12-18 09:43:38 -05:00
ppc-memtrace Add documentation for the powerpc memtrace debugfs files 2017-08-28 22:09:43 +10:00
procfs-diskstats
procfs-smaps_rollup mm: add /proc/pid/smaps_rollup 2017-09-06 17:27:30 -07:00
pstore
rtc-cdev Documentation: rtc: move iotcl interface documentation to ABI 2018-01-12 00:20:41 +01:00
sysfs-ata
sysfs-block block: remove the discard_zeroes_data flag 2017-04-08 11:25:38 -06:00
sysfs-block-bcache
sysfs-block-dm
sysfs-block-rssd
sysfs-block-zram zram: add config and doc file for writeback feature 2017-09-06 17:27:25 -07:00
sysfs-bus-acpi
sysfs-bus-amba
sysfs-bus-bcma
sysfs-bus-coresight-devices-etb10 coresight: etb10: splitting sysFS "status" entry 2016-05-01 14:12:14 -07:00
sysfs-bus-coresight-devices-etm3x
sysfs-bus-coresight-devices-etm4x coresight: etm4x: adding config and traceid registers 2016-05-01 14:12:14 -07:00
sysfs-bus-coresight-devices-funnel
sysfs-bus-coresight-devices-stm coresight: stm: adding driver for CoreSight STM component 2016-05-03 14:59:30 -07:00
sysfs-bus-coresight-devices-tmc coresight: tmc: adding sysFS management entries 2016-05-03 14:59:30 -07:00
sysfs-bus-css
sysfs-bus-event_source-devices-events
sysfs-bus-event_source-devices-format
sysfs-bus-event_source-devices-hv_24x7 Documentation: fix common spelling mistakes 2016-04-28 07:51:59 -06:00
sysfs-bus-event_source-devices-hv_gpci
sysfs-bus-fcoe
sysfs-bus-fsi drivers/fsi: Document FSI master sysfs files in ABI 2017-06-09 11:52:09 +02:00
sysfs-bus-fsl-mc staging: fsl-mc: add sysfs ABI doc 2016-12-08 21:00:08 +01:00
sysfs-bus-hsi
sysfs-bus-i2c-devices-bq32k rtc: bq32000: add support to enable disable the trickle charge FET bypass 2017-02-01 12:44:23 +01:00
sysfs-bus-i2c-devices-fsa9480
sysfs-bus-i2c-devices-hm6352
sysfs-bus-i2c-devices-lm3533
sysfs-bus-iio iio: ABI: Fix name of timestamp sysfs file 2018-01-08 16:03:42 +01:00
sysfs-bus-iio-accel-bmc150
sysfs-bus-iio-adc-envelope-detector iio: envelope-detector: ADC driver based on a DAC and a comparator 2016-11-13 13:07:17 +00:00
sysfs-bus-iio-adc-hi8435
sysfs-bus-iio-adc-max9611 iio: Documentation: Add max9611 sysfs documentation 2017-04-08 17:26:03 +01:00
sysfs-bus-iio-adc-stm32 iio: adc: stm32: add trigger polarity extended attribute 2017-01-28 18:24:57 +00:00
sysfs-bus-iio-chemical-vz89x
sysfs-bus-iio-counter-104-quad-8 iio: Generalize counting direction modes 2017-03-05 11:22:56 +00:00
sysfs-bus-iio-cros-ec platform/chrome: Add cros_ec_accel_legacy driver 2017-10-14 20:34:01 +01:00
sysfs-bus-iio-dac-dpot-dac iio: dpot-dac: DAC driver based on a digital potentiometer 2016-11-13 13:07:15 +00:00
sysfs-bus-iio-dfsdm-adc-stm32 IIO: ADC: add stm32 DFSDM support for PDM microphone 2018-01-10 10:30:13 +00:00
sysfs-bus-iio-distance-srf08 iio: distance: srf08: add driver ABI documentation 2017-01-28 16:38:33 +00:00
sysfs-bus-iio-frequency-ad9523
sysfs-bus-iio-frequency-adf4350
sysfs-bus-iio-gyro-bmg160
sysfs-bus-iio-health-afe440x iio: health/afe440x: Make gain settings a modifier for the stages 2016-05-04 11:11:30 +01:00
sysfs-bus-iio-humidity-hdc100x
sysfs-bus-iio-ina2xx-adc
sysfs-bus-iio-light-isl29018 staging: iio: isl29018: add ABI documentation for infrared suppression 2016-10-23 19:33:55 +01:00
sysfs-bus-iio-light-lm3533-als
sysfs-bus-iio-light-tsl2583 staging: iio: tsl2583: move out of staging 2016-11-13 13:07:33 +00:00
sysfs-bus-iio-lptimer-stm32 iio: counter: Add support for STM32 LPTimer 2017-09-04 14:49:30 +01:00
sysfs-bus-iio-magnetometer-hmc5843
sysfs-bus-iio-meas-spec iio: Documentation: sysfs-bus-iio-meas-spec: Remove (partially) duplicate line 2017-05-07 14:39:17 +01:00
sysfs-bus-iio-mpu6050
sysfs-bus-iio-potentiometer-mcp4531 iio: mcp4531: provide range of available raw values 2016-11-13 11:40:26 +00:00
sysfs-bus-iio-proximity-as3935 iio: proximity: as3935: noise detection + threshold changes 2017-09-25 19:49:21 +01:00
sysfs-bus-iio-timer-stm32 iio: make stm32 trigger driver use INDIO_HARDWARE_TRIGGERED mode 2017-06-11 15:59:05 +01:00
sysfs-bus-iio-trigger-sysfs
sysfs-bus-iio-vf610
sysfs-bus-intel_th-devices-gth
sysfs-bus-intel_th-devices-msc
sysfs-bus-intel_th-devices-pti
sysfs-bus-intel_th-output-devices
sysfs-bus-mcb mcb: export bus information via sysfs 2016-05-03 15:07:35 -07:00
sysfs-bus-mdio
sysfs-bus-media
sysfs-bus-mei
sysfs-bus-mmc mmc: core: export emmc revision 2017-10-30 11:46:04 +01:00
sysfs-bus-pci pci-v4.12-changes 2017-05-08 19:03:25 -07:00
sysfs-bus-pci-devices-cciss
sysfs-bus-pci-drivers-ehci_hcd
sysfs-bus-pci-drivers-janz-cmodio
sysfs-bus-pci-drivers-xhci_hcd usb: xhci: Add DbC support in xHCI driver 2017-12-08 17:43:52 +01:00
sysfs-bus-platform
sysfs-bus-rbd rbd: add force close option 2016-08-24 23:49:17 +02:00
sysfs-bus-rpmsg
sysfs-bus-siox siox: new driver framework for eckelmann SIOX 2017-12-19 09:26:00 +01:00
sysfs-bus-thunderbolt thunderbolt: Add support for XDomain discovery protocol 2017-10-02 11:24:41 -07:00
sysfs-bus-umc
sysfs-bus-usb usb: core: introduce per-port over-current counters 2018-03-22 13:07:05 +01:00
sysfs-bus-usb-devices-usbsevseg
sysfs-bus-usb-lvstest usb: misc: lvstest: add entry to place port in compliance mode 2017-08-28 11:43:39 +02:00
sysfs-bus-vfio-mdev docs: Sysfs ABI for mediated device framework 2016-11-17 09:18:43 -07:00
sysfs-c2port
sysfs-cfq-target-latency
sysfs-class
sysfs-class-backlight-driver-adp8870
sysfs-class-backlight-driver-lm3533
sysfs-class-bdi
sysfs-class-cxl cxl: Prevent adapter reset if an active context exists 2016-10-19 20:35:39 +11:00
sysfs-class-devfreq
sysfs-class-devfreq-event PM / devfreq: Simplify the sysfs name of devfreq-event device 2017-01-31 16:57:05 +09:00
sysfs-class-extcon
sysfs-class-fpga-bridge add sysfs document for fpga bridge class 2016-11-10 17:03:35 +01:00
sysfs-class-fpga-manager
sysfs-class-infiniband
sysfs-class-iommu
sysfs-class-iommu-amd-iommu
sysfs-class-iommu-intel-iommu
sysfs-class-lcd
sysfs-class-led leds: class: Add new optional brightness_hw_changed attribute 2017-01-29 19:59:42 +01:00
sysfs-class-led-driver-lm3533
sysfs-class-led-flash
sysfs-class-led-trigger-netdev leds: trigger: Introduce a NETDEV trigger 2018-01-08 21:28:11 +01:00
sysfs-class-led-trigger-oneshot Documentation: move oneshot trigger attributes documentation to ABI 2016-08-29 15:06:32 +02:00
sysfs-class-led-trigger-usbport usb: core: Introduce a USB port LED trigger 2016-09-27 12:20:17 +02:00
sysfs-class-leds-gt683r
sysfs-class-mei mei: show the HBM protocol versions in the device attributes 2016-10-31 04:00:09 -06:00
sysfs-class-mic.txt Documentation: mic: fix kernel version 2016-08-30 14:45:50 +02:00
sysfs-class-mtd Documentation: ABI: mtd: describe "offset" more precisely 2017-07-13 10:54:45 -07:00
sysfs-class-mux mux: minimal mux subsystem 2017-06-03 19:29:26 +09:00
sysfs-class-net net: core: Expose number of link up/down transitions 2018-01-22 15:42:05 -05:00
sysfs-class-net-batman-adv batman-adv: update elp interval documentation 2016-06-30 10:29:43 +02:00
sysfs-class-net-cdc_ncm
sysfs-class-net-grcan
sysfs-class-net-janz-ican3
sysfs-class-net-mesh
sysfs-class-net-phydev net: phy: add XAUI and 10GBASE-KR PHY connection types 2017-06-06 21:14:13 -04:00
sysfs-class-net-qmi Documentation: ABI: testing: sysfs-class-net-qmi: add new qmap mux files description 2017-03-25 20:03:35 -07:00
sysfs-class-net-queues
sysfs-class-net-statistics
sysfs-class-ocxl ocxl: Documentation 2018-01-27 20:02:24 +11:00
sysfs-class-pktcdvd
sysfs-class-power power: supply: Change Krzysztof Kozlowski's email to kernel.org 2016-08-17 14:15:58 +02:00
sysfs-class-power-twl4030 power: supply: twl4030-charger: remove nonstandard max_current sysfs attribute 2017-06-08 13:05:28 +02:00
sysfs-class-powercap
sysfs-class-pwm pwm: sysfs: Add PWM capture support 2016-06-10 16:01:40 +02:00
sysfs-class-rc [media] rc: change wakeup_protocols to list all protocol variants 2017-01-30 12:15:12 -02:00
sysfs-class-rc-nuvoton [media] media: rc: nuvoton: switch attribute wakeup_data to text 2016-03-05 08:22:03 -03:00
sysfs-class-regulator
sysfs-class-remoteproc Update MIPS email addresses 2017-11-03 09:02:30 -07:00
sysfs-class-rtc Documentation: rtc: add sysfs file permissions 2018-01-12 00:20:41 +01:00
sysfs-class-rtc-rtc0-device-rtc_calibration ABI: rtc-ab8500: fix rtc_calibration documentation 2016-10-30 21:05:47 +01:00
sysfs-class-scsi_host
sysfs-class-scsi_tape
sysfs-class-stm stm class: Support devices that override software assigned masters 2016-05-03 14:59:30 -07:00
sysfs-class-stm_source
sysfs-class-switchtec switchtec: Add sysfs attributes to the Switchtec driver 2017-04-12 12:23:37 -05:00
sysfs-class-typec usb: typec: Add a sysfs node to manage port type 2017-06-03 18:02:58 +09:00
sysfs-class-uwb_rc
sysfs-class-uwb_rc-wusbhc
sysfs-class-watchdog
sysfs-class-zram
sysfs-dev
sysfs-devices
sysfs-devices-coredump sysfs: add attribute specification for /sysfs/devices/.../coredump 2018-01-23 09:47:05 +01:00
sysfs-devices-edac EDAC: Expose per-DIMM error counts in sysfs 2017-01-19 10:29:40 +01:00
sysfs-devices-firmware_node
sysfs-devices-lpss_ltr
sysfs-devices-memory
sysfs-devices-mmc
sysfs-devices-online
sysfs-devices-platform-_UDC_-gadget
sysfs-devices-platform-docg3
sysfs-devices-platform-dock ACPI: dock: document sysfs interface 2018-02-12 11:24:55 +01:00
sysfs-devices-platform-sh_mobile_lcdc_fb
sysfs-devices-power PM / QoS: Fix device resume latency framework 2017-11-08 12:14:51 +01:00
sysfs-devices-power_resources_D0
sysfs-devices-power_resources_D1
sysfs-devices-power_resources_D2
sysfs-devices-power_resources_D3hot
sysfs-devices-power_resources_wakeup
sysfs-devices-power_state
sysfs-devices-real_power_state
sysfs-devices-resource_in_use
sysfs-devices-soc
sysfs-devices-sun
sysfs-devices-system-cpu Documentation/ABI: update cpuidle sysfs documentation 2018-02-12 11:03:21 +01:00
sysfs-devices-system-ibm-rtl Documentation/ABI: ibm_rtl: The "What:" fields are incomplete 2016-11-01 09:27:33 -07:00
sysfs-devices-system-xen_cpu
sysfs-driver-altera-cvp fpga manager: Add Altera CvP driver 2017-07-17 17:26:15 +02:00
sysfs-driver-genwqe
sysfs-driver-hid
sysfs-driver-hid-corsair
sysfs-driver-hid-lenovo
sysfs-driver-hid-logitech-lg4ff HID: hid-logitech: Documentation updates/corrections 2016-09-26 15:39:56 +02:00
sysfs-driver-hid-multitouch
sysfs-driver-hid-picolcd Documentation: fix common spelling mistakes 2016-04-28 07:51:59 -06:00
sysfs-driver-hid-prodikeys
sysfs-driver-hid-roccat-kone
sysfs-driver-hid-srws1
sysfs-driver-hid-wiimote
sysfs-driver-input-axp-pek
sysfs-driver-intel-rapid-start
sysfs-driver-pciback
sysfs-driver-ppi
sysfs-driver-samsung-laptop platform/x86: samsung-laptop: Grammar s/are can/can/ 2017-12-21 14:56:27 +02:00
sysfs-driver-st
sysfs-driver-tegra-fuse
sysfs-driver-toshiba_acpi Documentation/ABI: Update sysfs-driver-toshiba_acpi file 2016-03-23 10:05:37 -07:00
sysfs-driver-toshiba_haps
sysfs-driver-w1_ds28e17 add w1_ds28e17 driver for the DS28E17 Onewire to I2C master bridge 2017-10-04 10:29:22 +02:00
sysfs-driver-wacom HID: wacom: leds: use the ledclass instead of custom made sysfs files 2016-08-05 13:39:19 +02:00
sysfs-driver-xen-blkback
sysfs-driver-xen-blkfront
sysfs-firmware-acpi ACPI / scan: Drop support for force_remove 2017-04-13 03:51:47 +02:00
sysfs-firmware-dmi-entries
sysfs-firmware-dmi-tables
sysfs-firmware-efi
sysfs-firmware-efi-esrt
sysfs-firmware-efi-runtime-map
sysfs-firmware-gsmi
sysfs-firmware-log
sysfs-firmware-memmap
sysfs-firmware-ofw of: document /sys/firmware/fdt 2017-06-30 09:16:51 -05:00
sysfs-firmware-opal-powercap powerpc/powernv: Add support for powercap framework 2017-08-10 22:39:53 +10:00
sysfs-firmware-opal-psr powerpc/powernv: Add support to set power-shifting-ratio 2017-08-10 22:40:01 +10:00
sysfs-firmware-qemu_fw_cfg
sysfs-firmware-sfi
sysfs-firmware-sgi_uv
sysfs-fs-ext4
sysfs-fs-f2fs f2fs: introduce sysfs readdir_ra to readahead inode block in readdir 2018-01-02 19:27:27 -08:00
sysfs-fs-nilfs2
sysfs-fs-xfs
sysfs-hypervisor-xen xen: add sysfs node for hypervisor build id 2017-06-15 08:50:37 +02:00
sysfs-ibft ibft: Expose iBFT acpi header via sysfs 2016-05-16 11:14:29 -04:00
sysfs-kernel-boot_params
sysfs-kernel-fscaps
sysfs-kernel-iommu_groups iommu: Implement reserved_regions iommu-group sysfs file 2017-01-23 11:48:16 +00:00
sysfs-kernel-irq genirq: Expose interrupt information through sysfs 2016-09-14 15:28:15 +02:00
sysfs-kernel-livepatch livepatch: force transition to finish 2017-12-07 13:21:35 +01:00
sysfs-kernel-mm
sysfs-kernel-mm-hugepages
sysfs-kernel-mm-ksm
sysfs-kernel-mm-swap mm, swap: use page-cluster as max window of VMA based swap readahead 2017-10-13 16:18:33 -07:00
sysfs-kernel-slab docs: fix locations of several documents that got moved 2016-10-24 08:12:35 -02:00
sysfs-kernel-uids
sysfs-kernel-vmcoreinfo
sysfs-memory-page-offline
sysfs-module
sysfs-ocfs2
sysfs-platform-asus-laptop
sysfs-platform-asus-wmi
sysfs-platform-at91
sysfs-platform-brcmstb-gisb-arb
sysfs-platform-chipidea-usb2 usb: chipidea: core: add sysfs group 2017-04-14 09:26:37 +08:00
sysfs-platform-chipidea-usb-otg
sysfs-platform-dell-laptop
sysfs-platform-dell-smbios platform/x86: dell-smbios: Add a sysfs interface for SMBIOS tokens 2017-11-03 16:33:59 -07:00
sysfs-platform-dptf ACPI / DPTF: Document dptf_power sysfs atttributes 2018-02-12 11:22:47 +01:00
sysfs-platform-eeepc-laptop
sysfs-platform-hidma dmaengine: qcom_hidma: Wrong domain name in the email address 2017-01-02 10:42:33 +05:30
sysfs-platform-hidma-mgmt dmaengine: qcom_hidma: Wrong domain name in the email address 2017-01-02 10:42:33 +05:30
sysfs-platform-i2c-demux-pinctrl i2c: mux: demux-pinctrl: Update docs to new sysfs-attributes 2016-04-07 21:13:02 +02:00
sysfs-platform-ideapad-laptop platform/x86: ideapad-laptop: Add sysfs interface for touchpad state 2017-05-15 12:06:09 +03:00
sysfs-platform-intel-wmi-thunderbolt platform/x86: Add driver to force WMI Thunderbolt controller power status 2017-09-20 16:07:22 +03:00
sysfs-platform-kim
sysfs-platform-msi-laptop
sysfs-platform-phy-rcar-gen3-usb2 phy: rcar-gen3-usb2: add sysfs for usb role swap 2016-11-18 18:19:15 +05:30
sysfs-platform-renesas_usb3 usb: gadget: udc: renesas_usb3: add support for usb role swap 2017-04-11 10:58:25 +03:00
sysfs-platform-sst-atom ASoC: Intel: Add ASoC Intel SST Atom sysfs description 2016-12-05 17:22:27 +00:00
sysfs-platform-tahvo-usb
sysfs-platform-ts5500
sysfs-platform-twl4030-usb
sysfs-platform-usbip-vudc Documentation: ABI: Add doc for usbip-vudc attributes 2016-04-28 12:28:08 -07:00
sysfs-power A relatively calm cycle for the docs tree again. 2017-11-13 08:25:06 -08:00
sysfs-pps
sysfs-profiling
sysfs-ptp
sysfs-tty
sysfs-uevent doc: update kernel version in sysfs-uevent ABI doc 2017-05-27 11:51:36 +02:00
sysfs-wusb_cbaf