[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230126194021.381092-1-W_Armin@gmx.de>
Date: Thu, 26 Jan 2023 20:40:16 +0100
From: Armin Wolf <W_Armin@....de>
To: hdegoede@...hat.com, markgross@...nel.org
Cc: jdelvare@...e.com, linux@...ck-us.net,
platform-driver-x86@...r.kernel.org, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/5] platform/x86: dell-ddv: Various driver updates
Thanks to bugreport 216655 on bugzilla, the contents of the
fan/thermal sensor buffers could be almost completely decoded.
It was also found out that newer Dell notebooks support a new
DDV WMI interface version, which just adds a additional method.
The first patch adds support for this new DDV WMI interface version,
while the second patch simplifies error handling then dealing with
empty buffers. The fourth patch adds a module param useful for testing
the driver on hardware exposing an unsupported DDV WMI interface
version. The last patch finally adds support for exposing the sensor
values over a standard hwmon interface.
The patch series was tested on a Dell Inspiron 3505, with the hwmon
patch being tested by multiple people over bugzilla and email. Those
who tested the final version of the hwmon patch are credited with
Tested-by tags.
Armin Wolf (5):
platform/x86: dell-ddv: Add support for interface version 3
platform/x86: dell-ddv: Return error if buffer is empty
platform/x86: dell-ddv: Replace EIO with ENOMSG
platform/x86: dell-ddv: Add "force" module param
platform/x86: dell-ddv: Add hwmon support
.../admin-guide/kernel-parameters.txt | 3 +
drivers/platform/x86/dell/Kconfig | 1 +
drivers/platform/x86/dell/dell-wmi-ddv.c | 471 +++++++++++++++++-
3 files changed, 465 insertions(+), 10 deletions(-)
--
2.30.2
Powered by blists - more mailing lists