Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1973ybb; Tue, 7 Apr 2020 15:25:14 -0700 (PDT) X-Google-Smtp-Source: APiQypLwfF5P+UNtx3BSs+WJybpcToB4K9rUpA8ojZaLKZ/P8x7WDcg04KBbmmF1rClVVNokUNup X-Received: by 2002:a4a:2fd0:: with SMTP id p199mr3736293oop.14.1586298313792; Tue, 07 Apr 2020 15:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586298313; cv=none; d=google.com; s=arc-20160816; b=0aTOI3SbkunOT8FvZnJcsgrsttb6cVtstkuKE8Y/PxlmCA7iTvbdLbpirj+nYHz/nV 6nEdkWclbk8KM4o1gUYTX4BpIen2f5cx5fvFd+zsjL5u+RtgloxZm3nZ7D4Jk49JOPAc viXDOBJH2U2AtENbgJRv6KrpVMC+ai4wNc+ADdtyXaXNfIVDPRiwYQBFt/cjntEafsJK rBu8DOo9f5oOrExu+JXjUvZ5lKIyr5jEjVGBnLz5vDGjC8g1C9WYCxokXx78uZ41r3Em xxExzZRnEEugEUCnKR/4e8KSKaOuvwR2cSdkUGa6qMXhEEzOKe+pVNzeENMlqty8rwYi 6A+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature; bh=zb9gBubLqpCRCY9HKdRqpmX1NGtX4V5sdNkRDWjR9R0=; b=Q3VxX/HeVH2nFpAgIYYgrdzPreQBmRc2gl+RhQ7gqalFzFXQ9HgDTy8Ct8+cd8dJES WpODNNfNl/khydVASCh8B0OACgRJjKQ0wVuJWz8JlMv9a6zcbwlcdtMM2P0cnFVSCEWR NrgBL/AhYHBvWbT8kcoRuf5rbZ85UfOoquPAgSUYNiqrcKw+1vJENOy4eKXKEXFkGrc+ uKpr/3V5mAk1pcTWqFu3qvX4ZTPuivBldp7LR+pxqBa8j9ELYSH7uHo+cfp/bzuWReN4 2vI3foiaryHEUOs+S1KLDLpm1lzqNUZzR74phpfmJvj77cvaaTz5d7eI1KlDDbjkPo3y yZHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=Ba1Ju2Pt; 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 w21si1132349oia.257.2020.04.07.15.24.59; Tue, 07 Apr 2020 15:25:13 -0700 (PDT) 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=@mg.codeaurora.org header.s=smtp header.b=Ba1Ju2Pt; 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 S1726632AbgDGWYH (ORCPT + 99 others); Tue, 7 Apr 2020 18:24:07 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:37732 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726484AbgDGWYA (ORCPT ); Tue, 7 Apr 2020 18:24:00 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1586298240; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=zb9gBubLqpCRCY9HKdRqpmX1NGtX4V5sdNkRDWjR9R0=; b=Ba1Ju2PteoEnYCgtaWM4BpRD6ZvqiFUf5pU2VBXrwWZOm1iuhseNI87wyBPsg5EcTC4dSyLz VoesmT+MGmgWgW5k47XXy5AcY0c6Gw3vJY7wjhfyfKSNuaj/EZQ5LzGAqGMwcI05gQPf6VlW mYbPcAS8Sa+mUmcYQ7aWmNXwTOY= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd 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 5e8cfd6a.7f90da0bbce0-smtp-out-n05; Tue, 07 Apr 2020 22:23:38 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 55505C43637; Tue, 7 Apr 2020 22:23:38 +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 5246BC433F2; Tue, 7 Apr 2020 22:23:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5246BC433F2 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, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, vinod.koul@linaro.org, Wesley Cheng Subject: [PATCH v3 0/4] Add SS/HS-USB changes for Qualcomm SM8150 chipset Date: Tue, 7 Apr 2020 15:23:25 -0700 Message-Id: <1586298209-4589-1-git-send-email-wcheng@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. Changes in v3: - Use devm_reset_control_get_exclusive instead of referencing index for reset handle Changes in v2: - Fixed YAML errors caught by dt_binding_check 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 | 76 ++++++ 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, 734 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 -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project