From patchwork Fri Jan 27 06:40:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 49108 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp686331wrn; Thu, 26 Jan 2023 22:46:25 -0800 (PST) X-Google-Smtp-Source: AK7set8MzF6r5jNCPruIGDzBxM/loDQHCrAuEdrcVvVLuksfMFYDWPE2M8rJBBF5wKM7joFvTJ0A X-Received: by 2002:a17:907:7671:b0:878:60da:1f63 with SMTP id kk17-20020a170907767100b0087860da1f63mr5644937ejc.43.1674801985383; Thu, 26 Jan 2023 22:46:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674801985; cv=none; d=google.com; s=arc-20160816; b=zL4kRYfyjHoeHCMrAYbjauXkdUyDQBdJRuZAPDDd6TipwGqTAgiaci0/oHg4260rpt 2flq/49r3yK+6ps/z6lTZuQT+D9NisvsvaMwJDb4sE6Jonfyni/w+dwnjRZDL+3nNNmk z0rvhtcIOEfz9YPhHqr9EUUKfCfZJxS5lN71+aTjKSK6HrYuQ47lBMpxQmGZaWIWa6x8 77RRvqpA502RUhzGht9D5JJdvDAlKCauhfmlDryP5diDqQFCJUKAixEakxYl26C4Gwxb kyrTmeoGQJwOi5qAuFnwm0Ck3i306cY1/AtglPb39LoIKP2DX482nUgHSzr2vyFChQnA R08Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0tBu6Erz+dlIKmi6Fcf2PLuhswsM+Mn8+mdPYDo4x14=; b=fl138DRU8QVY+xkc9lAsPdbAx89eFPF/goHkDBhaIZKB5xgSj556H3rzNQCzXvSjVt FGLTfZkLRnR4R5baMtxncM4JDWiA0Q48z8gxUAtORBz5lP+IzWAW5ShP3cDGSFU77kNJ B2OjYifUon631TjF2aRK/IhlYNiZbI4of19Xe21mMVhbxGlV/QbbfYHoRh/B3WuCvf5U if+dOI4251F/Ose5tuwES+0j3C7cUF/kN/mQEkJ9H2ZyudLZ6MriVhi1JHZzlQMAprxj qrOY5W7SbTD4Crgv3TcrzMs4yxlUFr/K/mnP+GwsIPqDx8RWfvlLQl8FTU0yexESX3CO 8QzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=2SuElG0d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 22-20020a170906015600b008709928f35asi3881717ejh.367.2023.01.26.22.46.02; Thu, 26 Jan 2023 22:46:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=2SuElG0d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232649AbjA0GmC (ORCPT + 99 others); Fri, 27 Jan 2023 01:42:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232046AbjA0Gk3 (ORCPT ); Fri, 27 Jan 2023 01:40:29 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E63E174C32; Thu, 26 Jan 2023 22:40:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=0tBu6Erz+dlIKmi6Fcf2PLuhswsM+Mn8+mdPYDo4x14=; b=2SuElG0dZjMUm+IcyMMWh43ge6 7wfgozINmdWGJA/BmCuooKFLOzUf6abx+CRWJVB/nrCj8dIalHAgBTH9e88wpmFrnK65/M+YHUlC6 EqexX3bTfz+aJ2udkWFgNeS+OPJVIxQk1sj6KgQbWaIkX186kM6vw9a5+h8R6+L4GqZ/zRD8TnIlt y9kF7cTpjm0PK1p+aXmmj4OyRcYdWfUAyRI8/k58ShYkspQ3EKyhe8cNJCLKX7RsR8jDE3kuxN/qi KrhD26P2QeKQ92+WKZtDsxWtLQiRamsfZGcBU5cbArNGcWcFuvoeRCB+odep4AIi++lSm8H7ITNly Qx2DryIw==; Received: from [2601:1c2:d80:3110::9307] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLIPR-00DM0u-1E; Fri, 27 Jan 2023 06:40:25 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Greg Kroah-Hartman , linux-usb@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH 32/35] Documentation: usb: correct spelling Date: Thu, 26 Jan 2023 22:40:02 -0800 Message-Id: <20230127064005.1558-33-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230127064005.1558-1-rdunlap@infradead.org> References: <20230127064005.1558-1-rdunlap@infradead.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756157166378545224?= X-GMAIL-MSGID: =?utf-8?q?1756157166378545224?= Correct spelling problems for Documentation/usb/ as reported by codespell. Signed-off-by: Randy Dunlap Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org --- Documentation/usb/chipidea.rst | 19 ++++++++++--------- Documentation/usb/gadget-testing.rst | 2 +- Documentation/usb/mass-storage.rst | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff -- a/Documentation/usb/chipidea.rst b/Documentation/usb/chipidea.rst --- a/Documentation/usb/chipidea.rst +++ b/Documentation/usb/chipidea.rst @@ -35,10 +35,10 @@ which can show otg fsm variables and som 1) Power up 2 Freescale i.MX6Q sabre SD boards with gadget class driver loaded (e.g. g_mass_storage). -2) Connect 2 boards with usb cable with one end is micro A plug, the other end +2) Connect 2 boards with usb cable: one end is micro A plug, the other end is micro B plug. - The A-device(with micro A plug inserted) should enumerate B-device. + The A-device (with micro A plug inserted) should enumerate B-device. 3) Role switch @@ -54,18 +54,19 @@ which can show otg fsm variables and som echo 0 > /sys/bus/platform/devices/ci_hdrc.0/inputs/b_bus_req - or, by introducing HNP polling, B-Host can know when A-peripheral wish - to be host role, so this role switch also can be trigged in A-peripheral - side by answering the polling from B-Host, this can be done on A-device:: + or, by introducing HNP polling, B-Host can know when A-peripheral wishes to + be in the host role, so this role switch also can be triggered in + A-peripheral side by answering the polling from B-Host. This can be done on + A-device:: echo 1 > /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req A-device should switch back to host and enumerate B-device. -5) Remove B-device(unplug micro B plug) and insert again in 10 seconds, +5) Remove B-device (unplug micro B plug) and insert again in 10 seconds; A-device should enumerate B-device again. -6) Remove B-device(unplug micro B plug) and insert again after 10 seconds, +6) Remove B-device (unplug micro B plug) and insert again after 10 seconds; A-device should NOT enumerate B-device. if A-device wants to use bus: @@ -105,7 +106,7 @@ July 27, 2012 Revision 2.0 version 1.1a" 2. How to enable USB as system wakeup source -------------------------------------------- Below is the example for how to enable USB as system wakeup source -at imx6 platform. +on an imx6 platform. 2.1 Enable core's wakeup:: @@ -128,6 +129,6 @@ at imx6 platform. echo enabled > /sys/bus/usb/devices/1-1/power/wakeup If the system has only one usb port, and you want usb wakeup at this port, you -can use below script to enable usb wakeup:: +can use the below script to enable usb wakeup:: for i in $(find /sys -name wakeup | grep usb);do echo enabled > $i;done; diff -- a/Documentation/usb/gadget-testing.rst b/Documentation/usb/gadget-testing.rst --- a/Documentation/usb/gadget-testing.rst +++ b/Documentation/usb/gadget-testing.rst @@ -813,7 +813,7 @@ the user must provide the following: ================== ==================================================== Each frame description contains frame interval specification, and each -such specification consists of a number of lines with an inverval value +such specification consists of a number of lines with an interval value in each line. The rules stated above are best illustrated with an example:: # mkdir functions/uvc.usb0/control/header/h diff -- a/Documentation/usb/mass-storage.rst b/Documentation/usb/mass-storage.rst --- a/Documentation/usb/mass-storage.rst +++ b/Documentation/usb/mass-storage.rst @@ -150,7 +150,7 @@ Module parameters - bcdDevice -- USB Device version (BCD) (16 bit integer) - iManufacturer -- USB Manufacturer string (string) - iProduct -- USB Product string (string) - - iSerialNumber -- SerialNumber string (sting) + - iSerialNumber -- SerialNumber string (string) sysfs entries =============