mbox series

[0/5] platform/x86: dell-ddv: Various driver updates

Message ID 20230126194021.381092-1-W_Armin@gmx.de (mailing list archive)
Headers show
Series platform/x86: dell-ddv: Various driver updates | expand

Message

Armin Wolf Jan. 26, 2023, 7:40 p.m. UTC
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