From patchwork Wed Apr 10 08:08:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 10893379 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 75ACA1708 for ; Wed, 10 Apr 2019 08:15:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DE1D289EE for ; Wed, 10 Apr 2019 08:15:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CECF289F1; Wed, 10 Apr 2019 08:15:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D5C6289EE for ; Wed, 10 Apr 2019 08:15:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727042AbfDJIPM (ORCPT ); Wed, 10 Apr 2019 04:15:12 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:36407 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727281AbfDJIPM (ORCPT ); Wed, 10 Apr 2019 04:15:12 -0400 X-IronPort-AV: E=Sophos;i="5.60,332,1549897200"; d="scan'208";a="12836943" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 10 Apr 2019 17:15:10 +0900 Received: from be1yocto.ree.adwin.renesas.com (unknown [172.29.43.62]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 3C7BA426FF85; Wed, 10 Apr 2019 17:15:07 +0900 (JST) From: Biju Das To: Rob Herring , Mark Rutland , Alan Stern , Greg Kroah-Hartman , Yoshihiro Shimoda Cc: Biju Das , Kishon Vijay Abraham I , devicetree@vger.kernel.org, Simon Horman , Geert Uytterhoeven , Chris Paterson , Fabrizio Castro , linux-renesas-soc@vger.kernel.org Subject: [PATCH V4 00/13] Add USB2.0 support Date: Wed, 10 Apr 2019 09:08:22 +0100 Message-Id: <1554883715-41725-1-git-send-email-biju.das@bp.renesas.com> X-Mailer: git-send-email 2.7.4 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series adds USB 2.0 support for the RZ/G1C SoC. RZ/G1C SoC is similar to R-Car Gen2 SoC, but there are some differences - It has a shared pll reset register for hsusb0/hsusb1 and this register reside in hsusb0 block. - Each USB host needs to deassert the pll reset of hsusb block apart from initializing interrupt enable,OVC detection timer and suspend/resume timer register. To address the above scenarios, created a ehci-r8a77470 host controller driver. This patchset is based on linux_next next-20190410 branch. V3-->V4 * Incoporated Kishan and Shimoda-san's review comment (https://patchwork.kernel.org/patch/10883265/) * Added missing rcar-gen3-phy-usb2 phy in ohci1 node. V2-->V3 * Incorporated Alan's review comment for dropping ehci-r8a77470 host driver * Incorporated shimoda-san's comments. Ref: https://patchwork.kernel.org/patch/10879899/ V1-->V2 * Incorporated Rob's review comment Ref: https://patchwork.kernel.org/patch/10655853/ * Incorporated Shimoda-San's review comment Ref: https://patchwork.kernel.org/patch/10655855/ * Created ehci-r8a77470 host driver. Biju Das (13): dt-bindings: phy: rcar-gen2: Add r8a77470 support phy: renesas: phy-rcar-gen2: Add support for r8a77470 dt-bindings: rcar-gen3-phy-usb2: Add r8a77470 support phy: rcar-gen3-usb2: Add support for r8a77470 ARM: shmobile: Enable PHY_RCAR_GEN3_USB2 in shmobile_defconfig dt-bindings: usb: renesas_usbhs: Add support for r8a77470 ARM: shmobile: Enable USB [EO]HCI HCD PLATFORM support in shmobile_defconfig ARM: dts: r8a77470: Add USB PHY DT support ARM: dts: iwg23s-sbc: Enable USB Phy[01] ARM: dts: r8a77470: Add USB2.0 Host (EHCI/OHCI) device ARM: dts: iwg23s-sbc: Enable USB USB2.0 Host ARM: dts: r8a77470: Add HSUSB device nodes ARM: dts: iwg23s-sbc: Enable HS-USB .../devicetree/bindings/phy/rcar-gen2-phy.txt | 57 ++++++++- .../devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 6 +- .../devicetree/bindings/usb/renesas_usbhs.txt | 1 + arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 44 +++++++ arch/arm/boot/dts/r8a77470.dtsi | 141 +++++++++++++++++++++ arch/arm/configs/shmobile_defconfig | 3 + drivers/phy/renesas/Kconfig | 2 +- drivers/phy/renesas/phy-rcar-gen2.c | 86 ++++++++++++- drivers/phy/renesas/phy-rcar-gen3-usb2.c | 38 +++++- 9 files changed, 363 insertions(+), 15 deletions(-)