Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2007677imm; Thu, 18 Oct 2018 07:42:25 -0700 (PDT) X-Google-Smtp-Source: ACcGV62yFFCmGOktqUE5FBJF1mDjay56NP5weIFLkmDp9atywIRV4OSXcFdRP2Iolt30ijOHhfsy X-Received: by 2002:a17:902:bd08:: with SMTP id p8-v6mr1117581pls.29.1539873745885; Thu, 18 Oct 2018 07:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539873745; cv=none; d=google.com; s=arc-20160816; b=uMjCbXhAaleRGDPSPUegsYbTNEYaqdguHN7KF86pP1X46N2X/1aRP3lMNZv1P0Szrm g0VfxCDZ65EEsH/o6H6rgiSKt7VHsEsKgbRf8Ao2cNwBLOPZMV1SPT0S/SRI8NIVdRk3 jBQuDvC7AAxZhtYe0a5DIzg7pK9WLo62xkha5yRDq0l05VcHA22eYT0L73OlgPGvzTst hZaHdMz4G8v6/C9ne4u/9ukttsB7DpOjO1CXYiaT7/hyrcvh/GfCBfROpLYC8MkWVUEU 9+aMZxskcswkPL491MhEHK3ci6v2fzADuPB2+RYmDu6OvPZe/fK1Ma6F1OFn9fC117sg qBVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=WNN5f/lhvj8qpDLTBxSDS8mo9T/rHzpivfe+nAmIUVg=; b=AzM15Q2CRPWo8dKuerg+KshHMRHXGzbVQ9UTDxpHPFXpvpjIDte6y8rgaloJiZHBCH KfGt+aoiUysT8nW5Bh97ouWbeznwyOltf/dRI8Fmd9jsJuVg7ZRg4dP3kx6T05GGWjye bkq4Ft+j+rSBLYyFOr0svW1nAz/MKyYWRdLLmxMVs8XeCoZdOwhIyuWqbIDCbLC7Zaw/ eDj8Y3nI9H0sPfcCieJUUL8l9a9fIVRfzM/RC7Fda+I7XvP2rSz4vXiOKtwZy8O/+IFU rObUDf42rLUFpJOoXdxDlr5eytExctMVphxcTAF4djnMO+minSG2XFo8RQG8NoIA21Sj Oqtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ivcThHLF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e13-v6si21037262pff.272.2018.10.18.07.42.10; Thu, 18 Oct 2018 07:42:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ivcThHLF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728288AbeJRWZx (ORCPT + 99 others); Thu, 18 Oct 2018 18:25:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:45752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726924AbeJRWZx (ORCPT ); Thu, 18 Oct 2018 18:25:53 -0400 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4C87921477; Thu, 18 Oct 2018 14:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539872678; bh=vkfNO8xLQnsxLlhSwV054j82Tt775BuYwMMzGfYnoRE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ivcThHLFV+EimVZK2BF3cc6DSQ618gKXSSgMGbZTcXFceSNACzsBONGRu2Xx4dVvQ +/8HlZiaN67rU2Ms9LGbEN97p/ArInFFJ0rTOD5eKmabvWRhdZD9mcj4BTv/hXV7kU 1rUB4Gcl3CRhRPPuZMAaZWc2a/facx5yTrqxMsPo= Received: by mail-wr1-f50.google.com with SMTP id y16so33934201wrw.3; Thu, 18 Oct 2018 07:24:38 -0700 (PDT) X-Gm-Message-State: ABuFfogwaHPuMhSXUnQJa33xfIqlmWD57h5LwC0+PF9zaDR2MyOTJUF1 yy8mj9qqGShG4LboAvo7+uxmw8/NJ8YRAjrV7RA= X-Received: by 2002:adf:9592:: with SMTP id p18-v6mr30375166wrp.202.1539872676703; Thu, 18 Oct 2018 07:24:36 -0700 (PDT) MIME-Version: 1.0 References: <20181008191411.32555-1-manivannan.sadhasivam@linaro.org> <20181008191411.32555-3-manivannan.sadhasivam@linaro.org> In-Reply-To: <20181008191411.32555-3-manivannan.sadhasivam@linaro.org> From: Sean Wang Date: Thu, 18 Oct 2018 22:24:25 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/5] arm64: dts: mediatek: mt6797: Add pinctrl support To: manivannan.sadhasivam@linaro.org Cc: =?UTF-8?B?U2VhbiBXYW5nICjnjovlv5fkupgp?= , linus.walleij@linaro.org, matthias.bgg@gmail.com, robh+dt@kernel.org, linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, linux-gpio@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 9, 2018 at 3:16 AM Manivannan Sadhasivam wrote: > > Add pinctrl support for Mediatek MT6797 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm64/boot/dts/mediatek/mt6797.dtsi | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi > index 4beaa71107d7..231230d32d09 100644 > --- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi > @@ -14,6 +14,7 @@ > #include > #include > #include > +#include > > / { > compatible = "mediatek,mt6797"; > @@ -129,6 +130,19 @@ > #clock-cells = <1>; > }; > > + pio: pinctrl@10005000 { > + compatible = "mediatek,mt6797-pinctrl"; > + reg = <0 0x10005000 0 0x1000>, > + <0 0x10002000 0 0x400>, > + <0 0x10002400 0 0x400>, > + <0 0x10002800 0 0x400>, > + <0 0x10002C00 0 0x400>; > + reg-names = "gpio", "iocfgl", "iocfgb", > + "iocfgr", "iocfgt"; > + gpio-controller; > + #gpio-cells = <2>; > + }; > + The content looks good to me, but the dt-binding document is required to be added for MT6797 SoC before the DTS instance is being added. > scpsys: scpsys@10006000 { > compatible = "mediatek,mt6797-scpsys"; > #power-domain-cells = <1>; > -- > 2.17.1 > > > _______________________________________________ > Linux-mediatek mailing list > Linux-mediatek@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-mediatek