From patchwork Fri Jul 23 02:25:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 12395195 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECB4AC43214 for ; Fri, 23 Jul 2021 02:26:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D806860EBF for ; Fri, 23 Jul 2021 02:26:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233371AbhGWBqC (ORCPT ); Thu, 22 Jul 2021 21:46:02 -0400 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:58273 "EHLO new4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233303AbhGWBqB (ORCPT ); Thu, 22 Jul 2021 21:46:01 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id A73595808BF; Thu, 22 Jul 2021 22:26:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 22 Jul 2021 22:26:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=l9PH4QLd/cM4/ cQPPaMBDFls0x1FzgEX2pJ1FwyEWZE=; b=m1v+TIVMqNGsZ8mfwlF0cUfWoM2h2 HpgH/lJ01UZuscjeKa0YFU+XxxaVNgEqBcFy93jxiA1rIg8jYTBIy3W1Lw2gpV3C kIAT5vMwRescG26sz7QZKw0sYWZllDzS9nPRboJB/eL8pXJvnW9tGeh5zggxJBi1 TzFrWU4Lqy12XgTSYrZpbpDfnyf9jV/jAhHg/KUbSo1DSgM7ABKnyxBbc3v2B4jO BMb5tXjW1uIB2TAOzMB3L6zs30oDo5tquAPp56F7ctzqx+f8r/bNXYf3Dtg4VRgr 2aAw75sLFm11yMH0eC52rfc4eh9kATj6V/ZVOpGrKql94CrSUce+4q+Nw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=l9PH4QLd/cM4/cQPPaMBDFls0x1FzgEX2pJ1FwyEWZE=; b=RY2g7wsl MLuuM9E6321AuYSCacT/b1/nH4JxCNhms6GWjOyPOefhY76SH3xZol0o7piLrujP /YF6X6YdYwWwXStZOuuR1dUpmgtZsnfz6KXGA2cnQvz9QS0lwdibehgufszFhI6a k+ewQ/fAHi/nQDw3Iw1xVFpuExHr/nAnsU4dyX+bFSCAfiz7/3S3SIlPPhFyDovU XmS/vrsoXTOeguccRLEq4l7Qv3jnOjek0tsqhvIbJa4U8zngJnC+Q4XPaIaT1vl5 bDdPe71baaQ9QEYYyUUMEZb5EDnbalW0UBrsded5YBLRqzhAAhAictHk85S5VlQJ 7VrZM/BKSe1jxA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeejgdehgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepjeeihffgteelkeelffduke dtheevudejvdegkeekjeefhffhhfetudetgfdtffeunecuvehluhhsthgvrhfuihiivgep vdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 Jul 2021 22:26:30 -0400 (EDT) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: tsbogend@alpha.franken.de, mturquette@baylibre.com, daniel.lezcano@linaro.org, linus.walleij@linaro.org, vkoul@kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, Jiaxun Yang Subject: [PATCH v4 6/9] pinctrl: pistachio: Make it as an option Date: Fri, 23 Jul 2021 10:25:40 +0800 Message-Id: <20210723022543.4095-7-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210723022543.4095-1-jiaxun.yang@flygoat.com> References: <20210723022543.4095-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org So it will be avilable for generic MIPS kernel. Signed-off-by: Jiaxun Yang Acked-by: Linus Walleij --- v3: Depend on OF as well --- drivers/pinctrl/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index c2c7e7963ed0..295f5eec58a9 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -248,12 +248,15 @@ config PINCTRL_SX150X - 16 bits: sx1509q, sx1506q config PINCTRL_PISTACHIO - def_bool y if MACH_PISTACHIO + bool "IMG Pistachio SoC pinctrl driver" + depends on OF && (MIPS || COMPILE_TEST) depends on GPIOLIB select PINMUX select GENERIC_PINCONF select GPIOLIB_IRQCHIP select OF_GPIO + help + This support pinctrl and gpio driver for IMG Pistachio SoC. config PINCTRL_ST bool