From patchwork Tue Mar 17 20:53:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wesley Cheng X-Patchwork-Id: 11444049 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 615D9159A for ; Tue, 17 Mar 2020 20:53:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 351A020757 for ; Tue, 17 Mar 2020 20:53:40 +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="xIhuVEd4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726388AbgCQUxj (ORCPT ); Tue, 17 Mar 2020 16:53:39 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:26053 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726549AbgCQUxj (ORCPT ); Tue, 17 Mar 2020 16:53:39 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1584478419; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=0FuWCaiIeZ+dC3cNZQsIBNBHz1QAlcLwuEg7g1HMh0o=; b=xIhuVEd40feaIp3Vszra7ER2iNDGwV5KRldu2HuY6RpMTh8alaZmsKOT4fN3VN/nyXyBBnWQ /biHAFQBRW0s4UOqlhDuWSmNbqBTSdLBqfSWDarReRwXfsVxUZffXvmti92wN5goGA2W/wFi mjcKejxdP6SBQ8tGmfv/fQF6EYI= 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 5e7138d2.7f859b99af80-smtp-out-n02; Tue, 17 Mar 2020 20:53:38 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 39C36C44788; Tue, 17 Mar 2020 20:53: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 51595C433D2; Tue, 17 Mar 2020 20:53:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 51595C433D2 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, Wesley Cheng Subject: [PATCH v2 0/2] Enable SS/HS USB support on SM8150 Date: Tue, 17 Mar 2020 13:53:30 -0700 Message-Id: <1584478412-7798-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 Add required device tree nodes to enable the USB SS and HS paths on the primary USB controller on SM8150. In addition, implement missing resources from the SM8150 GCC driver, which includes the USB GDSC and the USB PIPE clocks. Changes in v2: - Combine GDSC and USB PIPE clock changes. - Re-order DTS nodes based on address Jack Pham (1): arm64: dts: qcom: sm8150: Add USB and PHY device nodes Wesley Cheng (1): clk: qcom: gcc: Add USB3 PIPE clock and GDSC for SM8150 arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 17 ++++++ arch/arm64/boot/dts/qcom/sm8150.dtsi | 92 +++++++++++++++++++++++++++++ drivers/clk/qcom/gcc-sm8150.c | 52 ++++++++++++++++ include/dt-bindings/clock/qcom,gcc-sm8150.h | 4 ++ 4 files changed, 165 insertions(+)