From patchwork Mon Jan 21 21:31:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeffrey Hugo X-Patchwork-Id: 10774541 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 2DFD66C2 for ; Mon, 21 Jan 2019 21:32:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2068A2AC6B for ; Mon, 21 Jan 2019 21:32:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 09E5B2ABF4; Mon, 21 Jan 2019 21:32:18 +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 A4E0B2AC6B for ; Mon, 21 Jan 2019 21:32:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727747AbfAUVcL (ORCPT ); Mon, 21 Jan 2019 16:32:11 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:58082 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727422AbfAUVcL (ORCPT ); Mon, 21 Jan 2019 16:32:11 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 5161B6030B; Mon, 21 Jan 2019 21:32:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548106330; bh=rTDLfJXvnIphivyiUbh3E7kf7sQx3Ok+2W16bskYasQ=; h=From:To:Cc:Subject:Date:From; b=f8VnGwAg/kQXIV0DBvPnB8AuP9Vn9GG1ZB59sKhr4+q0Hq7obIpUPQmwpaSfFVoNG tCszpUHi6lhO3n8GsZLx2aXbH7ZgERxZxZCR2YSbTi9zk73k0SBUuM56Ymzgc9yGEX C2NjwS9ZRvTfFHdy8PA2o2rkOOUMjCArxa5xJS0s= 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 919776030B; Mon, 21 Jan 2019 21:32:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1548106329; bh=rTDLfJXvnIphivyiUbh3E7kf7sQx3Ok+2W16bskYasQ=; h=From:To:Cc:Subject:Date:From; b=e5/IXKBMqviXwNYjvBYvBSzUFuskJq/DRB/aaIJedk+vg5AI6n2Cpr4yk4LzHkl10 B6mnuNEts+VqEnTP8ZPSNuvdszloH1gNxgvj61MXharaK8l/pQjUV/F0a8BVCEuyRw cQWc54bRmiWc5L4eisxhemVhfL7Gwutwgz9vHT1o= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 919776030B 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, 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 v3 0/6] MSM8998 basic USB support Date: Mon, 21 Jan 2019 14:31:47 -0700 Message-Id: <1548106307-4762-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. v3: -Dropped accepted phy changes -Changed DT node labels per discussion with Bjorn -Made DT reg property addresses fill width -Added Bjorn's reviewed-by 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(-)