[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <76911794-fe8d-411b-bfeb-caa46bc929a6@roeck-us.net>
Date: Wed, 4 Dec 2024 06:00:25 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Eugene Shalygin <eugene.shalygin@...il.com>,
Li XingYang <yanhuoguifan@...il.com>
Cc: jdelvare@...e.com, corbet@....net, linux-hwmon@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/2] hwmon: (asus-ec-sensors) add TUF GAMING X670E PLUS
On 12/4/24 03:31, Eugene Shalygin wrote:
> Hi,
>
> Sorry for the late reply. This patch is OK with me.
>
A Reviewed-by: tag would have been helpful.
Guenter
> Best regards,
> Eugene
>
> On Sun, 1 Dec 2024 at 04:48, Li XingYang <yanhuoguifan@...il.com> wrote:
>>
>> add asus-ec-sensors support on the mainboard TUF GAMING X670E PLUS
>>
>> Signed-off-by: Li XingYang <yanhuoguifan@...il.com>
>> ---
>> Documentation/hwmon/asus_ec_sensors.rst | 1 +
>> drivers/hwmon/asus-ec-sensors.c | 11 +++++++++++
>> 2 files changed, 12 insertions(+)
>>
>> diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
>> index ca38922f4ec5..739636cf7994 100644
>> --- a/Documentation/hwmon/asus_ec_sensors.rst
>> +++ b/Documentation/hwmon/asus_ec_sensors.rst
>> @@ -29,6 +29,7 @@ Supported boards:
>> * ROG STRIX Z690-A GAMING WIFI D4
>> * ROG ZENITH II EXTREME
>> * ROG ZENITH II EXTREME ALPHA
>> + * TUF GAMING X670E PLUS
>>
>> Authors:
>> - Eugene Shalygin <eugene.shalygin@...il.com>
>> diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
>> index 381bf117104f..43e54dc513da 100644
>> --- a/drivers/hwmon/asus-ec-sensors.c
>> +++ b/drivers/hwmon/asus-ec-sensors.c
>> @@ -479,6 +479,15 @@ static const struct ec_board_info board_info_zenith_ii_extreme = {
>> .family = family_amd_500_series,
>> };
>>
>> +static const struct ec_board_info board_info_tuf_gaming_x670e_plus = {
>> + .sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
>> + SENSOR_TEMP_MB | SENSOR_TEMP_VRM |
>> + SENSOR_TEMP_WATER_IN | SENSOR_TEMP_WATER_OUT |
>> + SENSOR_FAN_CPU_OPT,
>> + .mutex_path = ACPI_GLOBAL_LOCK_PSEUDO_PATH,
>> + .family = family_amd_600_series,
>> +};
>> +
>> #define DMI_EXACT_MATCH_ASUS_BOARD_NAME(name, board_info) \
>> { \
>> .matches = { \
>> @@ -540,6 +549,8 @@ static const struct dmi_system_id dmi_table[] = {
>> &board_info_zenith_ii_extreme),
>> DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG ZENITH II EXTREME ALPHA",
>> &board_info_zenith_ii_extreme),
>> + DMI_EXACT_MATCH_ASUS_BOARD_NAME("TUF GAMING X670E-PLUS",
>> + &board_info_tuf_gaming_x670e_plus),
>> {},
>> };
>>
>> --
>> 2.47.1
>>
>
Powered by blists - more mailing lists