[PATCH 0/4] asus-ec-sensors: add support for board families

Eugene Shalygin posted 4 patches 4 years, 2 months ago
There is a newer version of this series
drivers/hwmon/asus-ec-sensors.c | 431 +++++++++++++++++++++++---------
1 file changed, 310 insertions(+), 121 deletions(-)
[PATCH 0/4] asus-ec-sensors: add support for board families
Posted by Eugene Shalygin 4 years, 2 months ago
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