Skip to content

Commit f7ac302

Browse files
Ellie Hermaszewskagroeck
authored andcommitted
hwmon: (asus-ec-sensors) add ROG Crosshair X670E Gene.
Only the temp sensors that I can verify are present. T_Sensor is the temperature reading of a 10kΩ β=3435K NTC thermistor optionally connected to the T_SENSOR header. The other sensors are as found on the X670E Hero. Signed-off-by: Ellie Hermaszewska <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent 6dbd3e0 commit f7ac302

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Documentation/hwmon/asus_ec_sensors.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Supported boards:
1515
* ROG CROSSHAIR VIII HERO
1616
* ROG CROSSHAIR VIII IMPACT
1717
* ROG CROSSHAIR X670E HERO
18+
* ROG CROSSHAIR X670E GENE
1819
* ROG MAXIMUS XI HERO
1920
* ROG MAXIMUS XI HERO (WI-FI)
2021
* ROG STRIX B550-E GAMING

drivers/hwmon/asus-ec-sensors.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ static const struct ec_sensor_info sensors_family_amd_600[] = {
244244
EC_SENSOR("Motherboard", hwmon_temp, 1, 0x00, 0x32),
245245
[ec_sensor_temp_vrm] =
246246
EC_SENSOR("VRM", hwmon_temp, 1, 0x00, 0x33),
247+
[ec_sensor_temp_t_sensor] =
248+
EC_SENSOR("T_Sensor", hwmon_temp, 1, 0x00, 0x36),
247249
[ec_sensor_temp_water_in] =
248250
EC_SENSOR("Water_In", hwmon_temp, 1, 0x01, 0x00),
249251
[ec_sensor_temp_water_out] =
@@ -344,6 +346,14 @@ static const struct ec_board_info board_info_crosshair_x670e_hero = {
344346
.family = family_amd_600_series,
345347
};
346348

349+
static const struct ec_board_info board_info_crosshair_x670e_gene = {
350+
.sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
351+
SENSOR_TEMP_T_SENSOR |
352+
SENSOR_TEMP_MB | SENSOR_TEMP_VRM,
353+
.mutex_path = ACPI_GLOBAL_LOCK_PSEUDO_PATH,
354+
.family = family_amd_600_series,
355+
};
356+
347357
static const struct ec_board_info board_info_crosshair_viii_dark_hero = {
348358
.sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
349359
SENSOR_TEMP_T_SENSOR |
@@ -490,6 +500,8 @@ static const struct dmi_system_id dmi_table[] = {
490500
&board_info_crosshair_viii_hero),
491501
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG CROSSHAIR X670E HERO",
492502
&board_info_crosshair_x670e_hero),
503+
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG CROSSHAIR X670E GENE",
504+
&board_info_crosshair_x670e_gene),
493505
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG MAXIMUS XI HERO",
494506
&board_info_maximus_xi_hero),
495507
DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG MAXIMUS XI HERO (WI-FI)",

0 commit comments

Comments
 (0)