[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210127162600.35927-1-mail@richard-neumann.de>
Date: Wed, 27 Jan 2021 17:25:57 +0100
From: mail@...hard-neumann.de
To: nehal-bakulchandra.shah@....com, sandeep.singh@....com,
mail@...hard-neumann.de, jikos@...nel.org,
benjamin.tissoires@...hat.com, arnd@...db.de,
linux-kernel@...r.kernel.org, linux-input@...r.kernel.org
Subject: [PATCH v2 0/3] Add quirks to AMD Sensor Fusion Hub driver
From: Richard Neumann <mail@...hard-neumann.de>
This patch adds quirks to the upstream (v8) version of the
AMD Sensor Fusion Hub driver.
The quirks provide a function to detect the sensor mask for systems
that do not have it stored in the AMD_P2C_MSG3 register.
The information about the systems IDs and available sensors was
taken from: https://bugzilla.kernel.org/show_bug.cgi?id=199715
Changes since v1:
* Added missing object amd_sfh_quirks.o to amd_sfh-objs
* changed type of "system" in "amd_sfh_quirks_get_sensor_mask"
- struct dmi_system_id -> const struct dmi_system_id
Richard Neumann (3):
Outsourced sensor masks to PCI driver header.
Added quirks to detect sensor masks.
Updated MAINTAINERS
MAINTAINERS | 1 +
drivers/hid/amd-sfh-hid/Makefile | 1 +
drivers/hid/amd-sfh-hid/amd_sfh_pcie.c | 16 +++----
drivers/hid/amd-sfh-hid/amd_sfh_pcie.h | 15 +++++++
drivers/hid/amd-sfh-hid/amd_sfh_quirks.c | 55 ++++++++++++++++++++++++
5 files changed, 79 insertions(+), 9 deletions(-)
create mode 100644 drivers/hid/amd-sfh-hid/amd_sfh_quirks.c
--
2.30.0
Powered by blists - more mailing lists