Messages in this thread | | | From | mail@richard- ... | Subject | [PATCH v2 0/3] Add quirks to AMD Sensor Fusion Hub driver | Date | Wed, 27 Jan 2021 17:25:57 +0100 |
| |
From: Richard Neumann <mail@richard-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
| |