Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752799AbcDMUji (ORCPT ); Wed, 13 Apr 2016 16:39:38 -0400 Received: from mail-db3on0057.outbound.protection.outlook.com ([157.55.234.57]:24806 "EHLO emea01-db3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751475AbcDMUjg convert rfc822-to-8bit (ORCPT ); Wed, 13 Apr 2016 16:39:36 -0400 From: Stuart Yoder To: Shawn Guo CC: "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "mark.rutland@arm.com" , "german.rivera@freescale.com" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , Yang-Leo Li Subject: RE: [PATCH 2/2] arm64: dts: ls2080a: fsl-mc dt node updates Thread-Topic: [PATCH 2/2] arm64: dts: ls2080a: fsl-mc dt node updates Thread-Index: AQHRjFitb9j7xO0hzkyYQRlEytlHUp+HeAeAgAD168A= Date: Wed, 13 Apr 2016 20:39:32 +0000 Message-ID: References: <1459544080-28598-1-git-send-email-stuart.yoder@nxp.com> <20160413055019.GK28903@tiger> In-Reply-To: <20160413055019.GK28903@tiger> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; x-originating-ip: [192.88.168.49] x-ms-office365-filtering-correlation-id: 535c982b-595b-4113-9b99-08d363dbb7e4 x-microsoft-exchange-diagnostics: 1;DB3PR04MB0779;5:25jOfGt9Kw4zB+ueDnGWcp/PrxiALenyC2/Vy/gNQZHtl7OL2Qky2wcSYY964SAoOJ+1OLoOWJbpEKkigqHSeWk7sWtNIC8ozCKH/z8cQqe8F8sneJF50jfTLW9qIvhomTzcG/pteD7BcZOnxD3A/Q==;24:nA8nDmuqXkiWlTCKBHBMvzi4HT6zurqEEXQD6tMuhSaaLBLjCrufTrE6C3mma/KOB0RliDIAavNtJp8IfFU0dHo73fusfi59fi14ocqWohg= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB3PR04MB0779; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026);SRVR:DB3PR04MB0779;BCL:0;PCL:0;RULEID:;SRVR:DB3PR04MB0779; x-forefront-prvs: 0911D5CE78 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(377454003)(24454002)(13464003)(92566002)(575784001)(2950100001)(74316001)(2900100001)(81166005)(77096005)(4326007)(5008740100001)(106116001)(66066001)(5004730100002)(76176999)(50986999)(3846002)(1220700001)(54356999)(5003600100002)(1096002)(87936001)(122556002)(6116002)(19580395003)(76576001)(86362001)(586003)(19580405001)(2906002)(9686002)(33656002)(102836003)(10400500002)(110136002)(5002640100001)(189998001)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR04MB0779;H:HE1PR04MB1641.eurprd04.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2016 20:39:32.1853 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR04MB0779 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2546 Lines: 72 > -----Original Message----- > From: Shawn Guo [mailto:shawnguo@kernel.org] > Sent: Wednesday, April 13, 2016 12:50 AM > To: Stuart Yoder > Cc: devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; mark.rutland@arm.com; > german.rivera@freescale.com; linux-kernel@vger.kernel.org; robh+dt@kernel.org; Yang-Leo Li > > Subject: Re: [PATCH 2/2] arm64: dts: ls2080a: fsl-mc dt node updates > > On Fri, Apr 01, 2016 at 03:54:40PM -0500, Stuart Yoder wrote: > > From: Stuart Yoder > > > > updates to the fsl-mc node for full functionality: > > -msi-parent is needed for interrupt support > > -ranges is needed to enable the bus driver to translate bus addresses > > -dpmac nodes provide a basis for relating dpmac objects to PHYs > > > > Signed-off-by: Stuart Yoder > > --- > > arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 87 ++++++++++++++++++++++++ > > 1 file changed, 87 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl- > ls2080a.dtsi > > index 9d746c6..449c635 100644 > > --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > > +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > > @@ -265,6 +265,93 @@ > > compatible = "fsl,qoriq-mc"; > > reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ > > <0x00000000 0x08340000 0 0x40000>; /* MC control reg */ > > + msi-parent = <&its>; > > + #address-cells = <3>; > > + #size-cells = <1>; > > + > > + /* > > + * Region type 0x0 - MC portals > > + * Region type 0x1 - QBMAN portals > > + */ > > + ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000 > > + 0x1 0x0 0x0 0x8 0x18000000 0x8000000>; > > + > > + /* > > + * Define the maximum number of MACs present on the SoC. > > + * They won't necessarily be all probed, since the > > + * Data Path Layout file and the MC firmware can put > > + * fewer actual DPMAC objects on the MC bus. > > + */ > > + dpmacs { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + dpmac1: dpmac@1 { > > + compatible = "fsl,qoriq-mc-dpmac"; > > I did not see how this compatible is used by kernel driver. There is no driver yet, but it will be coming soon. But, does it matter? Device trees should be describing hardware without regards to some specific kernel use of a node or property. > > + reg = <1>; > > + }; > > Please have a newline between nodes. Ok, will do. Stuart