linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hwmon: (asus-ec-sensors) add ROG STRIX X570-E GAMING WIFI II
@ 2022-05-05  7:33 Eugene Shalygin
  2022-05-10  0:33 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Eugene Shalygin @ 2022-05-05  7:33 UTC (permalink / raw)
  To: eugene.shalygin
  Cc: Debabrata Banerjee, Jean Delvare, Guenter Roeck, Jonathan Corbet,
	linux-hwmon, linux-doc, linux-kernel

From: Debabrata Banerjee <dbavatar@gmail.com>

Adds support for the ROG STRIX X570-E GAMING WIFI II board and
simplifies formatting for the list of supported models.

Signed-off-by: Debabrata Banerjee <dbavatar@gmail.com>
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
---
 Documentation/hwmon/asus_ec_sensors.rst | 23 ++++++++++++-----------
 drivers/hwmon/asus-ec-sensors.c         |  8 ++++++++
 2 files changed, 20 insertions(+), 11 deletions(-)

diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
index 1700fe619597..78ca69eda877 100644
--- a/Documentation/hwmon/asus_ec_sensors.rst
+++ b/Documentation/hwmon/asus_ec_sensors.rst
@@ -4,19 +4,20 @@ Kernel driver asus_ec_sensors
 =================================
 
 Supported boards:
- * PRIME X470-PRO,
- * PRIME X570-PRO,
- * Pro WS X570-ACE,
+ * PRIME X470-PRO
+ * PRIME X570-PRO
+ * Pro WS X570-ACE
  * ProArt X570-CREATOR WIFI
- * ROG CROSSHAIR VIII DARK HERO,
+ * ROG CROSSHAIR VIII DARK HERO
  * ROG CROSSHAIR VIII HERO (WI-FI)
- * ROG CROSSHAIR VIII FORMULA,
- * ROG CROSSHAIR VIII HERO,
- * ROG CROSSHAIR VIII IMPACT,
- * ROG STRIX B550-E GAMING,
- * ROG STRIX B550-I GAMING,
- * ROG STRIX X570-E GAMING,
- * ROG STRIX X570-F GAMING,
+ * ROG CROSSHAIR VIII FORMULA
+ * ROG CROSSHAIR VIII HERO
+ * ROG CROSSHAIR VIII IMPACT
+ * ROG STRIX B550-E GAMING
+ * ROG STRIX B550-I GAMING
+ * ROG STRIX X570-E GAMING
+ * ROG STRIX X570-E GAMING WIFI II
+ * ROG STRIX X570-F GAMING
  * ROG STRIX X570-I GAMING
 
 Authors:
diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
index 998d49d6b799..611e897429b1 100644
--- a/drivers/hwmon/asus-ec-sensors.c
+++ b/drivers/hwmon/asus-ec-sensors.c
@@ -315,6 +315,14 @@ static const struct ec_board_info board_info[] = {
 		.mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
 		.family = family_amd_500_series,
 	},
+	{
+		.board_names = {"ROG STRIX X570-E GAMING WIFI II"},
+		.sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
+			SENSOR_TEMP_T_SENSOR | SENSOR_CURR_CPU |
+			SENSOR_IN_CPU_CORE,
+		.mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
+		.family = family_amd_500_series,
+	},
 	{
 		.board_names = {"ROG STRIX X570-F GAMING"},
 		.sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
-- 
2.35.1


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

* Re: [PATCH] hwmon: (asus-ec-sensors) add ROG STRIX X570-E GAMING WIFI II
  2022-05-05  7:33 [PATCH] hwmon: (asus-ec-sensors) add ROG STRIX X570-E GAMING WIFI II Eugene Shalygin
@ 2022-05-10  0:33 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2022-05-10  0:33 UTC (permalink / raw)
  To: Eugene Shalygin
  Cc: Debabrata Banerjee, Jean Delvare, Jonathan Corbet, linux-hwmon,
	linux-doc, linux-kernel

On Thu, May 05, 2022 at 09:33:51AM +0200, Eugene Shalygin wrote:
> From: Debabrata Banerjee <dbavatar@gmail.com>
> 
> Adds support for the ROG STRIX X570-E GAMING WIFI II board and
> simplifies formatting for the list of supported models.
> 
> Signed-off-by: Debabrata Banerjee <dbavatar@gmail.com>
> Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>

Applied.

Thanks,
Guenter

> ---
>  Documentation/hwmon/asus_ec_sensors.rst | 23 ++++++++++++-----------
>  drivers/hwmon/asus-ec-sensors.c         |  8 ++++++++
>  2 files changed, 20 insertions(+), 11 deletions(-)
> 
> diff --git a/Documentation/hwmon/asus_ec_sensors.rst b/Documentation/hwmon/asus_ec_sensors.rst
> index 1700fe619597..78ca69eda877 100644
> --- a/Documentation/hwmon/asus_ec_sensors.rst
> +++ b/Documentation/hwmon/asus_ec_sensors.rst
> @@ -4,19 +4,20 @@ Kernel driver asus_ec_sensors
>  =================================
>  
>  Supported boards:
> - * PRIME X470-PRO,
> - * PRIME X570-PRO,
> - * Pro WS X570-ACE,
> + * PRIME X470-PRO
> + * PRIME X570-PRO
> + * Pro WS X570-ACE
>   * ProArt X570-CREATOR WIFI
> - * ROG CROSSHAIR VIII DARK HERO,
> + * ROG CROSSHAIR VIII DARK HERO
>   * ROG CROSSHAIR VIII HERO (WI-FI)
> - * ROG CROSSHAIR VIII FORMULA,
> - * ROG CROSSHAIR VIII HERO,
> - * ROG CROSSHAIR VIII IMPACT,
> - * ROG STRIX B550-E GAMING,
> - * ROG STRIX B550-I GAMING,
> - * ROG STRIX X570-E GAMING,
> - * ROG STRIX X570-F GAMING,
> + * ROG CROSSHAIR VIII FORMULA
> + * ROG CROSSHAIR VIII HERO
> + * ROG CROSSHAIR VIII IMPACT
> + * ROG STRIX B550-E GAMING
> + * ROG STRIX B550-I GAMING
> + * ROG STRIX X570-E GAMING
> + * ROG STRIX X570-E GAMING WIFI II
> + * ROG STRIX X570-F GAMING
>   * ROG STRIX X570-I GAMING
>  
>  Authors:
> diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensors.c
> index 998d49d6b799..611e897429b1 100644
> --- a/drivers/hwmon/asus-ec-sensors.c
> +++ b/drivers/hwmon/asus-ec-sensors.c
> @@ -315,6 +315,14 @@ static const struct ec_board_info board_info[] = {
>  		.mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
>  		.family = family_amd_500_series,
>  	},
> +	{
> +		.board_names = {"ROG STRIX X570-E GAMING WIFI II"},
> +		.sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
> +			SENSOR_TEMP_T_SENSOR | SENSOR_CURR_CPU |
> +			SENSOR_IN_CPU_CORE,
> +		.mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
> +		.family = family_amd_500_series,
> +	},
>  	{
>  		.board_names = {"ROG STRIX X570-F GAMING"},
>  		.sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |

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

end of thread, other threads:[~2022-05-10  0:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05  7:33 [PATCH] hwmon: (asus-ec-sensors) add ROG STRIX X570-E GAMING WIFI II Eugene Shalygin
2022-05-10  0:33 ` 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).