From patchwork Wed Feb 28 11:28:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Th=C3=A9o_Lebrun?= X-Patchwork-Id: 13575244 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 04B61C47DD9 for ; Wed, 28 Feb 2024 11:29:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jk0okxcxH9SWWd3hJHEvKW3KXJMd2lX350N4+BdEReM=; b=koxlTl79hy7fpF A0FRWPuCD1nvr+9nuvU4AjmXmQZ5lXobzq6M/JT4kyg1S47sJy1Nj96wAJbJsSDm4zJrpRe5H1TS4 oZuWMBSUnM/dQvaNtt6d3z7pHt6W9857Fd++xPEORQ8ZiejI5V3sBY8AftFjZ4w7wUMft2OZYTwpL +UQP3xNRRGaP40E+bESiAv1j/gH6RBJVoRt4YHgFZRkLXXcCh47doRZYzqtgsNVoB2S4Uq0vDwjof cfN8K58uWu3H9xNjqubBPe4W/aKaarGYlPnwrak9o+6y2qbhdCUEY97qzSwZdrEI8Q3IIo+Br6x5X LtYq/ohL5xw1vyZZTYgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfI7P-00000008ypz-3G4K; Wed, 28 Feb 2024 11:28:59 +0000 Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfI6j-00000008yPc-2Hlb for linux-arm-kernel@lists.infradead.org; Wed, 28 Feb 2024 11:28:19 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 79FF51BF210; Wed, 28 Feb 2024 11:28:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709119696; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=50+FJ3NPM2/AbO8CJ0JOfR4sYG+GQHETXFvJ1d0zanU=; b=kz1AlJBZQXcB+NRWabtw2qzi9zWbsWFn28abqgBuUlOKjv2qqwQp163RNLWOsZUaPdOWwJ s5HfVYtPz7exGyca3lm7q5lF4vAbJOHkkstt3Z5kbIYIrD/lTuLPsezXXnNiR138oNXpN4 6CZ0GPqjJNWZ+wvRotArvrhdZYbB5cqkUuKVX3+n+ymRux8fMls0I361Bjhsr8s9OXCH5P 3BAsYJ0OvEuR5u5cmJ9r0MIaFaYQwXeT40BZdzrGAmmmyHz774fFxWu8MuCP3gT6Gui4N/ f00fRawx7DQuDU2Yk8ebjydo/+kswp3ZaNmiyNehFGf4+r1HUpvi7KPqu2ypkQ== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 28 Feb 2024 12:28:05 +0100 Subject: [PATCH v2 07/30] pinctrl: nomadik: Kconfig: allow building with COMPILE_TEST MIME-Version: 1.0 Message-Id: <20240228-mbly-gpio-v2-7-3ba757474006@bootlin.com> References: <20240228-mbly-gpio-v2-0-3ba757474006@bootlin.com> In-Reply-To: <20240228-mbly-gpio-v2-0-3ba757474006@bootlin.com> To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Thomas Bogendoerfer Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, Gregory CLEMENT , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk , =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.13.0 X-GND-Sasl: theo.lebrun@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240228_032817_796732_D0863C0D X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org PINCTRL_NOMADIK, PINCTRL_STN8815 and PINCTRL_DB8500 depend on ARCH_U8500 or ARCH_NOMADIK. Add COMPILE_TEST as an option to allow test building the driver. Signed-off-by: Théo Lebrun --- drivers/pinctrl/nomadik/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/nomadik/Kconfig b/drivers/pinctrl/nomadik/Kconfig index f47f0755a835..59d0d885651c 100644 --- a/drivers/pinctrl/nomadik/Kconfig +++ b/drivers/pinctrl/nomadik/Kconfig @@ -18,7 +18,7 @@ config PINCTRL_AB8505 endif -if (ARCH_U8500 || ARCH_NOMADIK) +if (ARCH_U8500 || ARCH_NOMADIK || COMPILE_TEST) config PINCTRL_NOMADIK bool "Nomadik pin controller driver"