From patchwork Mon Jan 14 16:35:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffrey Hugo X-Patchwork-Id: 10763069 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 176BB1390 for ; Mon, 14 Jan 2019 16:36:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 081B529227 for ; Mon, 14 Jan 2019 16:36:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EFEB029274; Mon, 14 Jan 2019 16:36:16 +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=unavailable 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 A085029227 for ; Mon, 14 Jan 2019 16:36:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726809AbfANQgL (ORCPT ); Mon, 14 Jan 2019 11:36:11 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:43808 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726750AbfANQgK (ORCPT ); Mon, 14 Jan 2019 11:36:10 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A5C4B60791; Mon, 14 Jan 2019 16:36:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1547483769; bh=1i9ESgFiwkVuo/ASgMSyDhY3ilmjlwzqunHonO5kfDA=; h=From:To:Cc:Subject:Date:From; b=CL5bpmLLqpGo6/DKo+IdohUI4oHw1m4KQlFlTQbFajM5cYA9QaTxNsuY758iEJNVh 6G1OWHVAEsoBvjzhTs5AgRTBnSdL5Nn/bIFtGd2wDpcV+8hvGm0DUDb6Da+2OYcNfl Ji1JAgKrX4u+p/2Q1ADXkoQYvfCirhWuVrznh25I= 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 8B45B60791; Mon, 14 Jan 2019 16:36:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1547483767; bh=1i9ESgFiwkVuo/ASgMSyDhY3ilmjlwzqunHonO5kfDA=; h=From:To:Cc:Subject:Date:From; b=aQe+A0nRZw5kc1NuqmqWt7XjLxqylSAOJzuTbxJqTwkNWko2tD9zFvpXQ0V9Xg378 OGeVFmN49dVKtmtUn2zNgZvOlLZ2sHWbxQyG3C+KKNr/+XTZB292VqBb3lLwewMBHz tFyX/U9JDSyzuhI6rCAtUzgeG40PUrkCQ3dsebMM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8B45B60791 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, linux-arm-msm@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 v2 0/6] MSM8998 basic USB support Date: Mon, 14 Jan 2019 09:35:54 -0700 Message-Id: <1547483754-5296-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. Also missing is Display Port (DP) support which apparently is different from sdm845 and needs additional investigation. v2: -Fixed typo in QUSB2 bindings changes -Split out bindings changes -Fixed dual lane support in QMP to reflect Doug's updates -Dropped the clock fixes which were accepted 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(-)