From patchwork Sat Mar 14 00:54:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wesley Cheng X-Patchwork-Id: 11438161 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 092E214E5 for ; Sat, 14 Mar 2020 00:55:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DC8BF2074F for ; Sat, 14 Mar 2020 00:55:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="ZCZU/0ji" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727636AbgCNAzL (ORCPT ); Fri, 13 Mar 2020 20:55:11 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:22247 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727790AbgCNAzJ (ORCPT ); Fri, 13 Mar 2020 20:55:09 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1584147309; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=LswQoCiDsV5fUK3UT5IuFHcjpFvD+YypngIW7/91iJg=; b=ZCZU/0jir9SlzU1z/uvtiVzePDtfJq6ShgX7qaZS1bAVGnHVmkoGF6lP5KlLwO1e8d45o7fF L4m6wWhUxHYQmKtPchQ/dyAShkCSDZ5m+TVvgrevRrvDVp/NQ2NpnGCryDwhrzdhHp2bnXjJ De182lvUCvUOzPBNnIrbiRw3sjQ= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI1MzIzYiIsICJsaW51eC1hcm0tbXNtQHZnZXIua2VybmVsLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e6c2b65.7f78a6d93618-smtp-out-n05; Sat, 14 Mar 2020 00:55:01 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 3E2CDC4478F; Sat, 14 Mar 2020 00:55:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from wcheng-linux.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: wcheng) by smtp.codeaurora.org (Postfix) with ESMTPSA id 469B8C433CB; Sat, 14 Mar 2020 00:54:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 469B8C433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=wcheng@codeaurora.org From: Wesley Cheng To: agross@kernel.org, bjorn.andersson@linaro.org, kishon@ti.com, robh+dt@kernel.org, mark.rutland@arm.com, p.zabel@pengutronix.de Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Wesley Cheng Subject: [PATCH 0/4] Add SS/HS-USB changes for Qualcomm SM8150 chipset Date: Fri, 13 Mar 2020 17:54:49 -0700 Message-Id: <1584147293-6763-1-git-send-email-wcheng@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series adds support for the Synopsis 7nm HSPHY USB driver being used in QCOM chipsets. The HSPHY register map differs compared to other PHY revisions. In addition, modifications and updates are done to the QMP driver to add new registers/offsets, and to update the initialization sequence for enabling the SSUSB path on SM8150. Jack Pham (1): phy: qcom-qmp: Add SM8150 QMP USB3 PHY support Wesley Cheng (3): dt-bindings: phy: Add binding for qcom,usb-hs-7nm phy: qcom-snps: Add SNPS USB PHY driver for QCOM based SOCs phy: qcom-qmp: Use proper PWRDOWN offset for sm8150 USB .../devicetree/bindings/phy/qcom,usb-hs-7nm.yaml | 74 ++++++ drivers/phy/qualcomm/Kconfig | 10 + drivers/phy/qualcomm/Makefile | 1 + drivers/phy/qualcomm/phy-qcom-qmp.c | 157 +++++++++++ drivers/phy/qualcomm/phy-qcom-qmp.h | 198 +++++++++++++- drivers/phy/qualcomm/phy-qcom-snps-7nm.c | 294 +++++++++++++++++++++ 6 files changed, 732 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/qcom,usb-hs-7nm.yaml create mode 100644 drivers/phy/qualcomm/phy-qcom-snps-7nm.c