Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp509201pxk; Fri, 11 Sep 2020 12:47:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwB4EJ2Tj+QeDy5vePIHu5Qw57D744DlpngUvcT28XL9KomSnFkzoPd941jz5iQzmRkwaaZ X-Received: by 2002:a17:906:3e4e:: with SMTP id t14mr3434344eji.269.1599853649578; Fri, 11 Sep 2020 12:47:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599853649; cv=none; d=google.com; s=arc-20160816; b=aJnE0/zAgXRxKufgZrObLVt7oluNZlv5HHYw5OA6N96fRYF1tZdZ4rOMveygLZJp3h qk78cmVV/1S/9Ad+KFCORVs5gazYrY0RjsovxfofbpqGRDv7Io+ciZWXFy+XX0SEMm4j jK09yDoynGPAbmGT855LsLr4SMnKKpCaJ/IR7soJMRm2tUz7zD2br+GBhgSVim+JIQ4e +vH9LaAuyeAGQnp7vTYo04K2do1LLFY8o5c9AXLoohoFpvAfISPi01GjFu3Tizck7P2C BWCi2RJvTpJXIGZSIQN1NGVBwvQH6Hkdvld4KuLpifuwIU6fJIFYzhMkqv2lHccwTGZj /qaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=Ef36h3fSvWlEpbdecStF0oQ7ySG62f9xF2pnSUAgY+M=; b=JstHpc8X44WB0t6qafOCiBfqi3BS80W9h6JLDwsHwQsih187dkJrwnvNvH8/qyicD8 3jjxHSyslpa3LthYX0mCVblR3BjYNMUvc+o1ID153GIdZ7TwEXY4pqpQHVTplfYq8Cq3 LXON/N5js89wyI3DPbh6v87/b+V1D5oZ7PZbHaeJFa70Go5eXjS5JIBv34b3hgIEykx9 L7oSnbqwv+UwRYfcwRfX82lrvuizIaK5MGRXQ3XNrmFFkSxBZc/ghXuD356ixjLDUZT6 /fsxBRYuLhnVpRSPLLzeHJUs4mjbCI+Eo/5UCytVtkg5qsv6jm1hFohVbSzdG6rNqpXT Gc3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s8si1901120edt.374.2020.09.11.12.47.07; Fri, 11 Sep 2020 12:47:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725855AbgIKTqS (ORCPT + 99 others); Fri, 11 Sep 2020 15:46:18 -0400 Received: from mga11.intel.com ([192.55.52.93]:13920 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725779AbgIKTqQ (ORCPT ); Fri, 11 Sep 2020 15:46:16 -0400 IronPort-SDR: pduanDzBijZFKfLOaWwjlJaqy2E8iuVGQrnOPTSUHlNCkdycW4DasO6zMOxCvH1Zoj8jvULlWZ EHJDnCtMYY7A== X-IronPort-AV: E=McAfee;i="6000,8403,9741"; a="156291249" X-IronPort-AV: E=Sophos;i="5.76,416,1592895600"; d="scan'208";a="156291249" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Sep 2020 12:46:15 -0700 IronPort-SDR: iLAaNdL18OHKCyLqwTaCcoW2BOOKTnzxP2ZUVmvoyjQA9Q7PxfJU4zaQxZ1LqpDJ8DD3XqFCP5 CEk/gWNVIiYw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,416,1592895600"; d="scan'208";a="342401238" Received: from linux.intel.com ([10.54.29.200]) by FMSMGA003.fm.intel.com with ESMTP; 11 Sep 2020 12:46:15 -0700 Received: from debox1-desk2.jf.intel.com (debox1-desk2.jf.intel.com [10.54.75.16]) by linux.intel.com (Postfix) with ESMTP id 0AA1058094D; Fri, 11 Sep 2020 12:46:15 -0700 (PDT) From: "David E. Box" To: david.e.box@linux.intel.com, lee.jones@linaro.org, dvhart@infradead.org, andy@infradead.org, alexander.h.duyck@linux.intel.com Cc: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Subject: [PATCH 1/3] mfd: intel_pmt: Add OOBMSM device ID Date: Fri, 11 Sep 2020 12:45:47 -0700 Message-Id: <20200911194549.12780-2-david.e.box@linux.intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200911194549.12780-1-david.e.box@linux.intel.com> References: <20200911194549.12780-1-david.e.box@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add Out of Band Management Services Module device ID to Intel PMT driver. Signed-off-by: Alexander Duyck Signed-off-by: David E. Box --- drivers/mfd/intel_pmt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/mfd/intel_pmt.c b/drivers/mfd/intel_pmt.c index 0e572b105101..8f9970ab3026 100644 --- a/drivers/mfd/intel_pmt.c +++ b/drivers/mfd/intel_pmt.c @@ -55,6 +55,8 @@ struct pmt_platform_info { unsigned long quirks; }; +static const struct pmt_platform_info pmt_info; + static const struct pmt_platform_info tgl_info = { .quirks = PMT_QUIRK_NO_WATCHER | PMT_QUIRK_NO_CRASHLOG | PMT_QUIRK_TABLE_SHIFT, @@ -200,8 +202,10 @@ static void pmt_pci_remove(struct pci_dev *pdev) pm_runtime_get_sync(&pdev->dev); } +#define PCI_DEVICE_ID_INTEL_PMT_OOBMSM 0x09a7 #define PCI_DEVICE_ID_INTEL_PMT_TGL 0x9a0d static const struct pci_device_id pmt_pci_ids[] = { + { PCI_DEVICE_DATA(INTEL, PMT_OOBMSM, &pmt_info) }, { PCI_DEVICE_DATA(INTEL, PMT_TGL, &tgl_info) }, { } }; -- 2.20.1