From nobody Thu Sep 18 02:46:47 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 683ABC4332F for ; Tue, 13 Dec 2022 12:41:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235355AbiLMMlV (ORCPT ); Tue, 13 Dec 2022 07:41:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235691AbiLMMk0 (ORCPT ); Tue, 13 Dec 2022 07:40:26 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 895C01FF88 for ; Tue, 13 Dec 2022 04:38:46 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id gt4so3263722pjb.1 for ; Tue, 13 Dec 2022 04:38:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YePhAvYUlwABIizeZpsWNnCslmbzuPktDGT0aWh+WCg=; b=wv/khjKASLevaKX2RJcymDxwDpHNeoxY2XZUcYsF+4DMkZIR6kzHyWjRoTxhxczneR EWMsMfMZk0zWvLbKdv5PZ83Oggfy4nd5VWWR2ghyKqIFxUjhaQxkjUvRzGqdX28Q3gI/ xb2m92RWtb4jDUJhiNilm04L+BlZAq/J2HMUAC478z3BrOudaD2+kwoT4GRYRATr4CVC 60QBlrGkS6GxVrTWd67MXhMoSdQKn6/nWkx5JZYrQSJxUYWVGhWHRe5Oc9cmmtimh57M nSZYflCcfncJN0nwJPtrBolVCYn2fFHBhj6Qx36xFEhDPIg5ifJ6Qthqr4U1Axqj9lWh yufQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YePhAvYUlwABIizeZpsWNnCslmbzuPktDGT0aWh+WCg=; b=1jczGCeLmZ5X30GNDdpLW5tv0l7Bs0+wZ8t/XBr8pRkevgHnXNz4syXtojP0K2m20W 0KGjiS2ooVXPfyPen9CpqiCMYHQtHyyQjGiBQKSXL7wZhS+3toG7rTVAQvUx41C2PVho 6dR1Mz5jhDNTTcmTzLafEcybOiyXNZ3NSsR82R47oYOYQHG0zoekY1M7S3ZL27lRinvO nFu3R5p8nbUua/uBqKKZsuqwYrJlZUd2I+h6Q+7OP/g3zYZ3J0Yg/JMfGs/S50L7o12B EhhnkXmGM91lF4VgtCOT15jWylhva7OSj6Od4pW0oH2aifGeQEH5DQsCsG7K9bEAHy0N twYw== X-Gm-Message-State: ANoB5pk6r2IEeAUAu7e4zH+ioELY9aDlR0KzTz74xOb+nXWLLyxjKCB5 hM5imQYz1vy386Bxuf/pwxCgTA== X-Google-Smtp-Source: AA0mqf5ctH7OVIr6FRXBMGMVuOAk4vPXByo6XYnptIEjYhaWhbE+73UZSQO4nWc8K9j2AJExHlw9kA== X-Received: by 2002:a17:902:e851:b0:189:a6b4:91ed with SMTP id t17-20020a170902e85100b00189a6b491edmr28013735plg.17.1670935125702; Tue, 13 Dec 2022 04:38:45 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1c60:4bad:5c3:ab51:3d81:6264]) by smtp.gmail.com with ESMTPSA id m12-20020a170902c44c00b001889e58d520sm8297011plm.184.2022.12.13.04.38.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 04:38:45 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org, konrad.dybcio@linaro.org, andersson@kernel.org Subject: [PATCH 3/3] arm64: dts: qcom: sm6115: Add USB SS qmp phy node Date: Tue, 13 Dec 2022 18:08:23 +0530 Message-Id: <20221213123823.455731-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221213123823.455731-1-bhupesh.sharma@linaro.org> References: <20221213123823.455731-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add USB superspeed qmp phy node to dtsi. Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 38 ++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qco= m/sm6115.dtsi index e4ce135264f3d..9c5c024919f92 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -579,6 +579,40 @@ usb_hsphy: phy@1613000 { status =3D "disabled"; }; =20 + usb_qmpphy: phy@1615000 { + compatible =3D "qcom,sm6115-qmp-usb3-phy"; + reg =3D <0x01615000 0x200>; + #clock-cells =3D <1>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges; + clocks =3D <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>, + <&gcc GCC_USB3_PRIM_CLKREF_CLK>, + <&gcc GCC_AHB2PHY_USB_CLK>; + clock-names =3D "com_aux", + "ref", + "cfg_ahb"; + resets =3D <&gcc GCC_USB3_PHY_PRIM_SP0_BCR>, + <&gcc GCC_USB3PHY_PHY_PRIM_SP0_BCR>; + reset-names =3D "phy", "phy_phy"; + status =3D "disabled"; + + usb_ssphy: phy@1615200 { + reg =3D <0x01615200 0x200>, + <0x01615400 0x200>, + <0x01615c00 0x400>, + <0x01615600 0x200>, + <0x01615800 0x200>, + <0x01615a00 0x100>; + #phy-cells =3D <0>; + #clock-cells =3D <1>; + clocks =3D <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; + clock-names =3D "pipe0"; + clock-output-names =3D "usb3_phy_pipe_clk_src"; + }; + }; + + qfprom@1b40000 { compatible =3D "qcom,sm6115-qfprom", "qcom,qfprom"; reg =3D <0x01b40000 0x7000>; @@ -1023,8 +1057,8 @@ usb_dwc3: usb@4e00000 { compatible =3D "snps,dwc3"; reg =3D <0x04e00000 0xcd00>; interrupts =3D ; - phys =3D <&usb_hsphy>; - phy-names =3D "usb2-phy"; + phys =3D <&usb_hsphy>, <&usb_ssphy>; + phy-names =3D "usb2-phy", "usb3-phy"; iommus =3D <&apps_smmu 0x120 0x0>; snps,dis_u2_susphy_quirk; snps,dis_enblslpm_quirk; --=20 2.38.1