From patchwork Fri Jan 4 16:49:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffrey Hugo X-Patchwork-Id: 10748455 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 9FEB414E5 for ; Fri, 4 Jan 2019 16:49:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8F18C28662 for ; Fri, 4 Jan 2019 16:49:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8272328678; Fri, 4 Jan 2019 16:49:44 +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.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 31FFE28662 for ; Fri, 4 Jan 2019 16:49:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726601AbfADQtn (ORCPT ); Fri, 4 Jan 2019 11:49:43 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:59224 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726201AbfADQtm (ORCPT ); Fri, 4 Jan 2019 11:49:42 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DE7A56030B; Fri, 4 Jan 2019 16:49:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546620581; bh=+MbjqoR51c+Gch68Ic50SHN5eOfORbYQiTJRX2fiWv4=; h=From:To:Cc:Subject:Date:From; b=VtDzKUWyBqfUzzZ4ngswki+3vTLB/juz45lCfxlAMQrAN/YQKVJ7ynjJt7E/2t1st 3DTBKbf1sIWvCmA+ELe5MNDlFrpVucjquzaT11ryIhM/pY+PT76E0lgirWDxpiFfcb SofTognvoWo52zfoLADnlIFg31MrMxaitmOtViFI= Received: from jhugo-perf-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C814660591; Fri, 4 Jan 2019 16:49:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1546620581; bh=+MbjqoR51c+Gch68Ic50SHN5eOfORbYQiTJRX2fiWv4=; h=From:To:Cc:Subject:Date:From; b=VtDzKUWyBqfUzzZ4ngswki+3vTLB/juz45lCfxlAMQrAN/YQKVJ7ynjJt7E/2t1st 3DTBKbf1sIWvCmA+ELe5MNDlFrpVucjquzaT11ryIhM/pY+PT76E0lgirWDxpiFfcb SofTognvoWo52zfoLADnlIFg31MrMxaitmOtViFI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C814660591 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jhugo@codeaurora.org From: Jeffrey Hugo Cc: bjorn.andersson@linaro.org, andy.gross@linaro.org, david.brown@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, kishon@ti.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, gregkh@linuxfoundation.org, balbi@kernel.org, linux-usb@vger.kernel.org, Jeffrey Hugo Subject: [PATCH v1 0/6] MSM8998 basic USB support Date: Fri, 4 Jan 2019 09:49:12 -0700 Message-Id: <1546620552-2312-1-git-send-email-jhugo@codeaurora.org> X-Mailer: git-send-email 1.9.1 To: unlisted-recipients:; (no To-header on input) Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series provides basic USB support for MSM8998. Currently missing is wiring up the Type-C detection logic so that the controller can correctly switch between host and peripheral modes. Work to implement that is ongoing, and expected to appear soon in followup patches. Jeffrey Hugo (6): clk: qcom: Add missing freq for usb30_master_clk on 8998 clk: qcom: Skip halt checks on gcc_usb3_phy_pipe_clk for 8998 phy: qcom-qusb2: Add QUSB2 PHY support for msm8998 phy: qcom-qmp: Add QMP V3 USB3 PHY support for msm8998 usb: dwc3: qcom: Add support for MSM8998 arm64: dts: qcom: msm8998: Add USB-related nodes .../devicetree/bindings/phy/qcom-qmp-phy.txt | 5 + .../devicetree/bindings/phy/qcom-qusb2-phy.txt | 1 + .../devicetree/bindings/usb/qcom,dwc3.txt | 1 + arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi | 22 ++++ arch/arm64/boot/dts/qcom/msm8998.dtsi | 90 +++++++++++++ drivers/clk/qcom/gcc-msm8998.c | 3 +- drivers/phy/qualcomm/phy-qcom-qmp.c | 142 +++++++++++++++++++++ drivers/phy/qualcomm/phy-qcom-qmp.h | 4 + drivers/phy/qualcomm/phy-qcom-qusb2.c | 41 ++++++ drivers/usb/dwc3/dwc3-qcom.c | 1 + 10 files changed, 309 insertions(+), 1 deletion(-)