Message ID | 04636141da1d6d592174eefb56760511468d035d.1668410580.git.josh@joshtriplett.org |
---|---|
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 l7csp2015157wru; Sun, 13 Nov 2022 23:37:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf7VMhDC+dJbmTzkP/XNaZSw6SnO2iz/jbDCByItelr390/D2iGr6YWCTNhehLTTToq8vKeO X-Received: by 2002:a05:6402:1947:b0:461:7291:79c1 with SMTP id f7-20020a056402194700b00461729179c1mr10520837edz.68.1668411436167; Sun, 13 Nov 2022 23:37:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668411436; cv=none; d=google.com; s=arc-20160816; b=PfUVbaKCWG7hAgbxoW44y60vmTHjux7tm8sGPA/avS7iPCENcq96Q6xyzzGHsr+2p2 GbzzRgjjTBJezT1PL9EkmP9OMVpRRDwiYp9oyDEniUKB93rQFsKXGn7T0oazhfWdP5f6 Xh8pPsLxxO474ndmexpAiwopMy3qtJ9S0xTafk8VDgLoyj6mqRUQJ1H8fQ+R0a6AhxJ3 m3PiALKPRxq+19fC3IuATEuP9iku8oSYNrBGnmEnqt7y+W2FmP82LUnqilFs5uvGCM8b J5slUPnTL/MS7Nb9T5mFso61UR/GlqkhLEMEYtCbw2IhRqGwyW+LIolDsNCVe8BRW6Ne mX1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=acFlUqy1r7UweKUoyspc24X/PZGFahiBEvTlWYrEsLU=; b=QeffM8elj/Ol9L2a138bHLPR9eYe9aupVLAAZj+4/fOUxfeEYZVWFSSrXWdOXQdIOM Fp8Fa1tfh/TMIYy2OwCMdyjifH6wUlCrGqc2iRL7H91GqJiIZYdhkoaSVpjED1Lu/4Sk EZH2cXjkiqfzMdcc4wCWgX9AzmY7fUKeTi77e+GAfXiWCgt97FtNfEmjafddekSnNd77 G/tSbtynkghAAq1uiZuhUdFzrePqq8mQbOb2pgy+2820yBtCPLVFwXaK0A4pjElbZlpR 1AZXCkQ5JubGaCkUGdbKF+ZsuTfpTtKpwBqCO6eBevHzvd7jYvvnGm3AkTNg9Fdryu6l kiMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joshtriplett.org header.s=fm3 header.b=1q79ZMFO; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Py6mVop4; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js12-20020a17090797cc00b007ae5ce3c730si8768373ejc.82.2022.11.13.23.36.50; Sun, 13 Nov 2022 23:37:16 -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=@joshtriplett.org header.s=fm3 header.b=1q79ZMFO; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Py6mVop4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235890AbiKNHXg (ORCPT <rfc822;winker.wchi@gmail.com> + 99 others); Mon, 14 Nov 2022 02:23:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235669AbiKNHXe (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 14 Nov 2022 02:23:34 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3067521B0; Sun, 13 Nov 2022 23:23:31 -0800 (PST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 6A29232007E8; Mon, 14 Nov 2022 02:23:28 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 14 Nov 2022 02:23:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= joshtriplett.org; h=cc:cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to; s=fm3; t=1668410608; x= 1668497008; bh=acFlUqy1r7UweKUoyspc24X/PZGFahiBEvTlWYrEsLU=; b=1 q79ZMFODftvgktjeiPSdqZX97o1DEOZToYjhiPVli2bYU0kZWvVyMLsqnhqdXCvz ETNdJoy0gcxvaOefLdIPt4h4ObWA3JZ3SIdnxm+0svw9gfXbZxf+tjqZLO/rj+US BvPTHJBxe2tXj8X+O0cD0mhjUVUOQkvdwy1g2DKsc7YOuCrq18NRb0UvG5DpL8Oz 2dWSC0MquBfbVPgW8cTF73OgYq/2E4wpltvi+U18DurU4UfPolyQX+BraBlF1C+o YCaH8WzCl3Dp/v35PZ5oaxm3zesalNOWC2scNXEqu7gmb8lNYuoZhsbkte0ypt// TcxjnkLexkjOrWcQ9Giyg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1668410608; x=1668497008; bh=acFlUqy1r7Uwe KUoyspc24X/PZGFahiBEvTlWYrEsLU=; b=Py6mVop4VcvrNQsZtyEfRYZYQTA5I NA0jfj/X3jZ20IT6ZikYqwvwihey+XAfLCBXS4KoxzTDF1E3MHeyUHA1wdM43Sfm TPmHxuPjIxr6Zoi6jV7IJPB9aEcGfjwjmpKSbWve51Fa3YEpa5jqjQS7nW745YlV suxjHWFZc9LlfrWdgMnu2bjYJQgysHNlmtsQNLTL1igyHneUt8799n13NJt3m9uS l5Qg+fFFIHbCrIthz2NEwVbHfmPdShZL1tC/pIQdDZwc2yVekMxXj0q5QjzVDpGJ 6J14duftNOj2L1fs0+8jamWcy32w2jgStGoMhYYPcEO38ldKQkeIiJfTA== X-ME-Sender: <xms:7-xxY_xD5QoCT-FJIZ8XxCnVIppSCg88paYck46Qtv3SH2rMU6nNsA> <xme:7-xxY3R2-BrzRi_Eo5BWcaDboeocq7S250TCP2jRtGMsUANPVZLorCy4lPQeZTPhV s_XaXg-CaLZsNg_OTE> X-ME-Received: <xmr:7-xxY5X_hnjw_W2MBl80Ai2Ah2GO66exaLnkrI5oxNlKe74gxJsw-xrTTsE> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgedugddutdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgsehtkeertddttdejnecuhfhrohhmpeflohhshhcu vfhrihhplhgvthhtuceojhhoshhhsehjohhshhhtrhhiphhlvghtthdrohhrgheqnecugg ftrfgrthhtvghrnhepuddvgfeliedvvdekffehhfevjeefhedtjeduveekieetvdefheel udettedtudfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepjhhoshhhsehjohhshhhtrhhiphhlvghtthdrohhrgh X-ME-Proxy: <xmx:7-xxY5gcWrPc5o4DljbUrmmXjmh9onLW-HoDA3alha9xkDU-nzHq8Q> <xmx:7-xxYxCBcruPMqpCQ_iuXO-3tk6MpPMqfvJ94FJQAYnKwKaME8lCsg> <xmx:7-xxYyLwWwtlfO2VNxCm_mb8Cd0dTAlkR3-q2X7Phwz5a9KF7V36Fg> <xmx:8OxxY89qGhp4jp1w4oEy9cVYBsbgxZZBDF4ibl6uWEmIL-NnbO9SFw> Feedback-ID: i83e94755:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 14 Nov 2022 02:23:27 -0500 (EST) Date: Sun, 13 Nov 2022 23:23:26 -0800 From: Josh Triplett <josh@joshtriplett.org> To: Lorenzo Pieralisi <lpieralisi@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof =?utf-8?q?Wilczy=C5=84ski?= <kw@linux.com>, Bjorn Helgaas <bhelgaas@google.com> Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] PCI: kirin: select REGMAP and REGMAP_MMIO Message-ID: <04636141da1d6d592174eefb56760511468d035d.1668410580.git.josh@joshtriplett.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS 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?1749456189972402364?= X-GMAIL-MSGID: =?utf-8?q?1749456189972402364?= |
Series |
PCI: kirin: select REGMAP and REGMAP_MMIO
|
|
Commit Message
Josh Triplett
Nov. 14, 2022, 7:23 a.m. UTC
pcie-kirin uses regmaps, and needs to pull them in; otherwise, with
CONFIG_PCIE_KIRIN=y and without CONFIG_REGMAP:
drivers/pci/controller/dwc/pcie-kirin.c:359:21: error: variable ‘pcie_kirin_regmap_conf’ has initializer but incomplete type
359 | static const struct regmap_config pcie_kirin_regmap_conf = {
Similarly, without CONFIG_REGMAP_MMIO, pcie-kirin produces a linker
failure looking for __devm_regmap_init_mmio_clk.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
---
drivers/pci/controller/dwc/Kconfig | 2 ++
1 file changed, 2 insertions(+)
Comments
On Sun, 13 Nov 2022 23:23:26 -0800, Josh Triplett wrote: > pcie-kirin uses regmaps, and needs to pull them in; otherwise, with > CONFIG_PCIE_KIRIN=y and without CONFIG_REGMAP: > > drivers/pci/controller/dwc/pcie-kirin.c:359:21: error: variable ‘pcie_kirin_regmap_conf’ has initializer but incomplete type > 359 | static const struct regmap_config pcie_kirin_regmap_conf = { > > Similarly, without CONFIG_REGMAP_MMIO, pcie-kirin produces a linker > failure looking for __devm_regmap_init_mmio_clk. > > [...] Applied to controller/kirin, thanks! [1/1] PCI: kirin: select REGMAP and REGMAP_MMIO https://git.kernel.org/pci/pci/c/3a2776e8a0e1 Thanks, Lorenzo
diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig index 62ce3abf0f19..5412938c2cef 100644 --- a/drivers/pci/controller/dwc/Kconfig +++ b/drivers/pci/controller/dwc/Kconfig @@ -277,6 +277,8 @@ config PCIE_KIRIN tristate "HiSilicon Kirin series SoCs PCIe controllers" depends on PCI_MSI_IRQ_DOMAIN select PCIE_DW_HOST + select REGMAP + select REGMAP_MMIO help Say Y here if you want PCIe controller support on HiSilicon Kirin series SoCs.