linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v9 0/8] AMD Sensor Fusion Hub driver refactored
@ 2021-01-23 13:47 mail
  2021-01-23 13:47 ` [PATCH v9 1/8] Updated MAINTAINERS mail
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: mail @ 2021-01-23 13:47 UTC (permalink / raw)
  To: nehal-bakulchandra.shah, sandeep.singh, mail, corbet, jikos,
	benjamin.tissoires, linux-input, linux-doc, linux-kernel

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-01-29  1:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-23 13:47 [PATCH v9 0/8] AMD Sensor Fusion Hub driver refactored mail
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

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).