Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp748057pxb; Tue, 14 Sep 2021 07:57:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxq69nk3SiboORkU0FkE6OL+BdAWcLJbiDnBZ0jG6BpVIWY30VC7nFpenfl/Cd+ZZLtzYIp X-Received: by 2002:a05:6638:dc8:: with SMTP id m8mr15090801jaj.93.1631631445991; Tue, 14 Sep 2021 07:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631631445; cv=none; d=google.com; s=arc-20160816; b=y9tAJgMJj9trqTil83qHgkWSZQBQzNa83o2KKdsvbsUZywbrYdEiCFcfrUTMDbeXwg dkzz+kB2obIE9wfH44wvrvxEEko/TQHT9jasiC3poVwUFDWuBTQGc8ttC2DzWibCRkCo iw0ZdEMXvhbnWjq447HP7yAw0ZrJAcv2sdPARhCXDywrBxnvsB9ktiGLU/IcJ4mod9bD +lwbHE21Zt9X/CwfNUQTzqhg7v4xnCOkCE4OiGSbCZxyrRatOAgxHU9rrsL54usrnKFg yj3jl8yn0AJpTwrc6RIR4jkGumz8NBvWmHkLfizlAhAWB744oj2ecvKE2WViWnsLNPBH nvyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2AmpffBWUAImYaHGYxFovQAduxHdOgj3OBxkBhm2HQw=; b=nvlslkbylGiqx7sfCgWftWpVM+DGNezCWFeTHpVXwBHz6JMBhSPNOEkNJTIwyVZXWp 6MsuZQ02DDWEtzchRTIV2s+wmgnBZ3l+0AHa/qTjI/H0uh5iP6vNiWfOvE7GM1ikcgvP YO9st7HdjaAe7PX+hnAU8dR0fNTL9DJfBaYVN7vA8Q70d9MZDhuZLW1wG536GyHjD7uB yL/eZjg/6xwiW/8pn6yIQ54XVlqaJoHy32pWT6m6briADZWaJrvM8+uViL3jFO9gXFGK pP583Hg5rg8kmWgEd9Wcj7IInqKP6ugAOiM5L47ZRKXL67f7AD37kWp65GORyl5VP3ok 957w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KEBKJieV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k17si12376267jav.64.2021.09.14.07.57.14; Tue, 14 Sep 2021 07:57:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KEBKJieV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235057AbhINO5G (ORCPT + 99 others); Tue, 14 Sep 2021 10:57:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:45182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234454AbhINO4q (ORCPT ); Tue, 14 Sep 2021 10:56:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 970A661164; Tue, 14 Sep 2021 14:55:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631631328; bh=laUcrWNgh4sG9e8n2SaYowFQBM6aMmNMsCLr0FPYj3c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KEBKJieVDosQ9sJ4TKYF8/YwlKu8dW7KOEwnlp2uneZbregU8bpAc47xMlFd890se 4XV0rJvjsqbSF+Be0p7kb+5dFKpTK1b7ZXyxO3E3Uyw8l9FoTP1fj7YInt8jGV4wN5 6JZSswTFxFrpGCT1zGZ9BHnYjhO083/+wBtB9NBtzTmKFQe+hjq3A5TyV+5TxKF3oH bmnSvYUcCFyYQhWIdgKLKrC8TIsa9NjiUfzSJyTpUBXIHVp/6TDSgWq3zWatsus4jY Cjb49aLIS0+3qdfHVFPLoJ3F9t6VMRWWvlVjMnqoUssc03butRGBP1QX5sfokVBRoE xjphNK1zY7zKQ== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mQ9qI-000L7D-U6; Tue, 14 Sep 2021 16:55:26 +0200 From: Mauro Carvalho Chehab To: Greg Kroah-Hartman , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , Heikki Krogerus , Jonathan Cameron , Oded Gabbay , Rajat Jain , linux-kernel@vger.kernel.org Subject: [PATCH v2 8/8] ABI: sysfs-bus-usb: add some missing definitions Date: Tue, 14 Sep 2021 16:55:21 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are lots of interface and endpoint properties that are currently missing any documentation. Add a basic one for them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/testing/sysfs-bus-usb | 43 +++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-bus-usb b/Documentation/ABI/testing/sysfs-bus-usb index 42103f0f54d6..197698ad22af 100644 --- a/Documentation/ABI/testing/sysfs-bus-usb +++ b/Documentation/ABI/testing/sysfs-bus-usb @@ -1,4 +1,4 @@ -What: /sys/bus/usb/devices/INTERFACE/authorized +What: /sys/bus/usb/devices//authorized Date: August 2015 Description: This allows to authorize (1) or deauthorize (0) @@ -12,7 +12,46 @@ Description: A deauthorized interface cannot be probed or claimed. -What: /sys/bus/usb/devices/usbX/interface_authorized_default +What: /sys/bus/usb/devices//bAlternateSetting +What: /sys/bus/usb/devices//bcdDevice +What: /sys/bus/usb/devices//bConfigurationValue +What: /sys/bus/usb/devices//bDeviceClass +What: /sys/bus/usb/devices//bDeviceProtocol +What: /sys/bus/usb/devices//bDeviceSubClass +What: /sys/bus/usb/devices//bAlternateSetting +What: /sys/bus/usb/devices//bInterfaceClass +What: /sys/bus/usb/devices//bInterfaceNumber +What: /sys/bus/usb/devices//bInterfaceProtocol +What: /sys/bus/usb/devices//bInterfaceSubClass +What: /sys/bus/usb/devices//bmAttributes +What: /sys/bus/usb/devices//bMaxPacketSize0 +What: /sys/bus/usb/devices//bMaxPower +What: /sys/bus/usb/devices//bNumConfigurations +What: /sys/bus/usb/devices//bNumEndpoints +What: /sys/bus/usb/devices//bNumInterfaces +What: /sys/bus/usb/devices//busnum +What: /sys/bus/usb/devices//configuration +What: /sys/bus/usb/devices//descriptors +What: /sys/bus/usb/devices//bNumEndpoints +What: /sys/bus/usb/devices//idProduct +What: /sys/bus/usb/devices//idVendor + +Description: + Contain the corresponding USB descriptors for . + +What: /sys/bus/usb/devices//ep_/bEndpointAddress +What: /sys/bus/usb/devices//ep_/bInterval +What: /sys/bus/usb/devices//ep_/bLength +What: /sys/bus/usb/devices//ep_/bmAttributes +What: /sys/bus/usb/devices//ep_/direction +What: /sys/bus/usb/devices//ep_/interval +What: /sys/bus/usb/devices//ep_/type +What: /sys/bus/usb/devices//ep_/wMaxPacketSize +Description: + Contain the corresponding USB descriptors for the USB + endpoint ep_. + +What: /sys/bus/usb/devices/usb/interface_authorized_default Date: August 2015 Description: This is used as value that determines if interfaces -- 2.31.1