From patchwork Thu Dec 6 21:59:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10717107 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0716414E2 for ; Thu, 6 Dec 2018 22:17:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E82D32EA01 for ; Thu, 6 Dec 2018 22:17:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7A8D2EF3D; Thu, 6 Dec 2018 22:17:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 575E92EA01 for ; Thu, 6 Dec 2018 22:17:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=R35dDOzEP4QVChWjG+B4C6OTgjkCTMmjb2aBJ49dBjs=; b=O+WNOy0/zFVWQenwI4+TQ/F9KL D48FjQCwL1AdvWHNXA4D16J4yxc/XBdoJGuM9tc2QIkPUjGybZ8O5BdeLCXje4Mgmb/+QWNeUC+hP RrYmr8y8UOkvphN9Dyh+X1bcoxKQJvnFGO8ZBUUISgBax6qpfaIrbMuuN7Q5uOJZKW3lXbzVR06SQ FXhOJ2HA5P0p6EAZeEBpv3o1UtaWpORtt+ziCayP3OrpN04vDJQH3IEn8/Qf+07CDTwWJU1s4hq+7 b+MXqb8KybNpvJf6ujUbC7JP2r36zf1AdX/uqnWExgK1tyaA1jYWekBY/e5ebDFrX+qulWaIJiFv2 p1dhkaow==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gV1x0-0004kU-5c; Thu, 06 Dec 2018 22:16:54 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gV1vV-00085t-O5 for linux-arm-kernel@lists.infradead.org; Thu, 06 Dec 2018 22:15:47 +0000 Received: from penelope.horms.nl (unknown [64.124.208.80]) by kirsty.vergenet.net (Postfix) with ESMTPA id 284F925BF7C; Fri, 7 Dec 2018 08:59:36 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1544133576; bh=7kROtk+p9cGuq+RLgUVUln5pyRJtLSb19IqE50JGG0E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rND64F8Iq32NpcONbrn91IsdPDz0Tx6C1wfO+mWz8oRHYgZ14YiAarIS4m2iPQq31 VD9r7Xz7DUCHj+/1vE4XBffihl/oriKCSWZbZUdzlMy/meAQQtoWDEZY3RnTXyJZcY lQDNJOSnClVyR2eyZInyH7EfGoYFDn2dDhvRZUj8= Received: by penelope.horms.nl (Postfix, from userid 7100) id F2C9CE21709; Thu, 6 Dec 2018 13:59:34 -0800 (PST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 1/9] arm64: renesas: Enable GPIOLIB to allow GPIO driver selection Date: Thu, 6 Dec 2018 13:59:26 -0800 Message-Id: <9374eee32b666c92cf821a98eb3aeaa0bf4d5dd5.1544132474.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181206_141522_654171_906FED40 X-CRM114-Status: UNSURE ( 8.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Horman , Takeshi Kihara , Magnus Damm , Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Takeshi Kihara The R-Car GPIO driver cannot be enabled when Renesas SoC's ARCH configs (ARCH_RENESAS, ARCH_R8A7795, ARCH_R8A7796 and ARCH_R8A77965) are enabled only. As GPIOs are a critical resource for proper operation on Renesas platforms, this patch selects GPIOLIB, just like is done for other SoC vendors, and on Renesas arm32 SoCs. Reported-by: Alexandru Gheorghe Signed-off-by: Takeshi Kihara [geert: Improve patch description] Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 51bc479334a4..2eb02734ae45 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -157,6 +157,7 @@ config ARCH_REALTEK config ARCH_RENESAS bool "Renesas SoC Platforms" + select GPIOLIB select PINCTRL select PM select PM_GENERIC_DOMAINS