Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3464756rdb; Wed, 13 Sep 2023 12:52:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFtNm17DH8Cd2NSIfpK6dtX3gOXA43NG/2y7T2sst3PwWaZKPFBlUSIygYYCJtct4YRL/KW X-Received: by 2002:a05:6a00:a90:b0:68e:45df:4648 with SMTP id b16-20020a056a000a9000b0068e45df4648mr3913593pfl.23.1694634765018; Wed, 13 Sep 2023 12:52:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694634765; cv=none; d=google.com; s=arc-20160816; b=TDXTN6JpYvxr/zzjpbh2Wa/C6NbJBjkgWsdPh8yaUhwpbauR81GMEamPwzOFrlkiv0 Et6s+JQOscMnxT7F5N5nDuUhRkFeY9MgLIzqilP6YMbd7kOfsT907oQkEqaz3toFlGAT BvMxMDyYwA6lVHc583R/uaTT4lDq7aqJrNO27B4LoUhA/dwLY7sOIjmmMvRfBklc2PAA kBqVx4JMIPWiZPvk1kEs34njQ9BbXQNsm+ZlhJkQd5O75LGl4d/csQmbOkqvrnI13kIT QRBxRDSUROI5dofdVBO20HZgJLVEXGvf54fSN6/fyB8tz0CcD1LB2+1cUdQsZblwKacH dQ4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=lVSDKjwTUvcgPWTK7xv1/TTwLZz+/gvtsRAJym3UhWc=; fh=HlKkiquNc46jVE3LHXufgrfsbaUPEXN8C6VLDpazkiQ=; b=0HZpW6hO4Ic/K6DufgssQosNi46D3EaP2/selnxhaJnOSV41QvfTVLBvGyRv+Q9t07 Gh+OTRjZkv28Tgfnd/6ekVuR3LgEmBx9EXyknGYi3xe93VtrcK5iEauy2sM03Un0s+8U if9karLLw4W51+kAcpPKD96mJ9HyMDV8lXhl4j2rZSOzlofT2C/iW74gUgxzM47qequs c2WDiDmZyGckkd4vBd6/J+d0mHUJfRDUhcbWVhcKQHUIwYkNa9JvLP59GauUzkUPUBIZ ekCq6KLPXFEDnjgMPGNG7hF/bdxiF2m93XGf5a5G/PKWL6RJZ6JvRED8A3m+KtnxSxSW vLHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SWQvjKzS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id w62-20020a638241000000b0057787e28694si4948543pgd.448.2023.09.13.12.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 12:52:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SWQvjKzS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id C585B807C653; Wed, 13 Sep 2023 10:35:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229913AbjIMRfl (ORCPT + 99 others); Wed, 13 Sep 2023 13:35:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjIMRfk (ORCPT ); Wed, 13 Sep 2023 13:35:40 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C25F8A8; Wed, 13 Sep 2023 10:35:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694626536; x=1726162536; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=3/kfAqbdJ1Jw40JpAhtowZlrzIpwtchpP4+yODy4jDQ=; b=SWQvjKzSG3eVvW4+1ddUcmc2w8Vq2dF1+Kr3B0Qi15zQbWNNEwYCTZWo c5xxe0A5aG3xoBe4xue7SJbaRpglef+H0JcY+xqhsuoL6r27B5SuJtNVf doHvxqx+ffW3QE24TqUgF1t3Sfp9mGxDy7ehjiAl36bycBWOYhb2XV6/+ L/UoH2aohvL7y/zcO1tH+A2RCwXkI0G/M752xKc7bQe8GIGb9pjjQ9aTW NBFcRHtdNCbdGJwGBlmq3sQYsC7L45ULkYIlc8R9kRJtxuVijW0tV6Odp G1d/zQX6zmq/I0WOxxWdWviX+w0k7tj7pA7+4J0hCE+aTsEll2JKG39Ts g==; X-IronPort-AV: E=McAfee;i="6600,9927,10832"; a="445168516" X-IronPort-AV: E=Sophos;i="6.02,143,1688454000"; d="scan'208";a="445168516" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2023 10:35:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10832"; a="737603953" X-IronPort-AV: E=Sophos;i="6.02,143,1688454000"; d="scan'208";a="737603953" Received: from spandruv-desk.jf.intel.com ([10.54.75.14]) by orsmga007.jf.intel.com with ESMTP; 13 Sep 2023 10:35:36 -0700 From: Srinivas Pandruvada To: daniel.lezcano@linaro.org, rafael@kernel.org, rui.zhang@intel.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Pandruvada Subject: [PATCH] thermal: int340x: Add ArrowLake-S PCI ID Date: Wed, 13 Sep 2023 10:35:10 -0700 Message-Id: <20230913173510.3963561-1-srinivas.pandruvada@linux.intel.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 13 Sep 2023 10:35:43 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Add ArrowLake-S PCI ID for processor thermal device. Signed-off-by: Srinivas Pandruvada --- .../thermal/intel/int340x_thermal/processor_thermal_device.h | 1 + .../intel/int340x_thermal/processor_thermal_device_pci.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/thermal/intel/int340x_thermal/processor_thermal_device.h b/drivers/thermal/intel/int340x_thermal/processor_thermal_device.h index b974583c5c11..dd025c8c2bac 100644 --- a/drivers/thermal/intel/int340x_thermal/processor_thermal_device.h +++ b/drivers/thermal/intel/int340x_thermal/processor_thermal_device.h @@ -10,6 +10,7 @@ #include #define PCI_DEVICE_ID_INTEL_ADL_THERMAL 0x461d +#define PCI_DEVICE_ID_INTEL_ARL_S_THERMAL 0xAD03 #define PCI_DEVICE_ID_INTEL_BDW_THERMAL 0x1603 #define PCI_DEVICE_ID_INTEL_BSW_THERMAL 0x22DC diff --git a/drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c b/drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c index 7253277e476a..44b179ce9bc9 100644 --- a/drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c +++ b/drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c @@ -390,6 +390,8 @@ static const struct pci_device_id proc_thermal_pci_ids[] = { { PCI_DEVICE_DATA(INTEL, MTLP_THERMAL, PROC_THERMAL_FEATURE_RAPL | PROC_THERMAL_FEATURE_FIVR | PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_DLVR | PROC_THERMAL_FEATURE_WT_HINT) }, + { PCI_DEVICE_DATA(INTEL, ARL_S_THERMAL, PROC_THERMAL_FEATURE_RAPL | + PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_DLVR | PROC_THERMAL_FEATURE_WT_HINT) }, { PCI_DEVICE_DATA(INTEL, RPL_THERMAL, PROC_THERMAL_FEATURE_RAPL | PROC_THERMAL_FEATURE_FIVR | PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_WT_REQ) }, { }, -- 2.40.1