Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5112415pxv; Tue, 20 Jul 2021 20:05:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb9XzvsS8QoyTqlK9OgWWKDyxgui2jHeGMDmmbS0FBSKMi2ViVFC5Cyy4Y9gBegEesvNDL X-Received: by 2002:a05:6e02:1154:: with SMTP id o20mr22661875ill.168.1626836738883; Tue, 20 Jul 2021 20:05:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626836738; cv=none; d=google.com; s=arc-20160816; b=Dn9D6ch3O9ksm4RCVO/3T943GfzTNdhvIH5/MksgiqoGfJqgYVAURblQhDSkSicyks EVKwhkqmBr5c4Tc1Fo4rUu5y94JbEnkIUy41snJM784IWuaYAPEDM1PzvTMz5ZBGMRbY 7OzOnk7SQPKp/eDnmxw/vLnVgGtH2W1ZBTFVf0Z3ly74HEDP8m/Y0IwQS1KFPzyDAJDl Eo2Pejt2LWZK15pOPcRxKRn5jFBjiMhNzrfTs+1JGYGdfoB1TVAoME7S6Wt1tcs2s/KA dvNUcKXQEFFAIEALigDFN9ycjajvXwonbAyZahHFQ07DK/kGc9fRF2duQWSWMyho9Bk2 rBAw== 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:dkim-signature; bh=l9PH4QLd/cM4/cQPPaMBDFls0x1FzgEX2pJ1FwyEWZE=; b=kH1QxVu27H71VNZYRlOWpY/1i9x+hiDOK+me9dYzIYAcAyATe6FTmgAxznfdEZLJ4r mh3dpVxQtdGKXn/2WJtmtYGfvxkmGeB5pb0GMPGZSGn/LwlLbNwPJ9Zvtj6h6bYrIIV6 6LnwNT2OQfGfPHqArijIuz049hiFzpWvPTEgNPVPWWTk/GTQijolqyLlZdaLE1zlPjNY dtJRhnQAY+nJ4KCqK99wiHvLfiafh8h8A6n8Ya+0rt9ShD9TG/vxo14Zli8wzOaPWQKz AGHWXseR3Z/dW1rcZzZLu6qodp2qmXin6Dnvg84PFnb2GJQT//ef94aIjYp2tHrAGMry BqnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=cZcSPfT5; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=vunWxpF3; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g15si7318659ilc.45.2021.07.20.20.05.27; Tue, 20 Jul 2021 20:05:38 -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; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=cZcSPfT5; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=vunWxpF3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231580AbhGUCXm (ORCPT + 99 others); Tue, 20 Jul 2021 22:23:42 -0400 Received: from wnew3-smtp.messagingengine.com ([64.147.123.17]:47513 "EHLO wnew3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231467AbhGUCVy (ORCPT ); Tue, 20 Jul 2021 22:21:54 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.west.internal (Postfix) with ESMTP id 836962B00513; Tue, 20 Jul 2021 23:02:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 20 Jul 2021 23:02:31 -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=cZcSPfT5nsjjHMnKkcGG4XUIp3fUn lVTfUhUBnD0sEZAZxcO5JLQyhNrfPihJq8cjYa9Dc4vG7I8L2Sm1qO0/XW9TzFV/ GJdDKjNwXmmH2w6hhmMRc9fkhlrLB0xfssZeMjIb4F28e3pG7s8vBXZ/PUqAQ9Xb F7YuX6ZODSCrZHdE0WT39bubElqe1j2u2t49yJF3i1rP5mWwIgTwbjv2EAJjISg/ 0ezy4afrUBwW18uFMIUGUZKP1Q1qfxIauaNdzt/lNLsmcy8SnQOnJ5p5ndJMkiUj 2iq2oJr9ol0740UlZiTrGPuCcvY+Hu/pGvnSf1CXVg/qKDnlLLb1wjMNw== 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=vunWxpF3 uuKUM6YB6XS6QSZKOE0H+AkNwupXkbVZEngcYsIOVh8iKdcoRK6i1A9woMjXTwLs gIS58kw0Zlv/daSi84xOU1fMgmXvZrFt2Co/uaPStn3DVfeUURFgt18sVNHK3i5o MWpyn7Ezm/Rpvzc/cmGM+Y1bliJX79vV6fxPNmt9j78P/Fu5Mvivrx3lZwQQCQjP Y8fIv7MUe7r9nzeAD6Xa1qhqM1bFQznmm+Eo9kp7K1Lgw0TXWLEz3s07+x7jIdnD h3/Gd40mVbNd8c3zGOXuRDKLoZPm6bqsjSVIxuAsdIiKkHO8y5GZifRiEHZcPZHJ ahGStgAfpR232Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeefgdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepjeeihffgteelkeelffduke dtheevudejvdegkeekjeefhffhhfetudetgfdtffeunecuvehluhhsthgvrhfuihiivgep vdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 20 Jul 2021 23:02:25 -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 v3 6/9] pinctrl: pistachio: Make it as an option Date: Wed, 21 Jul 2021 11:01:31 +0800 Message-Id: <20210721030134.10562-7-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210721030134.10562-1-jiaxun.yang@flygoat.com> References: <20210721030134.10562-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org So it will be avilable for generic MIPS kernel. Signed-off-by: Jiaxun Yang -- 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 -- 2.32.0