Received: by 10.223.164.221 with SMTP id h29csp1110871wrb; Tue, 24 Oct 2017 15:27:25 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TTufwllPHL3nFI0GdHynpDCiAIHt1dcS0X8HKmkIAWnE60cxrMxHK3VXC7h7a4QcnyaoYz X-Received: by 10.99.100.67 with SMTP id y64mr126519pgb.349.1508884045536; Tue, 24 Oct 2017 15:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508884045; cv=none; d=google.com; s=arc-20160816; b=XD82ALrs5VTBRFvwNMr3Avvioquj4O/h8jCHERWzaR6/UdamSpsjnsdyKKDXYD6ng0 MO5VryZQNBoogX+2wB3WZDxpaT+I6HSCPrInuB/3bGTeOIJm9+QLZrdarp12BB0TQQSo lnjUzBPHzyrdvUxoeDET45qx4qnQQ2LaNu4odb++qCo7yfPj2YNAFNuev+n2n3gVlJD7 Omfy2BzL+U0N4yKWn4fpj53ala7KvbOgyA1RbWHt34JO6G8c5ws5wMgtMhGcIcC2D1ZE NNOZD6mp4R44+Ssdy3WtVY7PuiZO0mF1GZZ+9nFRQ5Tty34ZxT0j9KQes8dA3ryNTpOQ +3XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=AB6PU3xLxfsbRwVdiwT5DPyx4ruqWVzeM8bgosbWIdI=; b=uNw1kXpDrAgCqeqljoZexOIwv0QF9ttECz3+OZiYUxiwkxTbV3m542ABfjkgtL6syR acPznzv9WJG1koQzFPmXuG8MBO5MBuRR7M/HWfeMtgQ5pnrzooV86sEw9GIHy6Xjt82f s3yGpJwtB3elq4DPwQxFaNOffaf+RGnYTGDqyojQ7neNR1dk1AHTdgHjSRpMc7MP8l9y eWzMcIFbzJu00Coq8z9BXBWUOPjA63a81+N9fvtu85nVDpPD5cJX0jh+He86SIk7DT5m 92cyo9Q1yzNx8MJJiCfVF313zIupc8aywQK0vBt/uGdwR2itnpE/cUuDRL3JyGy4S1Fy jj3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UP61QQcm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t9si761180pge.316.2017.10.24.15.27.11; Tue, 24 Oct 2017 15:27:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UP61QQcm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932162AbdJXW0m (ORCPT + 99 others); Tue, 24 Oct 2017 18:26:42 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:56315 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751573AbdJXW0i (ORCPT ); Tue, 24 Oct 2017 18:26:38 -0400 Received: by mail-io0-f195.google.com with SMTP id p186so25540812ioe.12; Tue, 24 Oct 2017 15:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AB6PU3xLxfsbRwVdiwT5DPyx4ruqWVzeM8bgosbWIdI=; b=UP61QQcmjrRA1nXAGHGcga4oX35kGFIy6V9nLjao7RNKXMo0nNwHJ3ZdosAqALs2r6 uuPLP+/subOxod8P3B7gW8AgGN4iKDUrsw41XJqh3+NuY8shY6/mGH0TwTBlYigW+NlQ 9wd5k0FnjrxmGxGUVjdIcyaimUm0cNW/oM75zi8tZgFHtSSX22h9qFm5qQEd1fYefSys mtaN/vhqHr56OJfOt170e1Dk8R/MVNfcwZUbGVG0t5IgM/AeKWp/xDKBbHnBpkWuNQ1T lQFuymKOQrdfFcQvjGcptO+TDAk2d0hTBdvZp516p1R8mf7+Ov/qU1czzz2b5wrnF+NV 4EEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AB6PU3xLxfsbRwVdiwT5DPyx4ruqWVzeM8bgosbWIdI=; b=XCjK5cBzGW0NSwcE+fPRbaO+p8loY8RD9/CHhNyx2o8uFfZeKnk4vgBiCHW5LdSX6a 1QYVlM8cFvr7XXHrSus487H7TeDgS5i0hOt2SH/bFpbpfqgXFFOTbpLCT+tK95ghvIXt aU6T5DPvNvxLQefodScZyQ6MU8g5LCpSa3/Fvf4YvIJGKHZeUEh1k039jVbArmLsA2qa HCXfs3/6N/BECX6XQ15jfhZ5ZlQwgMbw2uNYzTUl3wjW8LwcyD7nKqEdUoCO+OXaFlKV QHl5ugmCH2jTJHP6eIESgKYgoHClLoDkEhMokDsv9NSwmjSGe4XFKsxN+EK11HQ6nCog Hrmg== X-Gm-Message-State: AMCzsaUVgRDeD4mqLr30HSnMy/MU4SJhJo2mC7anxMH1zg5/12jNEhx8 1xziF4wud8Kf7Ky9WVsydSmSxzGHpZGCnhmvz+c= X-Received: by 10.107.70.7 with SMTP id t7mr22878818ioa.178.1508883998175; Tue, 24 Oct 2017 15:26:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.154.212 with HTTP; Tue, 24 Oct 2017 15:26:37 -0700 (PDT) In-Reply-To: <20171024093118.31238-1-yinbo.zhu@nxp.com> References: <20171024093118.31238-1-yinbo.zhu@nxp.com> From: Yang Li Date: Tue, 24 Oct 2017 17:26:37 -0500 Message-ID: Subject: Re: [PATCH v3] arm64: dts: ls1088a: Add USB support To: yinbo.zhu@nxp.com Cc: Rob Herring , Mark Rutland , Russell King , Felipe Balbi , Greg Kroah-Hartman , Mathias Nyman , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM PORT" , open list , "open list:DESIGNWARE USB3 DRD IP DRIVER" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 24, 2017 at 4:31 AM, wrote: > From: "yinbo.zhu" > > Fix the issue that usb is not detected on ls1088ardb You can only fix issue for a function after the function has been added previously. So like Shawn commented, this patch is about adding the USB support instead of fixing an issue. > > Signed-off-by: yinbo.zhu > Signed-off-by: Ran Wang > --- > > Change in v3: > - Change status from "enable" to "disabled" then enable it on dts file. > - Add the version history. > > 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 { > 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 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html From 1582132018489613218@xxx Tue Oct 24 09:51:11 +0000 2017 X-GM-THRID: 1578416200010337890 X-Gmail-Labels: Inbox,Category Forums