Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1017243pxv; Thu, 22 Jul 2021 19:28:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQUKeeXwmwvGqN1SCXB2KcdIwusayOyVBR65+R8lhOS/WeFE1TH5gr4WET+pJ1aJTSZIMC X-Received: by 2002:a6b:7901:: with SMTP id i1mr2134365iop.41.1627007308660; Thu, 22 Jul 2021 19:28:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627007308; cv=none; d=google.com; s=arc-20160816; b=UXZ4gwJ4kNhcTkRKwXIC4jB/qB+faSVE+FjynOKfC3lMbr4+1de944h0StefA/Xf6W 5yp171AoHwhVecRGYWQLn5En/ZgMTg0i5vCyBN5F0jtbhXEtrH2j9ZzEO4ihpXiY+MDK axwXN9x/K+7d2GE+CId1FIr3eXfLWV1q0gxwTP3F/l6VaMa2+rZJPFbB/qBRUrlDsr7v GtqZWG8D1vaUeS+Tko2B04+yTYBApBaFC2JHkg0qWIHITn5X4IE/4hWTJ8f2rEDLYOWL sEB43soUaISknjqW0RV97i0zQvM4pgl1Yc1Sv0ZaSEgTG2qI17pvgJUH268YwwUaHY6v VDdQ== 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=JKke+Ep28RvcD0+Liye8FsMwBaMzesAMya2zPVBr8pgUIHoZHt0PUjILMJbsdAm2TK 5HRwgqbvY0xdXKgD+3wzkZBiMua6aQdVzMuuhmvHe0E8QTGVUWG7UL0TNUw4YkL3VGq/ u85x6Daju+VL4YWeslMYc+W0r3lQF+ZUg8Mnl1CfnOG18kjEw5f9MH3ZpvyWXC9OZr5c Kd8w3b6gULFhn0EAcLDw4nU1zb7IV4vvEKOijR4qzDcCN9Hdf6y2Voee+mnbFiX98IAm pIvN4XbmG540xoQZMNiJPq+D+IIzFcfEWdFe4dXcqEGW+obVzIB5gCAvtrdRklONbmdL 1h/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm2 header.b=m1v+TIVM; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=RY2g7wsl; 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 n14si35924746ilk.78.2021.07.22.19.28.17; Thu, 22 Jul 2021 19:28:28 -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=m1v+TIVM; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=RY2g7wsl; 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 S233374AbhGWBqC (ORCPT + 99 others); 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 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