From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750928AbcBHIjk (ORCPT ); Mon, 8 Feb 2016 03:39:40 -0500 Received: from box2.japko.eu ([91.121.152.53]:34049 "EHLO box2.japko.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750698AbcBHIji (ORCPT ); Mon, 8 Feb 2016 03:39:38 -0500 Date: Mon, 8 Feb 2016 09:39:12 +0100 From: Krzysztof Adamski To: Chen-Yu Tsai Cc: Linus Walleij , Maxime Ripard , Hans de Goede , Lee Jones , Rob Herring , Jens Kuske , Fabian Frederick , Vishnu Patekar , "linux-gpio@vger.kernel.org" , linux-arm-kernel , linux-kernel , linux-sunxi Subject: Re: [PATCH v3 4/5] ARM: dts: sun8i-h3: Add R_PIO controller node to the dtsi Message-ID: <20160208083912.GF12071@box2.japko.eu> References: <1454542430-16572-1-git-send-email-k@japko.eu> <1454542430-16572-5-git-send-email-k@japko.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 05, 2016 at 05:46:32PM +0800, Chen-Yu Tsai wrote: >On Thu, Feb 4, 2016 at 7:33 AM, Krzysztof Adamski wrote: >> Add the corresponding device node for R_PIO on H3 to the dtsi. Support >> for the controller was added in earlier commit. >> >> Signed-off-by: Krzysztof Adamski >> --- >> arch/arm/boot/dts/sun8i-h3.dtsi | 12 ++++++++++++ >> 1 file changed, 12 insertions(+) >> >> diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi >> index bb37f52..f618a95 100644 >> --- a/arch/arm/boot/dts/sun8i-h3.dtsi >> +++ b/arch/arm/boot/dts/sun8i-h3.dtsi >> @@ -517,5 +517,17 @@ >> compatible = "allwinner,sun6i-a31-clock-reset"; >> #reset-cells = <1>; >> }; >> + >> + r_pio: pinctrl@01f02c00 { >> + compatible = "allwinner,sun8i-h3-r-pinctrl"; >> + reg = <0x01f02c00 0x400>; >> + interrupts = ; >> + clocks = <&apb0_gates 0>; >> + resets = <&apb0_reset 0>; >> + gpio-controller; >> + #gpio-cells = <3>; >> + interrupt-controller; >> + #interrupt-cells = <2>; > >This should be 3: bank number + pin number + flags. >The rest looks good. Nicly spotted. I took it from pio description in the same file. So there's a bug there too.