1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/linux/asus-ec-x470-i-gaming.patch
3 # Copyright (C) 2023 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- linux-6.3/drivers/hwmon/asus-ec-sensors.c.vanilla 2023-05-09 13:01:16.464659379 +0200
15 +++ linux-6.3/drivers/hwmon/asus-ec-sensors.c 2023-05-09 13:14:49.557655163 +0200
17 .family = family_amd_500_series,
20 +static const struct ec_board_info board_info_strix_x470_i_gaming = {
21 + .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
22 + SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
25 + .mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
26 + .family = family_amd_400_series,
29 static const struct ec_board_info board_info_strix_x570_e_gaming = {
30 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
31 SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
33 &board_info_strix_b550_e_gaming),
34 DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX B550-I GAMING",
35 &board_info_strix_b550_i_gaming),
36 + DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X470-I GAMING",
37 + &board_info_strix_x470_i_gaming),
38 DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X570-E GAMING",
39 &board_info_strix_x570_e_gaming),
40 DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X570-E GAMING WIFI II",