From patchwork Wed Mar 15 17:28:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9626287 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 E484560244 for ; Wed, 15 Mar 2017 17:33:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2E651FFC9 for ; Wed, 15 Mar 2017 17:33:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C657D201F5; Wed, 15 Mar 2017 17:33:09 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham 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 622051FFC9 for ; Wed, 15 Mar 2017 17:33:09 +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=rRozy2RgNQwO7siRN3zKLZFwzliJjjVP1FpuDmzQqvc=; b=bjxlJov9CZOjMq/KwKqYDrxsPx XYJ9yx+8rnSv3epED9dM2PvEICVmE1osjcwBOFx3w9/8ZV75wZ3l+hCNXG0dJyA3rYHwnBmFu3DAT Cx25FSJ+vncCA6DR5nYiAtvasxRkI6rA7v8MS9LcOuthfrRwuFm1rzvrbbrogIGymrs0Q29h/wbuZ k9/01sU+GMPJRBzMGGUfrse57oBMryIayh+MMrQgMBC0WmNmmm71/YiXUrTVbggL8rRLQq8JbkUjQ TGlL/Hu8N7swmW8hZbtG0GCRayujS1JgmjehPuVkYBzB/teBq7fgl/95QtH/wweW5/6KZJcBOJ7bT 12WgDDyQ==; 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 1coCnM-0004Ax-J3; Wed, 15 Mar 2017 17:33:08 +0000 Received: from forward20h.cmail.yandex.net ([2a02:6b8:0:f35::a5]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1coCmy-0003Nx-6b for linux-arm-kernel@lists.infradead.org; Wed, 15 Mar 2017 17:32:55 +0000 Received: from smtp3j.mail.yandex.net (smtp3j.mail.yandex.net [95.108.130.68]) by forward20h.cmail.yandex.net (Yandex) with ESMTP id 1762421C03; Wed, 15 Mar 2017 20:32:19 +0300 (MSK) Received: from smtp3j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3j.mail.yandex.net (Yandex) with ESMTP id 71A5062410D0; Wed, 15 Mar 2017 20:32:13 +0300 (MSK) Received: by smtp3j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id h5rYtCXTcK-W5L0qfQZ; Wed, 15 Mar 2017 20:32:10 +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=1489599132; bh=IPyVlhRnc3vaweGdF/olixvKf1mgjqSDM4O0I46vXdQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=iEX5zuIjdOV9dDbC3yJ7IQCoZjRexPLbBrHLfN4yqEkrd+zmcDJXB3jj6j5ns4ohR UNSpx3BcJtlt0UgtT0b6mbZgtYa87g24kzcHxvK+vBc1jJQyWub0+G4ognOg7FX9t9 X21pq5Q+Zx2h6Ci/8TamlnLWYSz2hh7rNQGuq6Zw= Authentication-Results: smtp3j.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: US X-Yandex-Suid-Status: 1 0,1 0,1 0,1 0,1 0,1 0,1 0,1 1130000036118848 From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 5/5] arm64: allwinner: a64: add R_PIO pinctrl node Date: Thu, 16 Mar 2017 01:28:08 +0800 Message-Id: <20170315172808.64011-6-icenowy@aosc.xyz> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170315172808.64011-1-icenowy@aosc.xyz> References: <20170315172808.64011-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170315_103244_597787_8EDDE7AA X-CRM114-Status: UNSURE ( 7.60 ) 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, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng 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 Allwinner A64 have a dedicated pin controller to manage the PL pin bank. As the driver and the required clock support are added, add the device node for it. Signed-off-by: Icenowy Zheng --- New patch in v2. arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index dbeba43386f6..a59fec6f2a22 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -410,5 +410,17 @@ #clock-cells = <1>; #reset-cells = <1>; }; + + r_pio: pinctrl@01f02c00 { + compatible = "allwinner,sun50i-a64-r-pinctrl"; + reg = <0x01f02c00 0x400>; + interrupts = ; + clocks = <&r_ccu CLK_APB0_PIO>, <&osc24M>, <&osc32k>; + clock-names = "apb", "hosc", "losc"; + gpio-controller; + #gpio-cells = <3>; + interrupt-controller; + #interrupt-cells = <3>; + }; }; };