linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] (asus-ec-sensors) add two more boards
@ 2023-04-05 22:43 Eugene Shalygin
  2023-04-05 22:43 ` [PATCH 1/2] hwmon: (asus-ec-sensors) add ProArt B550-Creator Eugene Shalygin
  2023-04-05 22:43 ` [PATCH 2/2] hwmon: (asus-ec-sensors) add ROG STRIX Z390-F GAMING Eugene Shalygin
  0 siblings, 2 replies; 5+ messages in thread
From: Eugene Shalygin @ 2023-04-05 22:43 UTC (permalink / raw)
  To: eugene.shalygin
  Cc: Jean Delvare, Guenter Roeck, Jonathan Corbet, linux-hwmon,
	linux-doc, linux-kernel

Adds sensor definitions for two more boards, provided and tested by
users using this driver or Libre Hardware Monitor.

Eugene Shalygin (1):
  hwmon: (asus-ec-sensors) add ROG STRIX Z390-F GAMING

fireflame90051 (1):
  hwmon: (asus-ec-sensors) add ProArt B550-Creator

 Documentation/hwmon/asus_ec_sensors.rst |  2 ++
 drivers/hwmon/asus-ec-sensors.c         | 20 ++++++++++++++++++++
 2 files changed, 22 insertions(+)

-- 
2.40.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] hwmon: (asus-ec-sensors) add ProArt B550-Creator
  2023-04-05 22:43 [PATCH 0/2] (asus-ec-sensors) add two more boards Eugene Shalygin
@ 2023-04-05 22:43 ` Eugene Shalygin
  2023-04-07 15:53   ` Guenter Roeck
  2023-04-05 22:43 ` [PATCH 2/2] hwmon: (asus-ec-sensors) add ROG STRIX Z390-F GAMING Eugene Shalygin
  1 sibling, 1 reply; 5+ messages in thread
From: Eugene Shalygin @ 2023-04-05 22:43 UTC (permalink / raw)
  To: eugene.shalygin
  Cc: fireflame90051, Jean Delvare, Guenter Roeck, Jonathan Corbet,
	linux-hwmon, linux-doc, linux-kernel

From: fireflame90051 <cacoukoulis@gmail.com>

Add support for the ASUS ProArt B550-Creator board, was tested
with the hardware [1].

[1] https://github.com/zeule/asus-ec-sensors/issues/35

Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Signed-off-by: fireflame90051 <cacoukoulis@gmail.com>
---
 Documentation/hwmon/asus_ec_sensors.rst |  1 +
 drivers/hwmon/asus-ec-sensors.c         | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
index a4039f2f9ca4..f1c9b1e11268 100644
--- a/Documentation/hwmon/asus_ec_sensors.rst
+++ b/Documentation/hwmon/asus_ec_sensors.rst
@@ -8,6 +8,7 @@ Supported boards:
  * PRIME X570-PRO
  * Pro WS X570-ACE
  * ProArt X570-CREATOR WIFI
+ * ProArt B550-CREATOR
  * ROG CROSSHAIR VIII DARK HERO
  * ROG CROSSHAIR VIII HERO (WI-FI)
  * ROG CROSSHAIR VIII FORMULA
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index 2768b7511684..594fe7241111 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -303,6 +303,14 @@ static const struct ec_board_info board_info_pro_art_x570_creator_wifi = {
 	.family = family_amd_500_series,
 };
 
+static const struct ec_board_info board_info_pro_art_b550_creator = {
+	.sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
+		SENSOR_TEMP_T_SENSOR |
+		SENSOR_FAN_CPU_OPT,
+	.mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+	.family = family_amd_500_series,
+};
+
 static const struct ec_board_info board_info_pro_ws_x570_ace = {
 	.sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
 		SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET |
@@ -435,6 +443,8 @@ static const struct dmi_system_id dmi_table[] = {
 					&board_info_prime_x570_pro),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ProArt X570-CREATOR WIFI",
 					&board_info_pro_art_x570_creator_wifi),
+	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ProArt B550-CREATOR",
+					&board_info_pro_art_b550_creator),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("Pro WS X570-ACE",
 					&board_info_pro_ws_x570_ace),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG CROSSHAIR VIII DARK HERO",
-- 
2.40.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] hwmon: (asus-ec-sensors) add ROG STRIX Z390-F GAMING
  2023-04-05 22:43 [PATCH 0/2] (asus-ec-sensors) add two more boards Eugene Shalygin
  2023-04-05 22:43 ` [PATCH 1/2] hwmon: (asus-ec-sensors) add ProArt B550-Creator Eugene Shalygin
@ 2023-04-05 22:43 ` Eugene Shalygin
  2023-04-07 15:54   ` Guenter Roeck
  1 sibling, 1 reply; 5+ messages in thread
