From patchwork Wed Apr 3 10:28:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 10883257 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 6BAF6922 for ; Wed, 3 Apr 2019 10:35:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5488F289CF for ; Wed, 3 Apr 2019 10:35:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47866289D4; Wed, 3 Apr 2019 10:35:15 +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 C09A2289CF for ; Wed, 3 Apr 2019 10:35:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726352AbfDCKfO (ORCPT ); Wed, 3 Apr 2019 06:35:14 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:25498 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726199AbfDCKfO (ORCPT ); Wed, 3 Apr 2019 06:35:14 -0400 X-IronPort-AV: E=Sophos;i="5.60,304,1549897200"; d="scan'208";a="11933851" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 03 Apr 2019 19:35:11 +0900 Received: from be1yocto.ree.adwin.renesas.com (unknown [172.29.43.62]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 908CA42EBC11; Wed, 3 Apr 2019 19:35:08 +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 V3 00/13] Add USB2.0 support Date: Wed, 3 Apr 2019 11:28:31 +0100 Message-Id: <1554287324-22312-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-20190401 branch. 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 | 19 ++- 9 files changed, 349 insertions(+), 10 deletions(-)