From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88467C63777 for ; Thu, 3 Dec 2020 10:13:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3A96A20C56 for ; Thu, 3 Dec 2020 10:13:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727556AbgLCKNk (ORCPT ); Thu, 3 Dec 2020 05:13:40 -0500 Received: from mo-csw1514.securemx.jp ([210.130.202.153]:55990 "EHLO mo-csw.securemx.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726082AbgLCKNk (ORCPT ); Thu, 3 Dec 2020 05:13:40 -0500 Received: by mo-csw.securemx.jp (mx-mo-csw1514) id 0B3ABGG3016292; Thu, 3 Dec 2020 19:11:16 +0900 X-Iguazu-Qid: 34tru22SmdemqdXay2 X-Iguazu-QSIG: v=2; s=0; t=1606990276; q=34tru22SmdemqdXay2; m=f0hXoQvS86BDq/vavYVZYk2qxHssrnbqfH2Zb9fuC/E= Received: from imx12.toshiba.co.jp (imx12.toshiba.co.jp [61.202.160.132]) by relay.securemx.jp (mx-mr1512) id 0B3ABFUG008832; Thu, 3 Dec 2020 19:11:15 +0900 Received: from enc02.toshiba.co.jp ([61.202.160.51]) by imx12.toshiba.co.jp with ESMTP id 0B3ABFHF027783; Thu, 3 Dec 2020 19:11:15 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id 0B3ABFMe021632; Thu, 3 Dec 2020 19:11:15 +0900 From: Punit Agrawal To: Nobuhiro Iwamatsu Cc: Rob Herring , Linus Walleij , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, yuji2.ishikawa@toshiba.co.jp, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 4/4] arm: dts: visconti: Add DT support for Toshiba Visconti5 GPIO driver References: <20201201181406.2371881-1-nobuhiro1.iwamatsu@toshiba.co.jp> <20201201181406.2371881-5-nobuhiro1.iwamatsu@toshiba.co.jp> Date: Thu, 03 Dec 2020 19:11:13 +0900 In-Reply-To: <20201201181406.2371881-5-nobuhiro1.iwamatsu@toshiba.co.jp> (Nobuhiro Iwamatsu's message of "Wed, 2 Dec 2020 03:14:06 +0900") X-TSB-HOP: ON Message-ID: <87eek742ta.fsf@kokedama.swc.toshiba.co.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Nobuhiro Iwamatsu writes: > Add the GPIO node in Toshiba Visconti5 SoC-specific DT file. > And enable the GPIO node in TMPV7708 RM main board's board-specific DT file. > > Signed-off-by: Nobuhiro Iwamatsu > --- > .../boot/dts/toshiba/tmpv7708-rm-mbrc.dts | 4 +++ > arch/arm64/boot/dts/toshiba/tmpv7708.dtsi | 27 +++++++++++++++++++ > 2 files changed, 31 insertions(+) > > diff --git a/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts b/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts > index ed0bf7f13f54..950010a290f0 100644 > --- a/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts > +++ b/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts > @@ -41,3 +41,7 @@ &uart1 { > clocks = <&uart_clk>; > clock-names = "apb_pclk"; > }; > + > +&gpio { > + status = "okay"; > +}; > diff --git a/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi b/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi > index 242f25f4e12a..ac9bddb35b0a 100644 > --- a/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi > +++ b/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi > @@ -157,6 +157,33 @@ pmux: pmux@24190000 { > reg = <0 0x24190000 0 0x10000>; > }; > > + gpio: gpio@28020000 { > + compatible = "toshiba,gpio-tmpv7708"; > + reg = <0 0x28020000 0 0x1000>; > + #gpio-cells = <0x2>; > + gpio-ranges = <&pmux 0 0 32>; > + gpio-controller; > + interrupt-controller; > + #interrupt-cells = <2>; > + interrupts = > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + }; > + > uart0: serial@28200000 { > compatible = "arm,pl011", "arm,primecell"; > reg = <0 0x28200000 0 0x1000>; FWIW, Reviewed-by: Punit Agrawal Thanks, Punit From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E131DC63777 for ; Thu, 3 Dec 2020 10:12:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 33A5220705 for ; Thu, 3 Dec 2020 10:12:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 33A5220705 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=toshiba.co.jp Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To:Date:References: 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=bzr1hy35tbnfeEpzZ8+wbacnFG7eLPJVsfeKauGEF9I=; b=ifMrSfp4RdNus+aUUxsALs3uw jdrZ+zNrWRE4gW8Tiag1mBHAbEWvFmyE9I51JN+bjoqPlIshUmfnsLEdVSSBh7CnHrTZo5a8L2EfV /75mQUwOb8qYBCRgaSqtjweb950y49CHKClYEZfdFcMJq9ylgYd6m4J3wQFECpmZucNrpZfQeBhg4 7PEmjgbOl2/O9WYjzNn7fpVOqDdstw5lKf2UT3htixQJXdXZgH7Tr5zgFLpface94AndXC7dZwZpa ZhOLZpsdW+EZkERvCFM+LvjBTp79BolG1vHgHddiBKHllPScd9fmx8Iom6ZQIYVyksu3aK9/MjmFI JdRJJrucg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kklaI-0002Od-Qf; Thu, 03 Dec 2020 10:11:34 +0000 Received: from mo-csw1514.securemx.jp ([210.130.202.153] helo=mo-csw.securemx.jp) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kklaC-0002N6-Ur for linux-arm-kernel@lists.infradead.org; Thu, 03 Dec 2020 10:11:32 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1514) id 0B3ABGG3016292; Thu, 3 Dec 2020 19:11:16 +0900 X-Iguazu-Qid: 34tru22SmdemqdXay2 X-Iguazu-QSIG: v=2; s=0; t=1606990276; q=34tru22SmdemqdXay2; m=f0hXoQvS86BDq/vavYVZYk2qxHssrnbqfH2Zb9fuC/E= Received: from imx12.toshiba.co.jp (imx12.toshiba.co.jp [61.202.160.132]) by relay.securemx.jp (mx-mr1512) id 0B3ABFUG008832; Thu, 3 Dec 2020 19:11:15 +0900 Received: from enc02.toshiba.co.jp ([61.202.160.51]) by imx12.toshiba.co.jp with ESMTP id 0B3ABFHF027783; Thu, 3 Dec 2020 19:11:15 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id 0B3ABFMe021632; Thu, 3 Dec 2020 19:11:15 +0900 From: Punit Agrawal To: Nobuhiro Iwamatsu Subject: Re: [PATCH v3 4/4] arm: dts: visconti: Add DT support for Toshiba Visconti5 GPIO driver References: <20201201181406.2371881-1-nobuhiro1.iwamatsu@toshiba.co.jp> <20201201181406.2371881-5-nobuhiro1.iwamatsu@toshiba.co.jp> Date: Thu, 03 Dec 2020 19:11:13 +0900 In-Reply-To: <20201201181406.2371881-5-nobuhiro1.iwamatsu@toshiba.co.jp> (Nobuhiro Iwamatsu's message of "Wed, 2 Dec 2020 03:14:06 +0900") X-TSB-HOP: ON Message-ID: <87eek742ta.fsf@kokedama.swc.toshiba.co.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201203_051129_396840_A52C6000 X-CRM114-Status: GOOD ( 14.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Linus Walleij , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Rob Herring , yuji2.ishikawa@toshiba.co.jp, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Nobuhiro Iwamatsu writes: > Add the GPIO node in Toshiba Visconti5 SoC-specific DT file. > And enable the GPIO node in TMPV7708 RM main board's board-specific DT file. > > Signed-off-by: Nobuhiro Iwamatsu > --- > .../boot/dts/toshiba/tmpv7708-rm-mbrc.dts | 4 +++ > arch/arm64/boot/dts/toshiba/tmpv7708.dtsi | 27 +++++++++++++++++++ > 2 files changed, 31 insertions(+) > > diff --git a/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts b/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts > index ed0bf7f13f54..950010a290f0 100644 > --- a/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts > +++ b/arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts > @@ -41,3 +41,7 @@ &uart1 { > clocks = <&uart_clk>; > clock-names = "apb_pclk"; > }; > + > +&gpio { > + status = "okay"; > +}; > diff --git a/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi b/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi > index 242f25f4e12a..ac9bddb35b0a 100644 > --- a/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi > +++ b/arch/arm64/boot/dts/toshiba/tmpv7708.dtsi > @@ -157,6 +157,33 @@ pmux: pmux@24190000 { > reg = <0 0x24190000 0 0x10000>; > }; > > + gpio: gpio@28020000 { > + compatible = "toshiba,gpio-tmpv7708"; > + reg = <0 0x28020000 0 0x1000>; > + #gpio-cells = <0x2>; > + gpio-ranges = <&pmux 0 0 32>; > + gpio-controller; > + interrupt-controller; > + #interrupt-cells = <2>; > + interrupts = > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + }; > + > uart0: serial@28200000 { > compatible = "arm,pl011", "arm,primecell"; > reg = <0 0x28200000 0 0x1000>; FWIW, Reviewed-by: Punit Agrawal Thanks, Punit _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel