From patchwork Wed Mar 6 09:07:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 10840641 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 3FCFF1575 for ; Wed, 6 Mar 2019 09:13:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21EE42D42C for ; Wed, 6 Mar 2019 09:13:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14E442D4B6; Wed, 6 Mar 2019 09:13:20 +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 7C4002D42C for ; Wed, 6 Mar 2019 09:13:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729307AbfCFJNS (ORCPT ); Wed, 6 Mar 2019 04:13:18 -0500 Received: from relmlor1.renesas.com ([210.160.252.171]:58580 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726391AbfCFJNS (ORCPT ); Wed, 6 Mar 2019 04:13:18 -0500 X-IronPort-AV: E=Sophos;i="5.58,447,1544454000"; d="scan'208";a="9597916" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 06 Mar 2019 18:13:15 +0900 Received: from be1yocto.ree.adwin.renesas.com (unknown [172.29.43.62]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 036114209848; Wed, 6 Mar 2019 18:13:11 +0900 (JST) From: Biju Das To: Rob Herring , Greg Kroah-Hartman , Heikki Krogerus , Felipe Balbi , Mark Rutland Cc: Biju Das , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, Simon Horman , Yoshihiro Shimoda , Geert Uytterhoeven , Chris Paterson , Fabrizio Castro , linux-renesas-soc@vger.kernel.org Subject: [PATCH 0/9] Add USB3.0 and TI HD3SS3220 driver support Date: Wed, 6 Mar 2019 09:07:17 +0000 Message-Id: <1551863246-11656-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 3.0 support for the CAT874 platform, including a new driver for the TI HD3SS3220 USB Type-C DRP port controller. This patch series supports: 1) Host hotplug operation 2) Device hot plug operation 3) USB type-C data_role switch (Tested with 2 RZ/G2E boards connected with a Type-C cable) This patchset is based on usb_next and renesas-devel-20190304-v5.0 branch. Biju Das (9): dt-bindings: usb: hd3ss3220 device tree binding document dt-bindings: usb: renesas_usb3: add extcon support usb: typec: driver for TI HD3SS3220 USB Type-C DRP port controller usb: gadget: udc: renesas_usb3: use extcon framework to receive connect/disconnect arm64: defconfig: enable TYPEC_HD3SS3220 config option arm64: renesas_defconfig: Enable TYPEC_HD3SS3220 config option arm64: dts: renesas: r8a774c0-cat874: enable USB3.0 host/peripheral device node arm64: dts: renesas: r8a774c0-cat874: Enable TI HD3SS3220 support arm64: dts: renesas: r8a774c0-cat874: Enable extcon support .../devicetree/bindings/usb/renesas_usb3.txt | 2 + .../devicetree/bindings/usb/ti,hd3ss3220.txt | 15 ++ arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts | 31 +++ arch/arm64/configs/defconfig | 2 + arch/arm64/configs/renesas_defconfig | 2 + drivers/usb/gadget/udc/renesas_usb3.c | 115 +++++++-- drivers/usb/typec/Kconfig | 10 + drivers/usb/typec/Makefile | 1 + drivers/usb/typec/hd3ss3220.c | 284 +++++++++++++++++++++ 9 files changed, 446 insertions(+), 16 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/ti,hd3ss3220.txt create mode 100644 drivers/usb/typec/hd3ss3220.c