From nobody Fri Dec 19 07:51:02 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E22BC6FA82 for ; Tue, 13 Sep 2022 14:25:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233660AbiIMOZ3 (ORCPT ); Tue, 13 Sep 2022 10:25:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233679AbiIMOX4 (ORCPT ); Tue, 13 Sep 2022 10:23:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23EC16613A; Tue, 13 Sep 2022 07:15:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B1689614A8; Tue, 13 Sep 2022 14:15:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CAD94C433D6; Tue, 13 Sep 2022 14:15:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663078552; bh=jd9Zv6YwRpLotuy2I9VsONUSxps9HIUE56TFz7juRt8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cUqF+FwAEDIjLrcEVr9IERR+0Yo9vUOGuZnRLlS/NU2FGmJN6jPPXBmYAlwM+vcM3 6NCccL6Ie+NNCN0gugjI6FccKGin2fWTBJ5K9YCzrYWYcc8EgIN6GARDAl/xTl7Yif ONlKhVS1u2TjBJaDfMPHD5hFrBXjsW/i6WU+urUE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Eugene Shalygin , Guenter Roeck , Sasha Levin Subject: [PATCH 5.19 184/192] hwmon: (asus-ec-sensors) add missing sensors for X570-I GAMING Date: Tue, 13 Sep 2022 16:04:50 +0200 Message-Id: <20220913140419.224190279@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220913140410.043243217@linuxfoundation.org> References: <20220913140410.043243217@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Eugene Shalygin [ Upstream commit 1c4e4f4a0e8d9ebe8be1c838fec4fb7053a989d9 ] VRM and chipset temperature for ROG STRIX X570-I GAMING were missing according to a user contribution to the LHM project [1]. [1] https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/pull/767 Signed-off-by: Eugene Shalygin Link: https://lore.kernel.org/r/20220710085539.1682869-1-eugene.shalygin@gm= ail.com Signed-off-by: Guenter Roeck Stable-dep-of: 88700d1396ba ("hwmon: (asus-ec-sensors) autoload module via = DMI data") Signed-off-by: Sasha Levin --- drivers/hwmon/asus-ec-sensors.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/asus-ec-sensors.c b/drivers/hwmon/asus-ec-sensor= s.c index 625c2baa35ec6..0749cd023a323 100644 --- a/drivers/hwmon/asus-ec-sensors.c +++ b/drivers/hwmon/asus-ec-sensors.c @@ -366,9 +366,10 @@ static const struct ec_board_info board_info[] =3D { }, { .board_names =3D {"ROG STRIX X570-I GAMING"}, - .sensors =3D SENSOR_TEMP_T_SENSOR | SENSOR_FAN_VRM_HS | - SENSOR_FAN_CHIPSET | SENSOR_CURR_CPU | - SENSOR_IN_CPU_CORE, + .sensors =3D SENSOR_TEMP_CHIPSET | SENSOR_TEMP_VRM | + SENSOR_TEMP_T_SENSOR | + SENSOR_FAN_VRM_HS | SENSOR_FAN_CHIPSET | + SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE, .mutex_path =3D ASUS_HW_ACCESS_MUTEX_ASMX, .family =3D family_amd_500_series, }, --=20 2.35.1