From patchwork Thu Jan 26 15:48:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9539571 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 048E4601D7 for ; Thu, 26 Jan 2017 15:51:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E63CA26861 for ; Thu, 26 Jan 2017 15:51:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D81D726E96; Thu, 26 Jan 2017 15:51:40 +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=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 8136426861 for ; Thu, 26 Jan 2017 15:51:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cWmKg-00012I-Je; Thu, 26 Jan 2017 15:51:30 +0000 Received: from forward16h.cmail.yandex.net ([87.250.230.158]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cWmK4-0000Zp-7a for linux-arm-kernel@lists.infradead.org; Thu, 26 Jan 2017 15:50:54 +0000 Received: from smtp3m.mail.yandex.net (smtp3m.mail.yandex.net [IPv6:2a02:6b8:0:2519::125]) by forward16h.cmail.yandex.net (Yandex) with ESMTP id 053BB222DD; Thu, 26 Jan 2017 18:50:29 +0300 (MSK) Received: from smtp3m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3m.mail.yandex.net (Yandex) with ESMTP id 151672840C1E; Thu, 26 Jan 2017 18:50:20 +0300 (MSK) Received: by smtp3m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id bgKQm2N9vk-oCsqTidS; Thu, 26 Jan 2017 18:50:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1485445820; bh=kB9uiHyzeDei2/c+54VXGaSVAvDE4136KT47LTeGOM4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=qEzpYlmbXK6xoM49yQGZrhVh750d4DiYtxhXek+UgVfQ6FdXwxEbtHUt9PWCHqXKc TIvUnw0tsnPSWY7TaKUvau8mnJ3LNpAd+AL2vtLvupp9LIfblLlfPvMoQNJoPLEnX6 6DG4VCJntYsGY1c2GUUELPcqYt0V70o6umpNRo4Q= Authentication-Results: smtp3m.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: FR X-Yandex-Suid-Status: 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 1130000036118848 From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Linus Walleij , Vinod Koul , Mark Brown , Jaroslav Kysela , Andre Przywara Subject: [PATCH v2 2/9] arm64: allwinner: Kconfig: add essential pinctrl driver for H5 Date: Thu, 26 Jan 2017 23:48:52 +0800 Message-Id: <20170126154859.55855-3-icenowy@aosc.xyz> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170126154859.55855-1-icenowy@aosc.xyz> References: <20170126154859.55855-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170126_075052_473795_AAEEF51A X-CRM114-Status: UNSURE ( 9.29 ) 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: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng , dmaengine@vger.kernel.org, linux-clk@vger.kernel.org, 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 H5 SoC has two pin controllers, one (in user manual called "CPUx") needs a slightly advanced driver, and the other (called "CPUs") is just equal to the on in H3, and the H3 driver can be just reused. Select the two necessary pinctrl drivers when building kernel for Allwinner SoCs. Also add H5 in the option's description. Signed-off-by: Icenowy Zheng --- arch/arm64/Kconfig.platforms | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 715ef1256838..e11523d204b5 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -5,8 +5,11 @@ config ARCH_SUNXI select GENERIC_IRQ_CHIP select PINCTRL select PINCTRL_SUN50I_A64 + select PINCTRL_SUN50I_H5 + select PINCTRL_SUN8I_H3_R help - This enables support for Allwinner sunxi based SoCs like the A64. + This enables support for Allwinner sunxi based SoCs like the A64 + and H5. config ARCH_ALPINE bool "Annapurna Labs Alpine platform"