From patchwork Tue Dec 13 12:28:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 13072003 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 85D75C4332F for ; Tue, 13 Dec 2022 12:29:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1GhzW3Vuqay12Jmyzq4jrfujvfxixnJ+B1p8xBW229I=; b=dKY/BGjL3l6wIH 8/0YE5dg60dOU7iOu4/wlwJ2hJrPR0V4vlwTQEM6m9TEvMH5PX9n8TmSKTDDyjuVNZ+pRQHLVQh3N ygLBkNqzUvRRNHZV75zOmlvbj7rbbv9wFX+7Vwqdfvet9DVBwswNT5+sGjsx0VwQTM2gglD8sJdIu UO6WhG1kY+HckhGQPBkiloxo3TCSuX+Et8LELWsSb+vrOVL0yxzQI9oo88ENXPBn9DuP+JvIMpnSJ Qc/04mLlr+iMBucybGYex6EoxnrlLL1ZwGORIiRXNIkRkLrT3wuB7RPqyefu3uhjwJAlExWfzNcP1 Qj7wwste7pKDeWgz2tfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p54PJ-00H9U1-Rz; Tue, 13 Dec 2022 12:29:13 +0000 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p54PH-00H9Pl-O4 for linux-phy@lists.infradead.org; Tue, 13 Dec 2022 12:29:13 +0000 Received: by mail-pg1-x536.google.com with SMTP id r18so10291500pgr.12 for ; Tue, 13 Dec 2022 04:29:09 -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=LBSaUOf/FOXjpduzpGni2TWWI73cP1UCmnduItbfteY=; b=M6jdbx3UEtOLNv1TCQ8ZU7Ltuxquu9wznOHIL5W+g/fR6wb2li11OuoOKwHQUGb2R1 0DnWBPtlmw4QR01QGd8ydt+yddvN4oeGU9oruEqujsjwlSWjjfz6WAEu79APGb7YLazD S6g7MfgB/rqC1QK1Mc18NqtrIFE2MdbJSXtzlLn53BtBAW1eUQNXavGo7hXk80evtram 2krFJcndbreobqQCm/3hCztVTX/az8x2qPTtaxyDk6HdkRtGR8f8e/4l//4NZBZ2Zfwh eW1pXjmeXsJ8uDS86yBcuQXo08kHgdtIxPnto6s1z9re3Ekx1PBN7nZbSLDtjAO78Rpk H8XA== 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=LBSaUOf/FOXjpduzpGni2TWWI73cP1UCmnduItbfteY=; b=nnPDK4NzaAPH4I1si84z/FC1De2UjphmSLWsJOV3p3eOeP/kZLjrI9PFKKelIRbdYr iRJeMGeOe2j822u5Gxn7Dp/zPv7JzVNihczV+jloOHa6HWE7cYgAKiE3KSbSdGaydv31 q/39wiuIHKe3MEdDPZVxSsJw8QmVZpLsijGpXHbjDhobmT67gX8IMM3KiL7Vv0hmSCL3 e2MRZ+ystvxMGi0YEYCp7fUk+8bmGiTokwKbKfu5YmoUnVY+5CCt3+uUtgudX4xWtJ5G 20leGwYpJD8u2ZSqkOV2OXmNUm8GexiAe6aVdme4zGtJDfjOAxrnTWd4fwM/EmkE4dSl 8Esw== X-Gm-Message-State: ANoB5pl9QdO3ybo3VKP7A3aMO85gpIaPB9NTEdFIVANeJQw64Y8dvP6l HEt3lWCdo9kD9OIinycJmJX+zg== X-Google-Smtp-Source: AA0mqf7BO1EVW5IGhG8M4Hn3DldsiAJ5jDyFLHGbHZKjQ+RphrRMyysb1i88RjapbbhyVL32nVyxrg== X-Received: by 2002:a05:6a00:1c89:b0:576:e33e:cd63 with SMTP id y9-20020a056a001c8900b00576e33ecd63mr18521486pfw.30.1670934549180; Tue, 13 Dec 2022 04:29:09 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1c60:4bad:5c3:ab51:3d81:6264]) by smtp.gmail.com with ESMTPSA id y10-20020aa793ca000000b0057555d35f79sm7602468pff.101.2022.12.13.04.29.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 04:29:08 -0800 (PST) From: Bhupesh Sharma To: vkoul@kernel.org, linux-phy@lists.infradead.org Cc: shawn.guo@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, agross@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org, andersson@kernel.org, konrad.dybcio@somainline.org Subject: [PATCH 1/3] dt-bindings: phy: qcom,qmp-usb: Add SM6115 / SM4250 USB3 PHY Date: Tue, 13 Dec 2022 17:58:41 +0530 Message-Id: <20221213122843.454845-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221213122843.454845-1-bhupesh.sharma@linaro.org> References: <20221213122843.454845-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221213_042911_806032_966C2CCD X-CRM114-Status: UNSURE ( 7.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Add dt-bindings for USB3 PHY found on Qualcomm SM6115 / SM4250 SoC. Signed-off-by: Bhupesh Sharma Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/phy/qcom,msm8996-qmp-usb3-phy.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-usb3-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-usb3-phy.yaml index 0c6b3ba7346b9..e81a38281f8c5 100644 --- a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-usb3-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-usb3-phy.yaml @@ -30,6 +30,7 @@ properties: - qcom,sdm845-qmp-usb3-uni-phy - qcom,sdx55-qmp-usb3-uni-phy - qcom,sdx65-qmp-usb3-uni-phy + - qcom,sm6115-qmp-usb3-phy - qcom,sm8150-qmp-usb3-phy - qcom,sm8150-qmp-usb3-uni-phy - qcom,sm8250-qmp-usb3-phy @@ -253,6 +254,7 @@ allOf: contains: enum: - qcom,qcm2290-qmp-usb3-phy + - qcom,sm6115-qmp-usb3-phy then: properties: clocks: @@ -321,6 +323,7 @@ allOf: - qcom,sc8180x-qmp-usb3-phy - qcom,sdx55-qmp-usb3-uni-phy - qcom,sdx65-qmp-usb3-uni-phy + - qcom,sm6115-qmp-usb3-phy - qcom,sm8150-qmp-usb3-uni-phy - qcom,sm8250-qmp-usb3-phy then: From patchwork Tue Dec 13 12:28:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 13072004 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8754EC4167B for ; Tue, 13 Dec 2022 12:29:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dEsYeUJt+a7Jbhhd4pPLSScjecO0btpRHM9OGkw+3Bs=; b=JRvbhuMmMhyge/ ZnhbdA8QvdphPo9RMg+iMDLk2IkGI1wARk1VwXUeBK1iSsSGaNbpk0JngOnga0gaXbJ2opEwG+B1o n+RA0/gXoAXn22CjnJ74RaGcQ/76nDuw1xDT99tQzBeL4MTIW7V2YT70mtWOCezmtWDFDuUZGxbYb MEimtCkSXLKjw75kcvbdvT4SUFuX4amMTw5wifLfNC0ZwrVjKh8B9stNmC3aoN13aur3agkMBZsTJ r+GPvNH/quFVI24f0cgUChtj/pqsg/IxEMMciU3jkM7JABpOpQNzH99rJzme/xKKRWppJs9mIXc/q MiuaftDLSMsVFFfP3nWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p54PN-00H9W4-W0; Tue, 13 Dec 2022 12:29:17 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p54PL-00H9UC-P7 for linux-phy@lists.infradead.org; Tue, 13 Dec 2022 12:29:17 +0000 Received: by mail-pg1-x52c.google.com with SMTP id s196so10319508pgs.3 for ; Tue, 13 Dec 2022 04:29:14 -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=NBSkmVpJGzeMLffZVsv9bl/KRPaDYsuJPbQTBroS9bo=; b=WKqFoYHR6WTnwagCnphgHsdNVP4qgFO3MVP7RCn9z0DUw3l4HAjAkPSdGL3zFNerHQ G7w/cNxxFKhvkJvLb8DzwLJqLpHUWee/5TFdxwiJysJyXyqHtgCP8fntzkSIOyoQrv55 ErDKUhfQmGC6jFim6Ym0Jo936eCvhVZU9rdxZD+QiR+E1qefjI2VWaX54Fz//LvfpW/Q w4kQV4HqAjVvXc8SFdPECjXbT3dTimo3aD3vk9BYQ0/0GEEl0e/pcs+i1f8Q4oKGoGpR dHrhayrpYQZjV9HRAT9vV6TIMPvbTOes7VqC/yehlSsXFwiGlAWnkr18xzEnyu3uuOT1 1L/w== 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=NBSkmVpJGzeMLffZVsv9bl/KRPaDYsuJPbQTBroS9bo=; b=zIMeDxs8PZQkwfRJ9eT2wRxyX63Pww8a4RSOedAb8o9a2ZMaZ7GOUzWhBtJZgntptK y4GGwYJJai0detiz3CFIksTGo/F9UYd+G5cj54JkfLIKHK6I8phD67xjZSydRuDiKnro 5o+o75RRnkHhJeCsiM6+ZqrcDDaTTEJ61vIUAuSda9UPprGwFUW9FZ7SYMMlF0M2MpYn K5iX59fUpT8YTMex6LTsh4NzxbLeMteW2VztV7Hi6+6vgO7txT7r6kcaNfbAGRxTGMhF hWSKAsT8j6B8QA31mplMf2fTBd/UN8hTgMQecdSkBrPUL6ME3c0jRlky5ksjycOvPooS 1CtA== X-Gm-Message-State: ANoB5plnobEUkN8a1CTYjHSzzPKrQHiiYi5TIMHO7ULT85oD5+SmFZJx J122MJ4fbgjd1FI2AKnRoP+K5A== X-Google-Smtp-Source: AA0mqf4+5V2iaPOzaPkqzVMcV8HxvLdCmtPDjKcNu3IiHF4Uy4rK8m+zt/wwcZ5jp7ZEXhupQIOxGw== X-Received: by 2002:a05:6a00:182a:b0:577:daa0:eb68 with SMTP id y42-20020a056a00182a00b00577daa0eb68mr23080564pfa.25.1670934553975; Tue, 13 Dec 2022 04:29:13 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1c60:4bad:5c3:ab51:3d81:6264]) by smtp.gmail.com with ESMTPSA id y10-20020aa793ca000000b0057555d35f79sm7602468pff.101.2022.12.13.04.29.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 04:29:13 -0800 (PST) From: Bhupesh Sharma To: vkoul@kernel.org, linux-phy@lists.infradead.org Cc: shawn.guo@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, agross@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org, andersson@kernel.org, konrad.dybcio@somainline.org Subject: [PATCH 2/3] phy: qcom-qmp-usb: Fix QSERDES_V3_RX_UCDR_PI_CONTROLS init val Date: Tue, 13 Dec 2022 17:58:42 +0530 Message-Id: <20221213122843.454845-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221213122843.454845-1-bhupesh.sharma@linaro.org> References: <20221213122843.454845-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221213_042915_831924_0CB3E3C0 X-CRM114-Status: GOOD ( 10.34 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org As per the Qualcomm QMP v3 PHY programming guide document, QSERDES_V3_RX_UCDR_PI_CONTROLS configuration should be set to an initial configuration value of 0x80. Fix the same. Signed-off-by: Bhupesh Sharma --- drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-usb.c b/drivers/phy/qualcomm/phy-qcom-qmp-usb.c index 4aa338fc4643c..7a847ffe46daf 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-usb.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-usb.c @@ -1265,7 +1265,7 @@ static const struct qmp_phy_init_tbl qcm2290_usb3_tx_tbl[] = { static const struct qmp_phy_init_tbl qcm2290_usb3_rx_tbl[] = { QMP_PHY_INIT_CFG(QSERDES_V3_RX_UCDR_FASTLOCK_FO_GAIN, 0x0b), - QMP_PHY_INIT_CFG(QSERDES_V3_RX_UCDR_PI_CONTROLS, 0x00), + QMP_PHY_INIT_CFG(QSERDES_V3_RX_UCDR_PI_CONTROLS, 0x80), QMP_PHY_INIT_CFG(QSERDES_V3_RX_UCDR_FASTLOCK_COUNT_LOW, 0x00), QMP_PHY_INIT_CFG(QSERDES_V3_RX_UCDR_FASTLOCK_COUNT_HIGH, 0x00), QMP_PHY_INIT_CFG(QSERDES_V3_RX_UCDR_FO_GAIN, 0x0a), From patchwork Tue Dec 13 12:28:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 13072005 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B8CB7C10F1D for ; Tue, 13 Dec 2022 12:29:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=595xj0swIV/Ub4hKuEsxc29dFaZCTIuVsUjRfOQq+gU=; b=iS3PT4w31WFPTy +OqEzvku4iCG2CmU3OwEXfZ9NFii3gDCO6TH091KXo92ZMiE046hjsK9xoZIxT44FVhWxvjvu80yL 62mXGYQaXsHpgFIQfpk7oJTbMUVdmP9yLIvhyaJ6YL8mRmeGoDq4/HzyQtcU7u8YvhVGcCMCJwr3l jQa18jUJpHuDUKQSmB1u3PKZ0ojRyc+4BrEbBRxr5LYFOIZUxyTEyAKRFJN/+I57OzIAT7qe2kmDW DbaT0RMeVQvuUwZkVlWD1aXK4+bL/2U2sp728sLH5e2rY0JFV3ldrzrv8KbsldSvb54OhZTeEs4re Y4OEYH1LaAtC4FDP5skA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p54PU-00H9Xi-5y; Tue, 13 Dec 2022 12:29:24 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p54PS-00H9WN-2O for linux-phy@lists.infradead.org; Tue, 13 Dec 2022 12:29:23 +0000 Received: by mail-pf1-x42e.google.com with SMTP id 65so2055478pfx.9 for ; Tue, 13 Dec 2022 04:29:19 -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=PE+N1Gt7gGhT7n4RSqzdZOvLJC2LaUfbxIBsv2ZH22E=; b=c0vjS0nWa0vtcHTHwwgvDJUpfJLA8wLcA+h4xzxkUaFFMu7alJOjtQOFHBtfipU2ro lcC50Ke9qOuIC7bXqZsGxdNFgRJiAvn7SJwAHDoZHFB0+9ob5y5MWPnjXME2MPWBqtUe br0mKI+1reVRTjp6rBFCa04joQZBwKYtnnEa0P0+kALh6PtsDVSigsTr8yzjhG00FMoX 5ICrfB9iLhfZdqDs25kzK2gnSz7VK4+jfMhSc99zZ0US/08IKupYykB5YN3ED03vsJWK xSzWQTKXZN8DTt2FjXPWttv6E+waW+bIsajy0SFBAUJzg+H+5f+hAV7ap5l9bIGX7xxu etqw== 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=PE+N1Gt7gGhT7n4RSqzdZOvLJC2LaUfbxIBsv2ZH22E=; b=K55ss0Eyi0E/V07IhtYTjBZdTvMl7/qtuLIgJSZZD6H/rZC66kZZfd0ALZMgea8L2L ptg4d9+swA6vKYkPJUVdCRxWY2xoi8ZrvXlrvVkLN6IisqnX5r86jOUmaFs6W1+FQ0Ud 7wpvfaNRdxF2gxS/rrKnH+SbzAH+3gD3yFUErhql8S/SSX/l7AuxecfwoxM3ZD3ZcrAI AfsRS6UBWr70suS8p6LnYuO8IxB2vukv/janm27ue0wkhoEErbGzfiPlTGyNyZAwBxWV qyCEEQGzJF/r+0/9WBAkSW59HmON/WYaaUBHxX1Plcizmcw8dHAZcE2YYV9JyWQ/wS1E u7FA== X-Gm-Message-State: ANoB5pkdWDETqPa3pLAnV4x/QrURf0N0de0K0JMH/A+GVpBPa3kTpSob HmP3mVJnu4xpfHt/m8erDXEPQw== X-Google-Smtp-Source: AA0mqf42wIJlaGrjyscSyxfrsCX6wYLLGGWN2fZBuQgon8p4dxNSQ3PcWR2HLv9MPBgwK7o5KQZ2og== X-Received: by 2002:a62:e21a:0:b0:576:d2cc:1ad2 with SMTP id a26-20020a62e21a000000b00576d2cc1ad2mr20161699pfi.6.1670934559070; Tue, 13 Dec 2022 04:29:19 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1c60:4bad:5c3:ab51:3d81:6264]) by smtp.gmail.com with ESMTPSA id y10-20020aa793ca000000b0057555d35f79sm7602468pff.101.2022.12.13.04.29.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 04:29:18 -0800 (PST) From: Bhupesh Sharma To: vkoul@kernel.org, linux-phy@lists.infradead.org Cc: shawn.guo@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, agross@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org, andersson@kernel.org, konrad.dybcio@somainline.org Subject: [PATCH 3/3] phy: qcom-qmp-usb: Add Qualcomm SM6115 / SM4250 USB3 PHY support Date: Tue, 13 Dec 2022 17:58:43 +0530 Message-Id: <20221213122843.454845-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221213122843.454845-1-bhupesh.sharma@linaro.org> References: <20221213122843.454845-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221213_042922_128437_2A88FBDE X-CRM114-Status: GOOD ( 10.08 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Enable SM6115 / SM4250 USB3 PHY support by adding the qmp_phy_cfg data. Since this PHY is the same as the one used on QCM2290, reuse the QCM2290 qmp_phy_cfg data already available. Signed-off-by: Bhupesh Sharma --- drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-usb.c b/drivers/phy/qualcomm/phy-qcom-qmp-usb.c index 7a847ffe46daf..8ede8a6ab5e02 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-usb.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-usb.c @@ -2622,6 +2622,9 @@ static const struct of_device_id qmp_usb_of_match_table[] = { }, { .compatible = "qcom,sdx65-qmp-usb3-uni-phy", .data = &sdx65_usb3_uniphy_cfg, + }, { + .compatible = "qcom,sm6115-qmp-usb3-phy", + .data = &qcm2290_usb3phy_cfg, }, { .compatible = "qcom,sm8150-qmp-usb3-phy", .data = &sm8150_usb3phy_cfg,