From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16DF4C3A5A9 for ; Wed, 4 Sep 2019 08:22:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EEB8523402 for ; Wed, 4 Sep 2019 08:22:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728108AbfIDIWX (ORCPT ); Wed, 4 Sep 2019 04:22:23 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:62336 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726045AbfIDIWW (ORCPT ); Wed, 4 Sep 2019 04:22:22 -0400 X-IronPort-AV: E=Sophos;i="5.64,465,1559487600"; d="scan'208";a="25494206" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 04 Sep 2019 17:22:20 +0900 Received: from be1yocto.ree.adwin.renesas.com (unknown [172.29.43.62]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 31CD841D31B0; Wed, 4 Sep 2019 17:22:16 +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 RESEND v7 0/3] Add USB3.0 and TI HD3SS3220 driver support Date: Wed, 4 Sep 2019 09:15:38 +0100 Message-Id: <1567584941-13690-1-git-send-email-biju.das@bp.renesas.com> X-Mailer: git-send-email 2.7.4 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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. Patch4-7 on the v7 series been accepted and is in linux-rc tree. Resending patch 1-3 of v7 series, since the dependency patches [1], [2],[3],[4] is accpted for usb-next. This patchset is based on usb-next tree. [1] commit 451d15a1731c7db9d4868 ("dt-binding: usb: add usb-role-switch property") [2] commit 977607653cdd06a2c4d1d ("usb: roles: Introduce stubs for the exiting functions in role.h") [3] commit 44493062abc38e5895e0c ("device connection: Add fwnode_connection_find_match()") [4] commit a31f01777bc54a0a9d576 ("usb: roles: Add fwnode_usb_role_switch_get() function") V7-->V7 RESEND * No change (https://patchwork.kernel.org/patch/10969911/) V6-->V7 * Rebased on the below patch series (https://patchwork.kernel.org/project/linux-usb/list/?series=124223) * Updted the hd3ss3220 binding documentation -> Removed Rob's reviewed by tag, since there is a rework. -> Incorporated Sergie and Shimoda-San's review comment. (https://patchwork.kernel.org/patch/10944629/) * Rebased hd3ss3220 driver based on the new API --> Removed Heikki's review comment, since there is a rework (https://patchwork.kernel.org/patch/10942499/) * Incorporated shimoda-san's review comments for renesas usb3 binding (https://patchwork.kernel.org/patch/10944631/) * Incorporated shimoda-san's review comments for renesas usb3 driver (https://patchwork.kernel.org/patch/10944643/) V5-->V6 * Updated bindings patch by using usb-role-switch property * Used graph api's to get role switch supported by the usb-c-connector V4-->V5 * Incorporated Heikki's review comment. (https://patchwork.kernel.org/patch/10902531/) * Patch 1 is a dependency patch to make the compilation successful. (https://patchwork.kernel.org/patch/10909971/) * Patch 2 is also dependency patch to make the compilation successful. Rebased on top of Patch1 and fixed Heikki's review comments (https://patchwork.kernel.org/patch/10882555/) * Incorporated Shimoda-San's review comment. (https://patchwork.kernel.org/patch/10902535/) V3-->V4 * Incorporated Chunfeng Yun's review comment (https://patchwork.kernel.org/project/linux-usb/list/?submitter=133171) * Used fwnode API's to get roleswitch handle V2-->V3 * Used the new API to usb_role_switch by node to find the remote endpoint (https://patchwork.kernel.org/patch/10882555/) * Added renesas,usb-role-switch property * Incorporated shimoda-san's review comment (https://patchwork.kernel.org/patch/10852507/) V1-->V2 * Use USB role class instead of extcon to receive connect and disconnect events and also for the dual role switch. * Dropped patch 6 * Squashed patch 8 and patch 9 * https://patchwork.kernel.org/cover/10840641/ Biju Das (3): dt-bindings: usb: hd3ss3220 device tree binding document usb: typec: driver for TI HD3SS3220 USB Type-C DRP port controller dt-bindings: usb: renesas_usb3: Document usb role switch support .../devicetree/bindings/usb/renesas,usb3-peri.txt | 23 ++ .../devicetree/bindings/usb/ti,hd3ss3220.txt | 38 +++ drivers/usb/typec/Kconfig | 10 + drivers/usb/typec/Makefile | 1 + drivers/usb/typec/hd3ss3220.c | 259 +++++++++++++++++++++ 5 files changed, 331 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ti,hd3ss3220.txt create mode 100644 drivers/usb/typec/hd3ss3220.c -- 2.7.4