Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750931AbdLGHdf (ORCPT ); Thu, 7 Dec 2017 02:33:35 -0500 Received: from mail-db5eur01on0051.outbound.protection.outlook.com ([104.47.2.51]:62272 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750744AbdLGHdd (ORCPT ); Thu, 7 Dec 2017 02:33:33 -0500 From: Yinbo Zhu To: Shawn Guo CC: Rob Herring , Mark Rutland , "Catalin Marinas )" , "Will Deacon )" , Harninder Rai , Raghav Dogra , Ashish Kumar , Andy Tang , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-arm-kernel@lists.infradead.org" , open list Subject: RE: [PATCH v2] arm64: dts: ls1088a: Add USB support Thread-Topic: [PATCH v2] arm64: dts: ls1088a: Add USB support Thread-Index: AQHTLHKHig8ljL2d2EGPrDhdGPPl+aLAhoAAgDJtRQCAIO6aUIAMKA0wgBfy1DA= Date: Thu, 7 Dec 2017 07:33:28 +0000 Message-ID: References: <20170913091009.21448-1-yinbo.zhu@nxp.com> <20170922065454.GF26358@dragon> In-Reply-To: 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: [185.114.77.231] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR04MB1200;6:JNvEx4M392xYT2IP1GvPIiqg/E2gE+Z98N/u3rqjFKK4b8T7Dvp2n/A6pik5DyK/j6525KePONN2XIYnyodoVFg+PO4y2EZKblVkvtIIiebiqbE3L0/iOvr+MxuCEFfHm85MKoEuznXIMJooQwAu/XZJ72XJxKM5WcCLTWZzsWo+LQhHEXYWyRTlAPC8SMMMZasJ3NA8rexM0RJGg+oYhuZO+z/3VnA6dvGaf/tvMfSBZ5SZvRFpPwS/10PO4KzwZRtZKAAB74mdzoEcrDw4OoGWSEyUaMXSHIFIzSmviQnErJzMPl+wPlp7E+5VeT4IPa2D3MggXXthgEZhVtddpAU6bN1CKu5mLOyetQwsMCk=;5:vlYP4O1WukVHeBDT3WDbX4XGggYe6IsAJuir3oe6LLOVRgfA9ZAlQIYM+HPnN6vZ0gr1nBcJPlxF4XnfIqAgQ2eL0E38kddpPKWTBmzor/bWt2+U2huar2HiRFx6McRt0pia5DpBDVjiBacb8TJFRl/gXhDJpxZ6uOo04WiikYE=;24:g/nfC6vA/IoEueoQ+LPhwciYE2XLK8MWB2zCGfzdp48wJrTdZSPwzXANBjFO5Xerds5Hm7eGMcWMvxNzC5nq5kBvlyMfhVckfwdGOpk2QBo=;7:800aBH/AtcaWFXiKbVaeeO4JMJK40pk3pQwIeYnN6fkmRMOwpL58FFqFO5gB+zUONUDrDtxnRrLo8DHNNKyU/NeGXbR+cr80VyXXI/dFEs7WnrzRNNd060n3ylXCub4uxftMfmP1rIlZLoharAOds11fYSL5iI9XjIIQ9uDMSE6mMLAjDrYxW2+pwdMo8HaOW0jkTDy9Huj7fIS6xfHfE8NpN0fU5WranLDm8fiFO6vXFmGe0E7EAwlENpc5aH13 x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(346002)(366004)(376002)(39860400002)(189003)(199004)(24454002)(13464003)(6116002)(8676002)(53936002)(68736007)(6436002)(101416001)(6506006)(66066001)(33656002)(81166006)(81156014)(6306002)(105586002)(106356001)(305945005)(3280700002)(3660700001)(2906002)(74316002)(14454004)(7736002)(53546010)(316002)(9686003)(478600001)(3846002)(102836003)(966005)(93886005)(55016002)(8936002)(2900100001)(5250100002)(229853002)(5660300001)(54906003)(6916009)(2950100002)(99286004)(7696005)(25786009)(4326008)(97736004)(76176011)(6246003)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB1200;H:VI1PR04MB1262.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-ms-office365-filtering-correlation-id: 0f3309f6-b9ed-4960-5af5-08d53d44cf43 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603286);SRVR:VI1PR04MB1200; x-ms-traffictypediagnostic: VI1PR04MB1200: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(9452136761055)(185117386973197)(258649278758335); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231022)(3002001)(6055026)(6041248)(20161123558100)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(6072148)(201708071742011);SRVR:VI1PR04MB1200;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:VI1PR04MB1200; x-forefront-prvs: 05143A8241 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f3309f6-b9ed-4960-5af5-08d53d44cf43 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Dec 2017 07:33:28.5755 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1200 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 vB77XgIM010198 Content-Length: 5245 Lines: 129 Hi shawn guo, If my patch has no other issue, Can you help me push it to upstream. Thanks. BRs. -----Original Message----- From: Yinbo Zhu Sent: Wednesday, November 22, 2017 9:32 AM To: 'Shawn Guo' Cc: 'Rob Herring' ; 'Mark Rutland' ; 'Catalin Marinas )' ; 'Will Deacon )' ; Harninder Rai ; 'Raghav Dogra' ; Ashish Kumar ; Andy Tang ; 'open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS' ; 'linux-arm-kernel@lists.infradead.org' ; 'open list' Subject: RE: [PATCH v2] arm64: dts: ls1088a: Add USB support Hi -----Original Message----- From: Yinbo Zhu Sent: Tuesday, November 14, 2017 4:00 PM To: 'Shawn Guo' Cc: 'Rob Herring' ; 'Mark Rutland' ; 'Catalin Marinas )' ; 'Will Deacon )' ; Harninder Rai ; 'Raghav Dogra' ; Ashish Kumar ; Andy Tang ; 'open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS' ; 'linux-arm-kernel@lists.infradead.org' ; 'open list' Subject: RE: [PATCH v2] arm64: dts: ls1088a: Add USB support -----Original Message----- From: Yinbo Zhu Sent: Tuesday, October 24, 2017 5:15 PM To: Shawn Guo Cc: Rob Herring ; Mark Rutland ; Catalin Marinas ) ; Will Deacon ) ; Harninder Rai ; Raghav Dogra ; Ashish Kumar ; Andy Tang ; open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS ; linux-arm-kernel@lists.infradead.org; open list Subject: RE: [PATCH v2] arm64: dts: ls1088a: Add USB support -----Original Message----- From: Shawn Guo [mailto:shawnguo@kernel.org] Sent: Friday, September 22, 2017 2:55 PM To: Yinbo Zhu Cc: Rob Herring ; Mark Rutland ; Catalin Marinas ) ; Will Deacon ) ; Harninder Rai ; Raghav Dogra ; Ashish Kumar ; Andy Tang ; open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS ; linux-arm-kernel@lists.infradead.org; open list Subject: Re: [PATCH v2] arm64: dts: ls1088a: Add USB support On Wed, Sep 13, 2017 at 05:10:09PM +0800, yinbo.zhu@nxp.com wrote: > From: "yinbo.zhu" > > Fix the issue that usb is not detected on ls1088ardb >It's not really about fixing issue but adding support. The patch had been tested on upstream 4.14 code, it can fix the issue. > > Signed-off-by: yinbo.zhu > Signed-off-by: Ran Wang > --- >You should better have a version history here to tell what's changed between version. >I will add a version history on next v3 patch Hi, I had modified the code as v4 version, https://patchwork.kernel.org/patch/10027393/ please check. Thanks, BRs > arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 8 ++++++++ > arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 20 ++++++++++++++++++++ > 2 files changed, 28 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts > b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts > index 213abb72de93..6c3c3bc4b681 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts > @@ -118,6 +118,14 @@ > status = "okay"; > }; > > +&usb0 { > + status = "okay"; > +}; > + > +&usb1 { > + status = "okay"; > +}; > + > &esdhc { >Please sort these labeled nodes alphabetically. >Shawn > status = "okay"; > }; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi > b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi > index c144d06a6e33..c23fede8cf5d 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi > @@ -359,6 +359,26 @@ > status = "disabled"; > }; > > + usb0: usb3@3100000 { > + compatible = "snps,dwc3"; > + reg = <0x0 0x3100000 0x0 0x10000>; > + interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>; > + dr_mode = "host"; > + snps,quirk-frame-length-adjustment = <0x20>; > + snps,dis_rxdet_inp3_quirk; > + status = "disabled"; > + }; > + > + usb1: usb3@3110000 { > + compatible = "snps,dwc3"; > + reg = <0x0 0x3110000 0x0 0x10000>; > + interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>; > + dr_mode = "host"; > + snps,quirk-frame-length-adjustment = <0x20>; > + snps,dis_rxdet_inp3_quirk; > + status = "disabled"; > + }; > + > sata: sata@3200000 { > compatible = "fsl,ls1088a-ahci"; > reg = <0x0 0x3200000 0x0 0x10000>, > -- > 2.14.1 >