mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arthur Crepin Leblond <arthur@marmottus.net>
To: linux-usb@vger.kernel.org
Cc: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com>,
	 Ben Hoff <hoff.benjamin.k@gmail.com>,
	 Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	 linux-kernel@vger.kernel.org,
	Arthur Crepin Leblond <arthur@marmottus.net>
Subject: [PATCH v5 2/2] docs: ABI: testing: document hid interval attributes
Date: Wed, 23 Sep 2026 16:44:16 +0200	[thread overview]
Message-ID: <20260923-usb_hid_interval-v5-2-7e0e2879ba8b@marmottus.net> (raw)
In-Reply-To: <20260923-usb_hid_interval-v5-0-7e0e2879ba8b@marmottus.net>

Add usb gadget hid function interval attributes documentation
- interval
- interval_fs
- interval_hs
- interval_ss

Signed-off-by: Arthur Crepin Leblond <arthur@marmottus.net>
---
 Documentation/ABI/testing/configfs-usb-gadget-hid | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/ABI/testing/configfs-usb-gadget-hid b/Documentation/ABI/testing/configfs-usb-gadget-hid
index 748705c4cb58..8e0b987ea5ad 100644
--- a/Documentation/ABI/testing/configfs-usb-gadget-hid
+++ b/Documentation/ABI/testing/configfs-usb-gadget-hid
@@ -10,4 +10,12 @@ Description:
 				except the data passed through /dev/hidg<N>
 		report_length	HID report length
 		subclass	HID device subclass to use
+		interval_fs	HID endpoint bInterval for full-speed
+				(in milliseconds, default: 10)
+		interval_hs	HID endpoint bInterval for high-speed, encoded
+				as 2^(bInterval-1) * 125 us (default: 4, i.e. 1 ms)
+		interval_ss	HID endpoint bInterval for super-speed, encoded
+				as 2^(bInterval-1) * 125 us (default: 4, i.e. 1 ms)
+		interval	HID endpoint bInterval for all speeds.
+				Overwrites the per-speed values above
 		=============	============================================

-- 
2.55.0


      parent reply	other threads:[~2026-09-23 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-23 14:44 [PATCH v5 0/2] usb: gadget: f_hid: allow setting different interval for each speed Arthur Crepin Leblond
2026-09-23 14:44 ` [PATCH v5 1/2] " Arthur Crepin Leblond
2026-09-23 14:44 ` Arthur Crepin Leblond [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260923-usb_hid_interval-v5-2-7e0e2879ba8b@marmottus.net \
    --to=arthur@marmottus.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=hoff.benjamin.k@gmail.com \
    --cc=krishna.kurapati@oss.qualcomm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®