lkml.org 
[lkml]   [2021]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] Add quirks to AMD Sensor Fusion Hub driver
Date
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

\
 
 \ /
  Last update: 2021-01-27 17:30    [W:0.083 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site