From patchwork Wed Aug 28 08:48:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11118239 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 78FF914DE for ; Wed, 28 Aug 2019 08:55:19 +0000 (UTC) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3822E214DA for ; Wed, 28 Aug 2019 08:55:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3822E214DA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=cip-dev-bounces@lists.cip-project.org Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id E742B2681; Wed, 28 Aug 2019 08:55:18 +0000 (UTC) X-Original-To: cip-dev@lists.cip-project.org Delivered-To: cip-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id BD2ABFBC for ; Wed, 28 Aug 2019 08:55:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id 27869EC for ; Wed, 28 Aug 2019 08:55:01 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.64,440,1559487600"; d="scan'208";a="25138090" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 28 Aug 2019 17:55:00 +0900 Received: from be1yocto.ree.adwin.renesas.com (unknown [172.29.43.62]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 8E1DA41F86B1; Wed, 28 Aug 2019 17:54:59 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org Date: Wed, 28 Aug 2019 09:48:18 +0100 Message-Id: <1566982115-11148-1-git-send-email-biju.das@bp.renesas.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: Biju Das Subject: [cip-dev] [PATCH 4.4.y-cip 00/17] Add USB2.0 support X-BeenThere: cip-dev@lists.cip-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: cip-dev-bounces@lists.cip-project.org Errors-To: cip-dev-bounces@lists.cip-project.org This patch series add USB2.0 support for iWave iwg23s sbc based on RZ/G1C. This patch series is based on linux-4.4.y-cip and all the patches in this series are cherry-picked from linux rc tree. Biju Das (16): dt-bindings: phy: rcar-gen2: Add r8a7744 support dt-bindings: phy: rcar-gen2: Add r8a77470 support dt-bindings: rcar-gen3-phy-usb2: Add r8a77470 support phy: phy-rcar-gen2: Add support for r8a77470 phy: rcar-gen3-usb2: Add support for r8a77470 ARM: dts: r8a77470: Add USB-DMAC device nodes ARM: dts: r8a77470: Add USB PHY DT support ARM: dts: r8a77470: Add USB2.0 Host (EHCI/OHCI) device ARM: shmobile: Enable PHY_RCAR_GEN3_USB2 in shmobile_defconfig ARM: shmobile: Enable USB [EO]HCI HCD PLATFORM support in shmobile_defconfig ARM: dts: iwg23s-sbc: Enable USB Phy[01] ARM: dts: iwg23s-sbc: Enable USB USB2.0 Host dt-bindings: usb: renesas_usbhs: Add support for r8a7744 dt-bindings: usb: renesas_usbhs: Add support for r8a77470 ARM: dts: r8a77470: Add HSUSB device nodes ARM: dts: iwg23s-sbc: Enable HS-USB Yoshihiro Shimoda (1): phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver .../devicetree/bindings/phy/rcar-gen2-phy.txt | 48 ++++- .../devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 39 ++++ .../devicetree/bindings/usb/renesas_usbhs.txt | 2 + arch/arm/boot/dts/r8a77470-iwg23s-sbc.dts | 44 ++++ arch/arm/boot/dts/r8a77470.dtsi | 185 ++++++++++++++++ arch/arm/configs/shmobile_defconfig | 3 + drivers/phy/Kconfig | 7 + drivers/phy/Makefile | 1 + drivers/phy/phy-rcar-gen2.c | 130 ++++++++++-- drivers/phy/phy-rcar-gen3-usb2.c | 236 +++++++++++++++++++++ 10 files changed, 682 insertions(+), 13 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt create mode 100644 drivers/phy/phy-rcar-gen3-usb2.c