Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751602AbbD3QJV (ORCPT ); Thu, 30 Apr 2015 12:09:21 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:33994 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750967AbbD3QJT (ORCPT ); Thu, 30 Apr 2015 12:09:19 -0400 From: Matthias Brugger_0 To: Yingjoe Chen Cc: Rob Herring , Mark Rutland , Russell King , Catalin Marinas , Will Deacon , Hongzhou Yang , Eddie Huang , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sascha Hauer , srv_heupstream@mediatek.com Subject: Re: [PATCH 1/2] ARM: dts: mt8135: Add pinctrl/GPIO/EINT node for mt8135. Date: Thu, 30 Apr 2015 18:09:02 +0200 Message-ID: <7612069.RRCsOqAebC@ubix> User-Agent: KMail/4.13.3 (Linux/3.13.0-51-generic; KDE/4.13.3; x86_64; ; ) In-Reply-To: <1430213037-23831-1-git-send-email-yingjoe.chen@mediatek.com> References: <1430213037-23831-1-git-send-email-yingjoe.chen@mediatek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2349 Lines: 77 On Tuesday, April 28, 2015 05:23:56 PM Yingjoe Chen wrote: > From: Hongzhou Yang > > > Matthias, > > Since mt8135 pinctrl node patch is not in v4.1-rc1, I'd like to make some > minor change to follow dts convention. > > Let me know what you think. > Thanks. > > Joe.C > > ---8<-------------------------------------------------------------------- > Add pinctrl,GPIO and EINT node to mt8135.dtsi. > > Signed-off-by: Yingjoe Chen > Signed-off-by: Hongzhou Yang > Acked-by: Linus Walleij > --- > arch/arm/boot/dts/mt8135-pinfunc.h | 1302 > ++++++++++++++++++++++++++++++++++++ arch/arm/boot/dts/mt8135.dtsi | > 31 + > 2 files changed, 1333 insertions(+) > create mode 100644 arch/arm/boot/dts/mt8135-pinfunc.h > > diff --git a/arch/arm/boot/dts/mt8135-pinfunc.h > b/arch/arm/boot/dts/mt8135-pinfunc.h new file mode 100644 > index 0000000..5a60987 > --- /dev/null > +++ b/arch/arm/boot/dts/mt8135-pinfunc.h [...] > diff --git a/arch/arm/boot/dts/mt8135.dtsi b/arch/arm/boot/dts/mt8135.dtsi > index 2c5c4da..d6c1f14 100644 > --- a/arch/arm/boot/dts/mt8135.dtsi > +++ b/arch/arm/boot/dts/mt8135.dtsi > @@ -17,6 +17,7 @@ > #include > #include > #include "skeleton64.dtsi" > +#include "mt8135-pinfunc.h" > > / { > compatible = "mediatek,mt8135"; > @@ -141,6 +142,36 @@ > clock-names = "spi", "wrap"; > }; > > + /* Provide regmap for pinctrl driver */ I think from the DTS it is quite clear for what the node is used for. Please delete the comment. > + syscfg_pctl_a: syscfg_pctl_a@10005000 { > + compatible = "mediatek,mt8135-pctl-a-syscfg", "syscon"; > + reg = <0 0x10005000 0 0x1000>; > + }; > + > + /* Provide regmap for pinctrl driver */ Same here. > + syscfg_pctl_b: syscfg_pctl_b@1020c000 { > + compatible = "mediatek,mt8135-pctl-b-syscfg", "syscon"; > + reg = <0 0x1020c000 0 0x1000>; > + }; Please sort the nodes by it's address. Cheers, Matthias -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/