Message ID | 20221108144305.45424-2-ilpo.jarvinen@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2752819wru; Tue, 8 Nov 2022 06:49:35 -0800 (PST) X-Google-Smtp-Source: AMsMyM6sER3CCgAYkKo3ABksniI40I7PpnaHRxTQTmbbTm44UDWsEfSZf2Fad+xrQiCFZwFpPSrF X-Received: by 2002:a17:906:8a47:b0:7a3:86dd:d33b with SMTP id gx7-20020a1709068a4700b007a386ddd33bmr54248471ejc.67.1667918975191; Tue, 08 Nov 2022 06:49:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667918975; cv=none; d=google.com; s=arc-20160816; b=uD2DfJLeh8s//J/CsgKV/3ZpHFj8+jljXronBZY9s4q/miwiRHZ92CE0gPCRwsByrr 6XzX6wMsBTIEQucMqufLPOAJ40xx8iuat+cyG0m1v+iOL6/HU387ycKXkCmehQR7/MpO MIUstMA13vcJ8vXx350L32jmmodo2RVPetjdjIKonHDD32Q4d3rCHBXoXxr1U/3mPYkW UFylx5UgN4z6H0gREAGoAz+lq2tr95ax9cqBcA0Mi5TsRBdl0jhHn6O2FQ3Fr4urPCBd sXkFphPy+5EcbN4Hrig/yKCufeg8BtS0R/e7a400AcDQUilAWOAby1aA/K1UXc0zbLsR 7KCg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PRBBFrYhCeAK1ayEdEJtRrshsVLYxI8R30qRjeEsLuI=; b=vxLX80Ci/HavT3vSDkSB3M5zllMvPNBet4WGC4pSGNivkjdk8IR9m3DlAxXqCrrXYQ n5M9Gn1h2ZBPy7ioNSN8AebnMYsjHSMIB3niUso+br6yYrFREIUpUAXoo6vjoQvqBS8n PQejYA8QLAT4mC+m8nNGT8LjFHvV0U27GcCi7XTWQO+H/Bf3A96YsZAEXqa5rjgVqYuQ FlN25Ad743PPOQPKaq3FiN3AvFXzZA+s3A6prPc6kMjop/45xbsbOEbj1vRfNj0XF9L1 TavkYa0pEz25+Tc181B8n9+i/EDGJFGA2NyrX7DDnCWoRdM/TQYGLE07b4Rsu86dKbLZ Hi/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XPkhoP4x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s12-20020a056402520c00b0045cca8f9a1fsi14761653edd.558.2022.11.08.06.49.10; Tue, 08 Nov 2022 06:49:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XPkhoP4x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234453AbiKHOn1 (ORCPT <rfc822;tony84727@gmail.com> + 99 others); Tue, 8 Nov 2022 09:43:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234430AbiKHOnX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 8 Nov 2022 09:43:23 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FDA824D; Tue, 8 Nov 2022 06:43:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667918602; x=1699454602; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8KsoCHuSMZhD6xWnQsttT4V4HVPw6+d16ICppyAaAT0=; b=XPkhoP4x90blabeMGnqSYQJZOcBLOJVS6h7nNBLEy9uhXTlvVGOurpQm 3YBhg7TyYdCTfDeVvdFuVGHzkLN7PyP1MiOBJkKaS5Srt/D84koTrpqjC gTVgczh7aGj9fj61ByVVUzopPdDvqXoB9OvQBRfZSDJ1+hcEwdk6vJqe7 q7LcdkWk43ptqz8rSCb/c/di9cbQN801qYmuwSnqfVCRwq1EcqXgBx0W0 /mVXkBokjmMQuMsHAT/CQG9ymp//lVlALqf6KXBJqkNhZrhwE0njavcZn Xsy9WAj67erS67Xj7GZE2mr856kKusl59rIO99nQOZfcs+CPKP/HjO3cD g==; X-IronPort-AV: E=McAfee;i="6500,9779,10525"; a="374979533" X-IronPort-AV: E=Sophos;i="5.96,148,1665471600"; d="scan'208";a="374979533" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2022 06:43:21 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10525"; a="638809682" X-IronPort-AV: E=Sophos;i="5.96,148,1665471600"; d="scan'208";a="638809682" Received: from ppkrause-mobl.ger.corp.intel.com (HELO ijarvine-MOBL2.ger.corp.intel.com) ([10.249.44.73]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Nov 2022 06:43:18 -0800 From: =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> To: linux-fpga@vger.kernel.org, Xu Yilun <yilun.xu@intel.com>, Wu Hao <hao.wu@intel.com>, Tom Rix <trix@redhat.com>, Moritz Fischer <mdf@kernel.org>, Lee Jones <lee@kernel.org>, Matthew Gerlach <matthew.gerlach@linux.intel.com>, Russ Weight <russell.h.weight@intel.com>, Tianfei zhang <tianfei.zhang@intel.com>, Mark Brown <broonie@kernel.org>, Greg KH <gregkh@linuxfoundation.org>, linux-kernel@vger.kernel.org Cc: =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> Subject: [PATCH 01/12] mfd: intel-m10-bmc: Move m10bmc_type to header Date: Tue, 8 Nov 2022 16:42:54 +0200 Message-Id: <20221108144305.45424-2-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221108144305.45424-1-ilpo.jarvinen@linux.intel.com> References: <20221108144305.45424-1-ilpo.jarvinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748939807309707312?= X-GMAIL-MSGID: =?utf-8?q?1748939807309707312?= |
Series |
intel-m10-bmc: Split BMC to core and SPI parts & add PMCI+N6000 support
|
|
Commit Message
Ilpo Järvinen
Nov. 8, 2022, 2:42 p.m. UTC
In preparation into core/SPI split, move enum m10bmc_type to include/linux/mfd/intel-m10-bmc.h. Reviewed-by: Russ Weight <russell.h.weight@intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> --- drivers/mfd/intel-m10-bmc.c | 6 ------ include/linux/mfd/intel-m10-bmc.h | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/mfd/intel-m10-bmc.c b/drivers/mfd/intel-m10-bmc.c index 7e3319e5b22f..ee167c5dcd29 100644 --- a/drivers/mfd/intel-m10-bmc.c +++ b/drivers/mfd/intel-m10-bmc.c @@ -13,12 +13,6 @@ #include <linux/regmap.h> #include <linux/spi/spi.h> -enum m10bmc_type { - M10_N3000, - M10_D5005, - M10_N5010, -}; - static struct mfd_cell m10bmc_d5005_subdevs[] = { { .name = "d5005bmc-hwmon" }, { .name = "d5005bmc-sec-update" } diff --git a/include/linux/mfd/intel-m10-bmc.h b/include/linux/mfd/intel-m10-bmc.h index f0044b14136e..d77383a8a410 100644 --- a/include/linux/mfd/intel-m10-bmc.h +++ b/include/linux/mfd/intel-m10-bmc.h @@ -9,6 +9,12 @@ #include <linux/regmap.h> +enum m10bmc_type { + M10_N3000, + M10_D5005, + M10_N5010, +}; + #define M10BMC_LEGACY_BUILD_VER 0x300468 #define M10BMC_SYS_BASE 0x300800 #define M10BMC_SYS_END 0x300fff