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

From: Armin Wolf
Date: Sun Feb 05 2023 - 15:55:30 EST


Thanks to bugreport 216655 on bugzilla, the contents of the
fan/thermal sensor buffers could be almost completely decoded.

The first patch adds support for exposing the sensor values
over a standard hwmon interface, and the second patch enables
asynchronous probing for the driver since the sensor interface
can be quiet slow.

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.
---
Changes in v2:
- remove already merged patches
- add patch enabling asynchronous probing
- cache sensor buffers
- add missing break statements
- remove C++ style comments
- rework battery hook and hwmon probing
- rework Kconfig dependencies

Armin Wolf (2):
platform/x86: dell-ddv: Add hwmon support
platform/x86: dell-ddv: Prefer asynchronous probing

drivers/platform/x86/dell/Kconfig | 8 +-
drivers/platform/x86/dell/dell-wmi-ddv.c | 494 ++++++++++++++++++++++-
2 files changed, 497 insertions(+), 5 deletions(-)

--
2.30.2