From: Eugene Shalygin @ 2023-04-05 22:43 UTC (permalink / raw)
  To: eugene.shalygin
  Cc: Jean Delvare, Guenter Roeck, Jonathan Corbet, linux-hwmon,
	linux-doc, linux-kernel

The definition comes from a LHM PR [1], and the mutex path from
the ACPI dump, kindly provided by the PR author [2]

[1] https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/pull/1031
[2] https://github.com/zeule/asus-ec-sensors/issues/36

Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
---
 Documentation/hwmon/asus_ec_sensors.rst |  1 +
 drivers/hwmon/asus-ec-sensors.c         | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
index f1c9b1e11268..c92c1d3839e4 100644
--- a/Documentation/hwmon/asus_ec_sensors.rst
+++ b/Documentation/hwmon/asus_ec_sensors.rst
@@ -22,6 +22,7 @@ Supported boards:
  * ROG STRIX X570-E GAMING WIFI II
  * ROG STRIX X570-F GAMING
  * ROG STRIX X570-I GAMING
+ * ROG STRIX Z390-F GAMING
  * ROG STRIX Z690-A GAMING WIFI D4
  * ROG ZENITH II EXTREME
  * ROG ZENITH II EXTREME ALPHA
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index 594fe7241111..e5be0cf472fc 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -408,6 +408,14 @@ static const struct ec_board_info board_info_strix_x570_i_gaming = {
 	.family = family_amd_500_series,
 };
 
+static const struct ec_board_info board_info_strix_z390_f_gaming = {
+	.sensors = SENSOR_TEMP_CHIPSET | SENSOR_TEMP_VRM |
+		SENSOR_TEMP_T_SENSOR |
+		SENSOR_FAN_CPU_OPT,
+	.mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+	.family = family_intel_300_series,
+};
+
 static const struct ec_board_info board_info_strix_z690_a_gaming_wifi_d4 = {
 	.sensors = SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM,
 	.mutex_path = ASUS_HW_ACCESS_MUTEX_RMTW_ASMX,
@@ -473,6 +481,8 @@ static const struct dmi_system_id dmi_table[] = {
 					&board_info_strix_x570_f_gaming),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X570-I GAMING",
 					&board_info_strix_x570_i_gaming),
+	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX Z390-F GAMING",
+					&board_info_strix_z390_f_gaming),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX Z690-A GAMING WIFI D4",
 					&board_info_strix_z690_a_gaming_wifi_d4),
 	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG ZENITH II EXTREME",
-- 
2.40.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] hwmon: (asus-ec-sensors) add ProArt B550-Creator
  2023-04-05 22:43 ` [PATCH 1/2] hwmon: (asus-ec-sensors) add ProArt B550-Creator Eugene Shalygin
@ 2023-04-07 15:53   ` Guenter Roeck
  0 siblings, 0 replies; 5+ messages in thread
From: Guenter Roeck @ 2023-04-07 15:53 UTC (permalink / raw)
  To: Eugene Shalygin
  Cc: fireflame90051, Jean Delvare, Jonathan Corbet, linux-hwmon,
	linux-doc, linux-kernel

On Thu, Apr 06, 2023 at 12:43:38AM +0200, Eugene Shalygin wrote:
> From: fireflame90051 <cacoukoulis@gmail.com>
> 
> Add support for the ASUS ProArt B550-Creator board, was tested
> with the hardware [1].
> 
> [1] https://github.com/zeule/asus-ec-sensors/issues/35
> 
> Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
> Signed-off-by: fireflame90051 <cacoukoulis@gmail.com>

Applied.

Thanks,
Guenter

> ---
>  Documentation/hwmon/asus_ec_sensors.rst |  1 +
>  drivers/hwmon/asus-ec-sensors.c         | 10 ++++++++++
>  2 files changed, 11 insertions(+)
> 
> diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
> index a4039f2f9ca4..f1c9b1e11268 100644
> --- a/Documentation/hwmon/asus_ec_sensors.rst
> +++ b/Documentation/hwmon/asus_ec_sensors.rst
> @@ -8,6 +8,7 @@ Supported boards:
>   * PRIME X570-PRO
>   * Pro WS X570-ACE
>   * ProArt X570-CREATOR WIFI
> + * ProArt B550-CREATOR
>   * ROG CROSSHAIR VIII DARK HERO
>   * ROG CROSSHAIR VIII HERO (WI-FI)
>   * ROG CROSSHAIR VIII FORMULA
> diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
> index 2768b7511684..594fe7241111 100644
> --- a/drivers/hwmon/asus-ec-sensors.c
> +++ b/drivers/hwmon/asus-ec-sensors.c
> @@ -303,6 +303,14 @@ static const struct ec_board_info board_info_pro_art_x570_creator_wifi = {
>  	.family = family_amd_500_series,
>  };
>  
> +static const struct ec_board_info board_info_pro_art_b550_creator = {
> +	.sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
> +		SENSOR_TEMP_T_SENSOR |
> +		SENSOR_FAN_CPU_OPT,
> +	.mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
> +	.family = family_amd_500_series,
> +};
> +
>  static const struct ec_board_info board_info_pro_ws_x570_ace = {
>  	.sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
>  		SENSOR_TEMP_T_SENSOR | SENSOR_FAN_CHIPSET |
> @@ -435,6 +443,8 @@ static const struct dmi_system_id dmi_table[] = {
>  					&board_info_prime_x570_pro),
>  	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ProArt X570-CREATOR WIFI",
>  					&board_info_pro_art_x570_creator_wifi),
> +	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ProArt B550-CREATOR",
> +					&board_info_pro_art_b550_creator),
>  	DMI_EXACT_MATCH_ASUS_BOARD_NAME("Pro WS X570-ACE",
>  					&board_info_pro_ws_x570_ace),
>  	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG CROSSHAIR VIII DARK HERO",

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] hwmon: (asus-ec-sensors) add ROG STRIX Z390-F GAMING
  2023-04-05 22:43 ` [PATCH 2/2] hwmon: (asus-ec-sensors) add ROG STRIX Z390-F GAMING Eugene Shalygin
@ 2023-04-07 15:54   ` Guenter Roeck
  0 siblings, 0 replies; 5+ messages in thread
