Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753400AbdDNDkk (ORCPT ); Thu, 13 Apr 2017 23:40:40 -0400 Received: from mail.kernel.org ([198.145.29.136]:33550 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751840AbdDNDki (ORCPT ); Thu, 13 Apr 2017 23:40:38 -0400 Date: Fri, 14 Apr 2017 11:40:06 +0800 From: Shawn Guo To: Andrey Smirnov Cc: yurovsky@gmail.com, Sascha Hauer , Fabio Estevam , Rob Herring , Mark Rutland , Russell King , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 4/8] ARM: dts: imx7s: Add node for GPC Message-ID: <20170414034005.GG14915@dragon> References: <20170413133242.5068-1-andrew.smirnov@gmail.com> <20170413133242.5068-5-andrew.smirnov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170413133242.5068-5-andrew.smirnov@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2821 Lines: 95 On Thu, Apr 13, 2017 at 06:32:38AM -0700, Andrey Smirnov wrote: > Add node for GPC and specify as a parent interrupt controller for SoC bus. > > Cc: yurovsky@gmail.com > Cc: Sascha Hauer > Cc: Fabio Estevam > Cc: Rob Herring > Cc: Mark Rutland > Cc: Russell King > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Signed-off-by: Andrey Smirnov > --- > arch/arm/boot/dts/imx7s.dtsi | 27 ++++++++++++++++++++++++++- > 1 file changed, 26 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi > index 8fee299..1a7058f 100644 > --- a/arch/arm/boot/dts/imx7s.dtsi > +++ b/arch/arm/boot/dts/imx7s.dtsi > @@ -42,6 +42,7 @@ > */ > > #include > +#include > #include > #include > #include > @@ -119,7 +120,7 @@ > #address-cells = <1>; > #size-cells = <1>; > compatible = "simple-bus"; > - interrupt-parent = <&intc>; > + interrupt-parent = <&gpc>; > ranges; > > funnel@30041000 { > @@ -301,6 +302,7 @@ > interrupts = ; > #interrupt-cells = <3>; > interrupt-controller; > + interrupt-parent = <&intc>; > reg = <0x31001000 0x1000>, > <0x31002000 0x2000>, > <0x31004000 0x2000>, > @@ -309,6 +311,7 @@ > > timer { > compatible = "arm,armv7-timer"; > + interrupt-parent = <&intc>; > interrupts = , > , > , > @@ -564,6 +567,28 @@ > interrupts = ; > #reset-cells = <1>; > }; > + > + gpc: gpc@303a0000 { > + compatible = "fsl,imx7d-gpc"; > + reg = <0x303a0000 0x10000>; > + interrupt-controller; > + interrupts = ; > + #interrupt-cells = <3>; > + interrupt-parent = <&intc>; > + #power-domain-cells = <1>; > + > + pgc { > + #address-cells = <1>; > + #size-cells = <0>; > + > + pgc_pcie_phy: pgc-pcie-phy-domain { The node name should be something generic and has a unit-address when there is a 'reg' property in the node. > + #power-domain-cells = <0>; > + Drop this newline. Shawn > + reg = ; > + power-supply = <®_1p0d>; > + }; > + }; > + }; > }; > > aips2: aips-bus@30400000 { > -- > 2.9.3 >