From patchwork Wed Apr 26 15:20:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9701499 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 DB24C60245 for ; Wed, 26 Apr 2017 15:21:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBDFF28459 for ; Wed, 26 Apr 2017 15:21:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C05D628484; Wed, 26 Apr 2017 15:21:37 +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 292BF28459 for ; Wed, 26 Apr 2017 15:21:36 +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=Fv2Zelk9OaUd+J7JisN8agpubPux53oXF8iZwhL747s=; b=PRJIRxGEoNHZwO0iQVJYR/qx7X aso1MSjD/SSN1ipnUMyQFa+KqXEbst+QR7erWlNhzivsL2QrC3elf15gRWZbsWsniMUmM2oH3Vn20 jDG+VQCHIxSpCPhYVGLxYuoeVdWmz3k/ozpGWt9aWMOfmCRCv3Pq1+ReKjY/kf0D9bEWdZY3zLiOJ +ysCIkEW5zp0M2I3qnlCqOT+bTBuGs7itnHYOo0nxI6q99bkJBgnessK8uOIJoZXqSOx+VZxJBfPy MoGG//AMl6ourEAWVH1/yS620w/bYyvmR1FU/PgAqAfF43Y/wXx90pUWS8DBi1QSmLYswagKA9bzX EUDEN3CA==; 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 1d3Ol5-0006Vr-P4; Wed, 26 Apr 2017 15:21:35 +0000 Received: from nov-007-i592.relay.mailchannels.net ([46.232.183.146]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d3Ol2-00066O-1a for linux-arm-kernel@lists.infradead.org; Wed, 26 Apr 2017 15:21:35 +0000 X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 04928104172; Wed, 26 Apr 2017 15:20:58 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.133.226]) by relay.mailchannels.net (Postfix) with ESMTPA id 2D981103E55; Wed, 26 Apr 2017 15:20:56 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.20.82.168]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.9.2); Wed, 26 Apr 2017 15:20:57 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Vacuous-Drop: 485af7841b35359e_1493220057176_1624252894 X-MC-Loop-Signature: 1493220057176:2509849019 X-MC-Ingress-Time: 1493220057176 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id E83BE49693; Wed, 26 Apr 2017 15:20:50 +0000 (UTC) From: Icenowy Zheng To: Thomas Gleixner , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Lee Jones , Liam Girdwood Subject: [PATCH v5 01/10] arm64: allwinner: a64: enable RSB on A64 Date: Wed, 26 Apr 2017 23:20:14 +0800 Message-Id: <20170426152023.41567-2-icenowy@aosc.io> In-Reply-To: <20170426152023.41567-1-icenowy@aosc.io> References: <20170426152023.41567-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170426_082132_844702_4884D5BF X-CRM114-Status: UNSURE ( 6.38 ) 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 RSB controller like the one on A23/A33 SoCs. Add it and its pinmux. Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai --- Changes in v2: - Removed bonus properties in pio node. - Added Chen-Yu's ACK. arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index c7f669f5884f..05ec9fc5e81f 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -422,6 +422,25 @@ #gpio-cells = <3>; interrupt-controller; #interrupt-cells = <3>; + + r_rsb_pins: rsb@0 { + pins = "PL0", "PL1"; + function = "s_rsb"; + }; + }; + + r_rsb: rsb@1f03400 { + compatible = "allwinner,sun8i-a23-rsb"; + reg = <0x01f03400 0x400>; + interrupts = ; + clocks = <&r_ccu 6>; + clock-frequency = <3000000>; + resets = <&r_ccu 2>; + pinctrl-names = "default"; + pinctrl-0 = <&r_rsb_pins>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; }; }; };