From: Guenter Roeck @ 2023-04-07 15:54 UTC (permalink / raw)
  To: Eugene Shalygin
  Cc: Jean Delvare, Jonathan Corbet, linux-hwmon, linux-doc,
	linux-kernel

On Thu, Apr 06, 2023 at 12:43:39AM +0200, Eugene Shalygin wrote:
> The definition comes from a LHM PR [1], and the mutex path from
> the ACPI dump, kindly provided by the PR author [2]
> 
> [1] https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/pull/1031
> [2] https://github.com/zeule/asus-ec-sensors/issues/36
> 
> Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>

Applied.

Thanks,
Guenter

> ---
>  Documentation/hwmon/asus_ec_sensors.rst |  1 +
>  drivers/hwmon/asus-ec-sensors.c         | 10 ++++++++++
>  2 files changed, 11 insertions(+)
> 
> diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
> index f1c9b1e11268..c92c1d3839e4 100644
> --- a/Documentation/hwmon/asus_ec_sensors.rst
> +++ b/Documentation/hwmon/asus_ec_sensors.rst
> @@ -22,6 +22,7 @@ Supported boards:
>   * ROG STRIX X570-E GAMING WIFI II
>   * ROG STRIX X570-F GAMING
>   * ROG STRIX X570-I GAMING
> + * ROG STRIX Z390-F GAMING
>   * ROG STRIX Z690-A GAMING WIFI D4
>   * ROG ZENITH II EXTREME
>   * ROG ZENITH II EXTREME ALPHA
> diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
> index 594fe7241111..e5be0cf472fc 100644
> --- a/drivers/hwmon/asus-ec-sensors.c
> +++ b/drivers/hwmon/asus-ec-sensors.c
> @@ -408,6 +408,14 @@ static const struct ec_board_info board_info_strix_x570_i_gaming = {
>  	.family = family_amd_500_series,
>  };
>  
> +static const struct ec_board_info board_info_strix_z390_f_gaming = {
> +	.sensors = SENSOR_TEMP_CHIPSET | SENSOR_TEMP_VRM |
> +		SENSOR_TEMP_T_SENSOR |
> +		SENSOR_FAN_CPU_OPT,
> +	.mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
> +	.family = family_intel_300_series,
> +};
> +
>  static const struct ec_board_info board_info_strix_z690_a_gaming_wifi_d4 = {
>  	.sensors = SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM,
>  	.mutex_path = ASUS_HW_ACCESS_MUTEX_RMTW_ASMX,
> @@ -473,6 +481,8 @@ static const struct dmi_system_id dmi_table[] = {
>  					&board_info_strix_x570_f_gaming),
>  	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX X570-I GAMING",
>  					&board_info_strix_x570_i_gaming),
> +	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX Z390-F GAMING",
> +					&board_info_strix_z390_f_gaming),
>  	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG STRIX Z690-A GAMING WIFI D4",
>  					&board_info_strix_z690_a_gaming_wifi_d4),
>  	DMI_EXACT_MATCH_ASUS_BOARD_NAME("ROG ZENITH II EXTREME",

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-07 15:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05 22:43 [PATCH 0/2] (asus-ec-sensors) add two more boards Eugene Shalygin
2023-04-05 22:43 ` [PATCH 1/2] hwmon: (asus-ec-sensors) add ProArt B550-Creator Eugene Shalygin
2023-04-07 15:53   ` Guenter Roeck
2023-04-05 22:43 ` [PATCH 2/2] hwmon: (asus-ec-sensors) add ROG STRIX Z390-F GAMING Eugene Shalygin
2023-04-07 15:54   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).