Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp1314793rwb; Sat, 3 Sep 2022 12:52:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR7R6O6R4PuPKlswdVxRegzF+8ttUK27NGH760mDapMFv4q86iRwIwVdNE9oBFGqyvZpsx9t X-Received: by 2002:a05:6a00:1a14:b0:52d:3e35:5b38 with SMTP id g20-20020a056a001a1400b0052d3e355b38mr42623695pfv.11.1662234720333; Sat, 03 Sep 2022 12:52:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662234720; cv=none; d=google.com; s=arc-20160816; b=Ob2oi/6X0ztMlj9z/eLHoXoYv4hnVtsVzgXpQI53PkAbrt8mr30NPJ7tC82vMjmrFu a/kOMb+8Bg8rYm/KGt7/EbdDxT5zpet2sEOkSib6mVi1NG5+/rNIVx9FxFxKPoQsvsKm rJwh5d0+9DVKEfyQRa0kogC66wq+aUKonEgRyTu8d+M+uotqLeLomMAVK1/3IQyFidjw 3SWAhmfmL/4pUYYR1tI3TzOy0f9nfyLR1PAjh7lAh269vh8KiEVf7fCI2j2G+YDqjKVG H2g50r8LWzR/FL4nm8GV4Cyb2xRQOIQM1k4QDqO/MWQdOTtQwRtQwrHY8Pu6uBf7I0qL Qu8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=T1/52acLzPH3fpYJ42n+mkhnZLrM5YDLaNq5+3CgHSI=; b=jezf3Xt5dN88odDo2VE8t0v3pvdfRq3lE9KOMi7FazM40zmB3i6snV/mLW5YjXc9jU SNm3Ryr2HxsvaEu70MV31V1RjJFJ/FNaoSfvAj704QccLV02nXyQhD0ZwioL7dy0OZRU Fu91DXS84dIaZWQTRwiLumHRENo7qZ4coR3fWyMBib0Dcc2YP2QqiKBROiCsiilcCk5S rWsWbmZ2UUpmZ4v02N26EybxbKq5QnkPMj7gC5irDxRtZ3pFzQIBPBldOecQ7la29Rgl LxXMDHJqUFKdeGDvWuWWan4lw1HsY90g5pq8g/AX4Ll8sE98wWhjwdqLZFlpVYLxlaku hYcg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d1-20020a170903230100b00172f237cd04si6258681plh.108.2022.09.03.12.51.48; Sat, 03 Sep 2022 12:52:00 -0700 (PDT) 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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232303AbiICSkY (ORCPT + 99 others); Sat, 3 Sep 2022 14:40:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232351AbiICSkU (ORCPT ); Sat, 3 Sep 2022 14:40:20 -0400 Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 796EF1A802; Sat, 3 Sep 2022 11:40:17 -0700 (PDT) Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-344fc86d87cso27377477b3.3; Sat, 03 Sep 2022 11:40:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=T1/52acLzPH3fpYJ42n+mkhnZLrM5YDLaNq5+3CgHSI=; b=xQ//ZkXVI4Fz0UPYUDhhm6EwXb/+6VCMW4xQJRc8whheAzQmFFf3N6bev4hFj6Cnrt 2J1KAXI/LfdH1Rz4LnSwfiNtp0HUjSdq3y801G2HHFV7Qrsof/R7AVyYX+oMrzjoSpOS TMeMszg1ZMFIkiez8ZfTGgJDXrTJs3lvG2wSgo+ON9/jYteIdyfY225TmN93AFJctngi B0r2pQHEG0WjsFSIjSa/xQktYleEDcDu0F3p1OxD6aXeZRJBB1dXH6cSU+xvABG9x0gS fpgwasmOoswPuC0liZo7FnG8Ok0XNLUGaclcsgYadMuFjZ/jjv4o99txB34d8VEAc+mA 2jug== X-Gm-Message-State: ACgBeo2VReVWeq6geeDSuNFGZTbmi1EGolEygyO7mEZQjOvBzu8seFAf zzbMmQ66Qyb1bFOgQXcV8WxbJ9Z5mRoh02pkC9w= X-Received: by 2002:a0d:c841:0:b0:33d:bf96:f823 with SMTP id k62-20020a0dc841000000b0033dbf96f823mr31304559ywd.326.1662230416723; Sat, 03 Sep 2022 11:40:16 -0700 (PDT) MIME-Version: 1.0 References: <20220826151457.7c13a407@endymion.delvare> In-Reply-To: From: "Rafael J. Wysocki" Date: Sat, 3 Sep 2022 20:40:04 +0200 Message-ID: Subject: Re: [PATCH] ACPI: docs: enumeration: Fix a few typos and wording mistakes To: Andy Shevchenko , Jean Delvare Cc: ACPI Devel Maling List , "Rafael J. Wysocki" , Len Brown , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Fri, Aug 26, 2022 at 5:31 PM Andy Shevchenko wrote: > > On Fri, Aug 26, 2022 at 4:14 PM Jean Delvare wrote: > > > > "sturct" -> "struct" > > "similar than with" -> "similar to" > > Missing comma, "it" and "to" > > Makes sense to me, thanks! > Reviewed-by: Andy Shevchenko > > > Signed-off-by: Jean Delvare > > Cc: "Rafael J. Wysocki" > > Cc: Len Brown > > --- > > Documentation/firmware-guide/acpi/enumeration.rst | 16 ++++++++-------- > > 1 file changed, 8 insertions(+), 8 deletions(-) > > > > --- linux-5.19.orig/Documentation/firmware-guide/acpi/enumeration.rst 2022-08-26 12:46:35.307949217 +0200 > > +++ linux-5.19/Documentation/firmware-guide/acpi/enumeration.rst 2022-08-26 15:02:50.245981296 +0200 > > @@ -21,7 +21,7 @@ In order to support this and re-use the > > - Devices behind real busses where there is a connector resource > > are represented as struct spi_device or struct i2c_device. Note > > that standard UARTs are not busses so there is no struct uart_device, > > - although some of them may be represented by sturct serdev_device. > > + although some of them may be represented by struct serdev_device. > > > > As both ACPI and Device Tree represent a tree of devices (and their > > resources) this implementation follows the Device Tree way as much as > > @@ -205,7 +205,7 @@ enumerated once spi_register_master() is > > } > > ... > > > > -The SPI device drivers only need to add ACPI IDs in a similar way than with > > +The SPI device drivers only need to add ACPI IDs in a similar way to > > the platform device drivers. Below is an example where we add ACPI support > > to at25 SPI eeprom driver (this is meant for the above ACPI snippet):: > > > > @@ -362,7 +362,7 @@ These GPIO numbers are controller relati > > specifies the path to the controller. In order to use these GPIOs in Linux > > we need to translate them to the corresponding Linux GPIO descriptors. > > > > -There is a standard GPIO API for that and is documented in > > +There is a standard GPIO API for that and it is documented in > > Documentation/admin-guide/gpio/. > > > > In the above example we can get the corresponding two GPIO descriptors with > > @@ -538,8 +538,8 @@ information. > > PCI hierarchy representation > > ============================ > > > > -Sometimes could be useful to enumerate a PCI device, knowing its position on the > > -PCI bus. > > +Sometimes it could be useful to enumerate a PCI device, knowing its position on > > +the PCI bus. > > > > For example, some systems use PCI devices soldered directly on the mother board, > > in a fixed position (ethernet, Wi-Fi, serial ports, etc.). In this conditions it > > @@ -550,7 +550,7 @@ To identify a PCI device, a complete hie > > the chipset root port to the final device, through all the intermediate > > bridges/switches of the board. > > > > -For example, let us assume to have a system with a PCIe serial port, an > > +For example, let's assume we have a system with a PCIe serial port, an > > Exar XR17V3521, soldered on the main board. This UART chip also includes > > 16 GPIOs and we want to add the property ``gpio-line-names`` [1] to these pins. > > In this case, the ``lspci`` output for this component is:: > > @@ -593,8 +593,8 @@ To describe this Exar device on the PCI > > > > Bus: 0 - Device: 14 - Function: 1 > > > > -To find this information is necessary disassemble the BIOS ACPI tables, in > > -particular the DSDT (see also [2]):: > > +To find this information, it is necessary to disassemble the BIOS ACPI tables, > > +in particular the DSDT (see also [2]):: > > > > mkdir ~/tables/ > > cd ~/tables/ > > > > > > -- Applied as 6.1 material, thanks!