From: mail@richard-neumann.de
To: nehal-bakulchandra.shah@amd.com, sandeep.singh@amd.com,
mail@richard-neumann.de, corbet@lwn.net, jikos@kernel.org,
benjamin.tissoires@redhat.com, linux-input@vger.kernel.org,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v9 0/8] AMD Sensor Fusion Hub driver refactored
Date: Sat, 23 Jan 2021 14:47:08 +0100 [thread overview]
Message-ID: <20210123134716.13414-1-mail@richard-neumann.de> (raw)
From: Richard Neumann <mail@richard-neumann.de>
This patch series contains a refactored version of AMD's Sensor Fusion Hub driver.
Core changes are:
* Flattened out source code structure.
* Strict separation of driver parts:
- PCI device driver
- Platform driver
- HID low-level driver
* Implemented HID low-level driver as per API description with appropriate functions:
- start / stop
- open / close
- parse
- raw_request
* Added meta information to the respective HID devices.
- sensor type
- bus type
- physical device name
Richard Neumann (8):
Updated MAINTAINERS
Updated documentation
Updated Kconfig
Updated Makefile
Refactored HID descriptor and report generators.
Refactored HID LL driver.
Refactored platform driver
Refactored PCIe driver
Documentation/hid/amd-sfh-hid.rst | 275 +++++++-------
MAINTAINERS | 1 +
drivers/hid/amd-sfh-hid/Kconfig | 4 +-
drivers/hid/amd-sfh-hid/Makefile | 14 +-
...eport_desc.h => amd-sfh-hid-descriptors.h} | 51 ++-
drivers/hid/amd-sfh-hid/amd-sfh-hid-ll-drv.c | 175 +++++++++
drivers/hid/amd-sfh-hid/amd-sfh-hid-ll-drv.h | 41 ++
drivers/hid/amd-sfh-hid/amd-sfh-hid-reports.c | 354 ++++++++++++++++++
drivers/hid/amd-sfh-hid/amd-sfh-hid-reports.h | 102 +++++
drivers/hid/amd-sfh-hid/amd-sfh-pci.c | 226 +++++++++++
drivers/hid/amd-sfh-hid/amd-sfh-pci.h | 112 ++++++
drivers/hid/amd-sfh-hid/amd-sfh-plat.c | 327 ++++++++++++++++
drivers/hid/amd-sfh-hid/amd-sfh-plat.h | 38 ++
drivers/hid/amd-sfh-hid/amd_sfh_client.c | 246 ------------
drivers/hid/amd-sfh-hid/amd_sfh_hid.c | 174 ---------
drivers/hid/amd-sfh-hid/amd_sfh_hid.h | 67 ----
drivers/hid/amd-sfh-hid/amd_sfh_pcie.c | 152 --------
drivers/hid/amd-sfh-hid/amd_sfh_pcie.h | 79 ----
.../hid_descriptor/amd_sfh_hid_desc.c | 224 -----------
.../hid_descriptor/amd_sfh_hid_desc.h | 107 ------
20 files changed, 1539 insertions(+), 1230 deletions(-)
rename drivers/hid/amd-sfh-hid/{hid_descriptor/amd_sfh_hid_report_desc.h => amd-sfh-hid-descriptors.h} (95%)
create mode 100644 drivers/hid/amd-sfh-hid/amd-sfh-hid-ll-drv.c
create mode 100644 drivers/hid/amd-sfh-hid/amd-sfh-hid-ll-drv.h
create mode 100644 drivers/hid/amd-sfh-hid/amd-sfh-hid-reports.c
create mode 100644 drivers/hid/amd-sfh-hid/amd-sfh-hid-reports.h
create mode 100644 drivers/hid/amd-sfh-hid/amd-sfh-pci.c
create mode 100644 drivers/hid/amd-sfh-hid/amd-sfh-pci.h
create mode 100644 drivers/hid/amd-sfh-hid/amd-sfh-plat.c
create mode 100644 drivers/hid/amd-sfh-hid/amd-sfh-plat.h
delete mode 100644 drivers/hid/amd-sfh-hid/amd_sfh_client.c
delete mode 100644 drivers/hid/amd-sfh-hid/amd_sfh_hid.c
delete mode 100644 drivers/hid/amd-sfh-hid/amd_sfh_hid.h
delete mode 100644 drivers/hid/amd-sfh-hid/amd_sfh_pcie.c
delete mode 100644 drivers/hid/amd-sfh-hid/amd_sfh_pcie.h
delete mode 100644 drivers/hid/amd-sfh-hid/hid_descriptor/amd_sfh_hid_desc.c
delete mode 100644 drivers/hid/amd-sfh-hid/hid_descriptor/amd_sfh_hid_desc.h
--
2.30.0
next reply other threads:[~2021-01-23 13:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-23 13:47 mail [this message]
2021-01-23 13:47 ` [PATCH v9 1/8] Updated MAINTAINERS mail
2021-01-23 13:47 ` [PATCH v9 2/8] Updated documentation mail
2021-01-29 1:25 ` Randy Dunlap
2021-01-23 13:47 ` [PATCH v9 3/8] Updated Kconfig mail
2021-01-23 13:47 ` [PATCH v9 4/8] Updated Makefile mail
2021-01-23 13:47 ` [PATCH v9 5/8] Refactored HID descriptor and report generators mail
2021-01-23 13:47 ` [PATCH v9 6/8] Refactored HID LL driver mail
2021-01-23 13:47 ` [PATCH v9 7/8] Refactored platform driver mail
2021-01-23 14:10 ` Richard Neumann
2021-01-23 13:47 ` [PATCH v9 8/8] Refactored PCIe driver mail
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=20210123134716.13414-1-mail@richard-neumann.de \
--to=mail@richard-neumann.de \
--cc=benjamin.tissoires@redhat.com \
--cc=corbet@lwn.net \
--cc=jikos@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nehal-bakulchandra.shah@amd.com \
--cc=sandeep.singh@amd.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.