From: Jonathan Cameron <jic23@kernel.org>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: linux-kernel@vger.kernel.org, Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>,
linux-input@vger.kernel.org,
Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
linux-iio@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>,
linux-doc@vger.kernel.org
Subject: Re: [PATCH 2/8] Documentation: HID: amd-sfh-hid editing & corrections
Date: Sat, 5 Dec 2020 17:12:47 +0000 [thread overview]
Message-ID: <20201205171247.5225d844@archlinux> (raw)
In-Reply-To: <20201204062022.5095-3-rdunlap@infradead.org>
On Thu, 3 Dec 2020 22:20:16 -0800
Randy Dunlap <rdunlap@infradead.org> wrote:
> Do basic editing & correction to amd-sfh-hid.rst:
> - fix punctuation
> - use HID instead of hid consistently
> - fix grammar, verb tense
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Jiri Kosina <jikos@kernel.org>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> Cc: linux-input@vger.kernel.org
> Cc: linux-iio@vger.kernel.org
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
Trivial suggested addition inline.
> ---
> Documentation/hid/amd-sfh-hid.rst | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> --- linux-next-20201201.orig/Documentation/hid/amd-sfh-hid.rst
> +++ linux-next-20201201/Documentation/hid/amd-sfh-hid.rst
> @@ -3,7 +3,7 @@
>
> AMD Sensor Fusion Hub
> =====================
> -AMD Sensor Fusion Hub (SFH) is part of an SOC starting from Ryzen based platforms.
> +AMD Sensor Fusion Hub (SFH) is part of an SOC starting from Ryzen-based platforms.
> The solution is working well on several OEM products. AMD SFH uses HID over PCIe bus.
> In terms of architecture it resembles ISH, however the major difference is all
> the HID reports are generated as part of the kernel driver.
> @@ -45,20 +45,20 @@ the HID reports are generated as part of
> AMD HID Transport Layer
> -----------------------
> AMD SFH transport is also implemented as a bus. Each client application executing in the AMD MP2 is
> -registered as a device on this bus. Here: MP2 which is an ARM core connected to x86 for processing
> +registered as a device on this bus. Here, MP2 is an ARM core connected to x86 for processing
> sensor data. The layer, which binds each device (AMD SFH HID driver) identifies the device type and
> -registers with the hid core. Transport layer attach a constant "struct hid_ll_driver" object with
> +registers with the HID core. Transport layer attaches a constant "struct hid_ll_driver" object with
> each device. Once a device is registered with HID core, the callbacks provided via this struct are
> used by HID core to communicate with the device. AMD HID Transport layer implements the synchronous calls.
>
> AMD HID Client Layer
> --------------------
> -This layer is responsible to implement HID request and descriptors. As firmware is OS agnostic, HID
> +This layer is responsible to implement HID requests and descriptors. As firmware is OS agnostic, HID
> client layer fills the HID request structure and descriptors. HID client layer is complex as it is
> -interface between MP2 PCIe layer and HID. HID client layer initialized the MP2 PCIe layer and holds
> +interface between MP2 PCIe layer and HID. HID client layer initializes the MP2 PCIe layer and holds
> the instance of MP2 layer. It identifies the number of sensors connected using MP2-PCIe layer. Base
Based ? (maybe)
> -on that allocates the DRAM address for each and every sensor and pass it to MP2-PCIe driver.On
> -enumeration of each the sensor, client layer fills the HID Descriptor structure and HID input repor
> +on that allocates the DRAM address for each and every sensor and passes it to MP2-PCIe driver. On
> +enumeration of each sensor, client layer fills the HID Descriptor structure and HID input report
> structure. HID Feature report structure is optional. The report descriptor structure varies from
> sensor to sensor.
>
> @@ -72,7 +72,7 @@ The communication between X86 and MP2 is
> 2. Data transfer via DRAM.
> 3. Supported sensor info via P2C registers.
>
> -Commands are sent to MP2 using C2P Mailbox registers. Writing into C2P Message registers generate
> +Commands are sent to MP2 using C2P Mailbox registers. Writing into C2P Message registers generates
> interrupt to MP2. The client layer allocates the physical memory and the same is sent to MP2 via
> the PCI layer. MP2 firmware writes the command output to the access DRAM memory which the client
> layer has allocated. Firmware always writes minimum of 32 bytes into DRAM. So as a protocol driver
next prev parent reply other threads:[~2020-12-05 18:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-04 6:20 [PATCH 0/8] Documentation: HID: edit/correct all files Randy Dunlap
2020-12-04 6:20 ` [PATCH 1/8] Documentation: HID: hid-alps editing & corrections Randy Dunlap
2020-12-04 6:20 ` [PATCH 2/8] Documentation: HID: amd-sfh-hid " Randy Dunlap
2020-12-05 17:12 ` Jonathan Cameron [this message]
2020-12-14 0:55 ` Randy Dunlap
2020-12-04 6:20 ` [PATCH 3/8] Documentation: HID: hiddev " Randy Dunlap
2020-12-05 17:17 ` Jonathan Cameron
2020-12-04 6:20 ` [PATCH 4/8] Documentation: HID: intel-ish-hid " Randy Dunlap
2020-12-05 17:24 ` Jonathan Cameron
2020-12-04 6:20 ` [PATCH 5/8] Documentation: HID: hidraw " Randy Dunlap
2020-12-04 6:20 ` [PATCH 6/8] Documentation: HID: hid-sensor " Randy Dunlap
2020-12-04 6:20 ` [PATCH 7/8] Documentation: HID: hid-transport " Randy Dunlap
2020-12-04 6:20 ` [PATCH 8/8] Documentation: HID: uhid " Randy Dunlap
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=20201205171247.5225d844@archlinux \
--to=jic23@kernel.org \
--cc=benjamin.tissoires@redhat.com \
--cc=corbet@lwn.net \
--cc=jikos@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=srinivas.pandruvada@linux.intel.com \
/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;
as well as URLs for NNTP newsgroup(s).