[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220327121404.1702631-1-eugene.shalygin@gmail.com>
Date: Sun, 27 Mar 2022 14:14:00 +0200
From: Eugene Shalygin <eugene.shalygin@...il.com>
To: eugene.shalygin@...il.com
Cc: darcagn@...tonmail.com, Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/4] asus-ec-sensors: add support for board families
Users provided information for boards from AMD-400 and sTRX40 families
and demonstrated that sensor addresses differ from those for the AMD-500
family. Also the AMD-400 family board uses the global ACPI lock instead
of a dedicated mutex to guard access to the hardware.
This patchset implements required changes to support other board
families:
- per-family sensor definitions
- options to choose hardware/state guard mutex: an AML mutex, the
global ACPI lock, and a regular mutex in case no ACPI lock required.
These changes are used to add support for the PRIME X470-PRO board.
Eugene Shalygin (4):
hwmon: (asus-ec-sensors) introduce ec_board_info struct for board data
hwmon: (asus-ec-sensors) implement locking via the ACPI global lock
hwmon: (asus-ec-sensors) add support for board families
hwmon: (asus-ec-sensors) add PRIME X470-PRO board
drivers/hwmon/asus-ec-sensors.c | 431 +++++++++++++++++++++++---------
1 file changed, 310 insertions(+), 121 deletions(-)
--
2.35.1
Powered by blists - more mailing lists