Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6679547imu; Mon, 21 Jan 2019 13:33:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN4G7t+LkkTARd2aFwtoOliiu7MDj7vO/5nN1tdVLxSU5cO62NRSrJ/1EZLgZ32ErQuITo3d X-Received: by 2002:a17:902:4601:: with SMTP id o1mr31686054pld.243.1548106411902; Mon, 21 Jan 2019 13:33:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548106411; cv=none; d=google.com; s=arc-20160816; b=KaobRDU53byJwa8BUgxxSzBD9wXuRrYYGsdY0209mW6oYnzyvO9BkOOQCtbS26M4SF 3BYuCKqaxpv/t6NYb+xaD8KzpBYQJxoczMuPqITtOGeOmVdcfZ8Rxp2mAyTHHbRX9rqL SD2Ox+H44sCk33q2moSkzN0Yh/6riWvHwEu1iuBOIH6MSSmie1MEeJ1fLCBs6jea6KUB b4yF7fBO3UGppOvgjq2zGRXOBP88G/qelZUbqQsNtGT/Kj1ebiZztM7wpTMHofjU/SkH QBgGZsjlGk771YK5mU0RGFT+iYCusdbeUgRhLXRhWgtCdT3xGOo/2iUfjd5oHNo40iqW amaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dmarc-filter:dkim-signature:dkim-signature; bh=P8evw4A8AYkUp7BQtqJZzUH/XckUezqH70QfWfeQRuo=; b=AaqlvCbPjIvc0f6z8w3yZVTgXN0a0EGMW1HtV+imbsAw3iQfPVnUCpCjq/YVIyFgwK HdCZ0XnUtJA2eEpM39U0glLbzaWJjGUiPpBQ7lz9qHAsgFyHjz70ufx02IB3WKY7GV77 hWDLc3JITCk7C2Az5hHPbDd0kGaK1jDgS4GabV2xylQJ+dPXnJQL0AyRdJSwUp7bzyip YzaSaMv986SVLqhQR259QGwGIc1/q4NeJxvsqVRUIBVOMVtR2ckaZbZ4jhoDWzPUbQuy chFt0mU6zqbmgZ3PAhhr7T10p+IaEjxltgUdY8IsLKYhWdovtGfz9NJ1DnjhnlC7aofx HjiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@codeaurora.org header.s=default header.b=f8VnGwAg; dkim=fail header.i=@codeaurora.org header.s=default header.b="e5/IXKBM"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10si13536995plq.371.2019.01.21.13.33.15; Mon, 21 Jan 2019 13:33:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@codeaurora.org header.s=default header.b=f8VnGwAg; dkim=fail header.i=@codeaurora.org header.s=default header.b="e5/IXKBM"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728045AbfAUVcL (ORCPT + 99 others); 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= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.