Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751240AbdGMIq5 (ORCPT ); Thu, 13 Jul 2017 04:46:57 -0400 Received: from mail-eopbgr20060.outbound.protection.outlook.com ([40.107.2.60]:52320 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750846AbdGMIqz (ORCPT ); Thu, 13 Jul 2017 04:46:55 -0400 From: Ran Wang To: Shawn Guo CC: Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Andy Tang , Harninder Rai , =?iso-8859-2?Q?Horia_Geant=E3?= , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)" , open list Subject: RE: [PATCH] arm64: dts: ls1012a: add USB host controller nodes Thread-Topic: [PATCH] arm64: dts: ls1012a: add USB host controller nodes Thread-Index: AQHS9TxGmoVHP9YG1EypeqaPIFmJxaJRc54AgAAJLoA= Date: Thu, 13 Jul 2017 08:46:50 +0000 Message-ID: References: <1499223243-13253-1-git-send-email-ran.wang_1@nxp.com> <20170713080717.GP3172@dragon> In-Reply-To: <20170713080717.GP3172@dragon> 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.158.241.86] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM3PR04MB1188;7:AOosEbpVBlXIKyrzRryf40yeGag3T2IsWx1lHbFPmj0R4C+9KEVaDBmAki+54HPUOr7Na6J4yhEwt1pO/f9OnUm0D7ocDDZ6F42Z35FLQJUStUTBi8FmRSfdgqauyZuDTm1qP+izPnP5S/2i3u9f3KDBacTDeZnLHN6aatfIDSH+172ACyXtI9TZaJ7pUMha78ZtyOawNS39FYCPfJL0uu6b5Z/WLkM/wh8i9Rxu6yng42+9g5MuHvqoxa+9K5bUGGusW34j5QhIRLkf/UXGQr569y17VBfyUTk0eRV01qmsQ5zugVhzgksNIRErwZ/1Szc2fMbHUMEOSD11hbEQDIEQgToRcvTOjIB35f4249V2T4ahEJjQrRqVhSxIGa+ze8v4ZeqxXAUL1BLQElIYf+HGkaOIdONihLSdftVbuQqgBg6NRkqn6aMocOpyCo8FIm7SV+YdVP//2mInyPV4SzZei4aZWv2BErzR1f5r5Zy5UQXXYaieZ5N6Yww06pQu15kgpST1UtDvYITgV9wwahpgkvvdR3KJs75k4iyrT2BHAuwnWXXs8QUCXXsipXxD3FM1utyY4YupnyJDl47YxMit/jCNCXqhtEvIKVSb/NABnMiHts2+hgmhzRev+jAjS4EYiVrctTpaZjzUmIslbXz2V0B6O2jfXoa4zk/rIlZz3uFG0VRO+iUNPeHSITb4ixFzRNbF0LqNlpYu0NpGzqF86c06wybRcajLYM6EkErtpe32C+XYlZU9a04Hmrf2eY2KV4iAsDX+iTHqUKQxfgLUOPQ9CKj3+aWiriNAk9Q= x-forefront-antispam-report: SFV:SKI;SCL:-1SFV:NSPM;SFS:(10009020)(6009001)(39450400003)(39850400002)(39410400002)(39400400002)(39860400002)(39840400002)(377454003)(24454002)(13464003)(9686003)(8676002)(5660300001)(478600001)(2950100002)(33656002)(86362001)(99286003)(54356999)(229853002)(53936002)(3846002)(6506006)(2906002)(55016002)(76176999)(50986999)(3280700002)(6916009)(6436002)(7696004)(14454004)(2900100001)(81166006)(6116002)(305945005)(110136004)(102836003)(5250100002)(6246003)(3660700001)(74316002)(54906002)(8936002)(38730400002)(189998001)(66066001)(7736002)(25786009)(53546010)(4326008);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR04MB1188;H:AM3PR04MB1489.eurprd04.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; x-ms-office365-filtering-correlation-id: 2e628749-2d4c-4baf-b40b-08d4c9cbb42a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(48565401081)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:AM3PR04MB1188; x-ms-traffictypediagnostic: AM3PR04MB1188: x-exchange-antispam-report-test: UriScan:(180628864354917)(236129657087228)(9452136761055)(185117386973197)(258649278758335)(247924648384137); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123560025)(20161123562025)(20161123564025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:AM3PR04MB1188;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:AM3PR04MB1188; x-forefront-prvs: 0367A50BB1 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-2" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2017 08:46:50.3542 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB1188 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v6D8mbVk006528 Content-Length: 2312 Lines: 63 > -----Original Message----- > From: Shawn Guo [mailto:shawnguo@kernel.org] > Sent: Thursday, July 13, 2017 4:07 PM > To: Ran Wang > Cc: Rob Herring ; Mark Rutland > ; Catalin Marinas ; Will > Deacon ; Andy Tang ; Harninder > Rai ; Horia Geant? ; open > list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS > ; moderated list:ARM64 PORT (AARCH64 > ARCHITECTURE) ; open list kernel@vger.kernel.org> > Subject: Re: [PATCH] arm64: dts: ls1012a: add USB host controller nodes > > On Wed, Jul 05, 2017 at 10:54:03AM +0800, Ran Wang wrote: > > LS1012A has one USB 3.0(DWC3) controller and one USB 2.0 controller. > > > > Signed-off-by: Ran Wang > > --- > > arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 17 +++++++++++++++++ > > 1 file changed, 17 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi > > b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi > > index b497ac1..8aa2dcf 100644 > > --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi > > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi > > @@ -411,6 +411,23 @@ > > <&clockgen 4 3>; > > }; > > > > + usb0: usb3@2f00000 { > > + compatible = "snps,dwc3"; > > + reg = <0x0 0x2f00000 0x0 0x10000>; > > + interrupts = <0 60 0x4>; > > + dr_mode = "host"; > > + snps,quirk-frame-length-adjustment = <0x20>; > > + snps,dis_rxdet_inp3_quirk; > > + }; > > + > > + usb1: usb2@8600000 { > > + compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr"; > > + reg = <0x0 0x8600000 0x0 0x1000>; > > + interrupts = <0 139 0x4>; > > + dr_mode = "host"; > > + phy_type = "ulpi"; > > + }; > > Please keep the nodes sorted in unit-address. > > Shawn Do you mean to move the node 'usb1: usb2@8600000' forward to where it's address is just before '@8600000 '? I think it's reasonable to put USB controller nodes together in DTS for developer to do issue analysis. Ran > > > + > > sata: sata@3200000 { > > compatible = "fsl,ls1012a-ahci", "fsl,ls1043a-ahci"; > > reg = <0x0 0x3200000 0x0 0x10000>, > > -- > > 2.1.0.27.g96db324 > >