From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753198AbdDEDtM (ORCPT ); Tue, 4 Apr 2017 23:49:12 -0400 Received: from smtp.csie.ntu.edu.tw ([140.112.30.61]:37046 "EHLO smtp.csie.ntu.edu.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752792AbdDEDtK (ORCPT ); Tue, 4 Apr 2017 23:49:10 -0400 MIME-Version: 1.0 In-Reply-To: <20170404180145.12897-2-icenowy@aosc.io> References: <20170404180145.12897-1-icenowy@aosc.io> <20170404180145.12897-2-icenowy@aosc.io> From: Chen-Yu Tsai Date: Wed, 5 Apr 2017 11:48:43 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-sunxi] [PATCH 01/11] arm64: allwinner: a64: enable RSB on A64 To: Icenowy Zheng Cc: Lee Jones , Rob Herring , Chen-Yu Tsai , Maxime Ripard , Liam Girdwood , devicetree , linux-sunxi , linux-kernel , linux-arm-kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 5, 2017 at 2:01 AM, Icenowy Zheng wrote: > Allwinner A64 have a RSB controller like the one on A23/A33 SoCs. > > Add it and its pinmux. > > Signed-off-by: Icenowy Zheng > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > index 6bc606b4d74d..9a75b1c7c91a 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > @@ -420,6 +420,27 @@ > #gpio-cells = <3>; > interrupt-controller; > #interrupt-cells = <3>; > + > + r_rsb_pins: rsb@0 { > + pins = "PL0", "PL1"; > + function = "s_rsb"; > + drive-strength = <20>; We don't need this. The hardware default should be enough. > + bias-pull-up; Boards should have external pull-ups for these pins, as the PMICs start up in I2C mode. If any board actually doesn't have them and needs the internal pull-ups, they should be set at the board level. Otherwise, Acked-by: Chen-Yu Tsai > + }; > + }; > + > + 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>; > }; > }; > }; > -- > 2.12.2 > > -- > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.