Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752537AbdHRHs0 (ORCPT ); Fri, 18 Aug 2017 03:48:26 -0400 Received: from mail-eopbgr00074.outbound.protection.outlook.com ([40.107.0.74]:28896 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750932AbdHRHsX (ORCPT ); Fri, 18 Aug 2017 03:48:23 -0400 From: Yinbo Zhu To: Shawn Guo CC: "linux-devel@gforge.freescale.net" , "Rob Herring" , Mark Rutland , "Catalin Marinas" , Will Deacon , Harninder Rai , Andy Tang , "open list:" , Ashish Kumar , open list , Raghav Dogra , "moderated list:" Subject: RE: [PATCH] arm64: dts: ls1088a: Add USB support Thread-Topic: [PATCH] arm64: dts: ls1088a: Add USB support Thread-Index: AQHTFwZHJhYlWl3Qi0udp9XfZFewR6KIlOgAgAEkpVA= Date: Fri, 18 Aug 2017 07:48:19 +0000 Message-ID: References: <1502938358-23522-1-git-send-email-yinbo.zhu@nxp.com> <20170817140232.GE7608@dragon> In-Reply-To: <20170817140232.GE7608@dragon> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yinbo.zhu@nxp.com; x-originating-ip: [192.158.241.86] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR04MB1264;6:8DeiTYoI4Vg0dd/+98unKY5GgYT5/GyLUwh4YTG8I4O051Nh0tI4fBYd9f6ITg6in50LiLcETusYzLPvK7QYpS1tKZo+0BHa1EHkz/9tSC2Js2Y6IDVCNyVzpLZgr2vnp5tboJBwazoSJPRct3966LUn6f0DfkWFaIzOC4QevmCG0+qtbY/YIvU+8A5f5P1S3SL4yZhttXC+Wq1Z7MtGKMf7kF4uGh6TmjJUjvXAJg8B8nQv8p8kOhkKRHZrNyVfNjvG24LxsnMUqonPK9NE13jXt//kv+q+W+iFyDv8HzYmu/Q1MlcggLOW7c3yS3wYU2fXQM8WKJdB6AiYQ4yaFQ==;5:SnyRtIUjO0Lmp8JcAWq89wZ5Nwu+y1J+id6s9qXXtKBWjJaJTYavacAVFrYSUevoQ+GuzWDuPT/NU17sjWr36+0ITkKZF862ywh4OnxnJJeTrxEsedopDG+3j/M/Z8au9M9Vvq5beR6NXk3PY5Wrzg==;24:kHrCkG07Gqa5+wV6qcblBNzZ7gWP5sVDvGgk4lQG/4gczOPUIY8R3ztVw7vlbsa4a/bs1sxcQ7ghNZdN09FK7dbSOX0awkSXth0pwnR7mrw=;7:kcVDXZgcMCi8bCwDnNZChg1OZaK0AdhHapbFHEXOlgSbjrSr339iF53+pQMji27+gtFtvRSA887W9potKkJ5MIvqyrkzg0b3GJ71EyxazTc5sPD7QM4OGbENN/ehmZo3K2SZCjLYC1VjMK+aWopXZ/2sAi9MQZ+lzH3GmTn9+nZ8Sx9qJXR18CBiyz/H/A4AVNlzCI4SMfL/bbq5CCCIVoZ96q7os+x+b0StmLLMr54= x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(6009001)(39860400002)(199003)(13464003)(24454002)(377454003)(189002)(1720100001)(101416001)(9686003)(54356999)(50986999)(6306002)(54906002)(99286003)(25786009)(55016002)(81156014)(8936002)(8676002)(2900100001)(81166006)(33656002)(6436002)(3660700001)(478600001)(5250100002)(76176999)(68736007)(305945005)(7736002)(2906002)(66066001)(6506006)(86362001)(3280700002)(229853002)(97736004)(3846002)(102836003)(6116002)(2950100002)(74316002)(110136004)(6916009)(6246003)(966005)(106356001)(105586002)(189998001)(14454004)(53546010)(5660300001)(7696004)(4326008)(53936002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB1264;H:VI1PR04MB1262.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; x-ms-office365-filtering-correlation-id: ffd722fa-8378-44a6-f505-08d4e60d7e65 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:VI1PR04MB1264; x-ms-traffictypediagnostic: VI1PR04MB1264: x-exchange-antispam-report-test: UriScan:(180628864354917)(9452136761055)(185117386973197)(258649278758335)(259967162476793); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6055026)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123555025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:VI1PR04MB1264;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:VI1PR04MB1264; x-forefront-prvs: 040359335D spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Aug 2017 07:48:19.3938 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1264 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 v7I7mUAQ012659 Content-Length: 3138 Lines: 99 -----Original Message----- From: Shawn Guo [mailto:shawnguo@kernel.org] Sent: Thursday, August 17, 2017 10:03 PM To: Yinbo Zhu Cc: linux-devel@gforge.freescale.net; Rob Herring ; Mark Rutland ; Catalin Marinas ; Will Deacon ; Harninder Rai ; Andy Tang ; open list: ; Ashish Kumar ; open list ; Raghav Dogra ; moderated list: Subject: Re: [PATCH] arm64: dts: ls1088a: Add USB support On Thu, Aug 17, 2017 at 10:52:38AM +0800, yinbo.zhu@nxp.com wrote: > From: "yinbo.zhu" > > Fix the issue that usb is not detected on ls1088ardb > > Signed-off-by: yinbo.zhu > Signed-off-by: Ran Wang > --- > arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 8 ++++++++ > arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 18 ++++++++++++++++++ > 2 files changed, 26 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts > index e9276a5..949cd67 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts > @@ -145,6 +145,14 @@ > status = "okay"; > }; > > +&usb0 { > + status = "okay"; > +}; > + > +&usb1 { > + status = "okay"; > +}; > + > &esdhc { > status = "okay"; > }; Sort the labelled node alphabetically. > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi > index 3a3be87..0dbff29 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi > @@ -458,6 +458,24 @@ > status = "disabled"; > }; > > + usb0: usb3@3100000 { > + compatible = "snps,dwc3"; > + reg = <0x0 0x3100000 0x0 0x10000>; > + interrupts = <0 80 0x4>; /* Level high type */ Use IRQ_TYPE_LEVEL_HIGH, so that you can save the comment. > + dr_mode = "host"; > + configure-gfladj; What is this? I do not see it in upstream kernel. > + snps,dis_rxdet_inp3_quirk; You probably need a "disabled" status. Shawn Hi Shawn, About your description " You probably need a "disabled" status." Your meaning is that remove the property "snps,dis_rxdet_inp3_quirk;", isn't it? In fact, if remove the property , 1088ardb usb will doesn't detect. Yinbo > + }; > + > + usb1: usb3@3110000 { > + compatible = "snps,dwc3"; > + reg = <0x0 0x3110000 0x0 0x10000>; > + interrupts = <0 81 0x4>; /* Level high type */ > + dr_mode = "host"; > + configure-gfladj; > + snps,dis_rxdet_inp3_quirk; > + }; > + > sata: sata@3200000 { > compatible = "fsl,ls1088a-ahci"; > reg = <0x0 0x3200000 0x0 0x10000>, > -- > 2.1.0.27.g96db324 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel