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: 32801 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp94651wrn; Tue, 13 Dec 2022 04:44:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf6XqfPHDJr5YRXFKI2ly/ynLOCGTvy5xgBFDHNp48lPO4Xo/RnoKh5P0H+0mP+jaMd6QD6A X-Received: by 2002:a05:6402:540b:b0:45c:835c:c6d0 with SMTP id ev11-20020a056402540b00b0045c835cc6d0mr17184640edb.1.1670935446736; Tue, 13 Dec 2022 04:44:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670935446; cv=none; d=google.com; s=arc-20160816; b=b1dA42QE9qNI8cSUsxfLywJdKcbvO5FzhEfWJF4IwlokkvUC+V71KZ3IGG/TwmEkUI JzHEpt/WuUoO+DRXTw9pu65uM1aNukgi34xAhjVEPgAdTcyowF88R3mWpETOU0TnkYXO EglVh0iQvdCL8cmr13lb1fgntjBdZ3N4PInOKJoo1gEqYZqMxNgr9KjLLBz7Dj9/zMz9 6I08E5SCiVYx+vbyyFQI5dE2TPBQopu3NDwxP4ruxZrSkynrfGnNbC6TbXjdw8CBa/CB u54S/Yn7+k7Fi0LNtEzQzVfxgPK9aUYWd0vyyrPY8CX95cgI3JT01PG5lL/zvROkCS2G U87w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LBSaUOf/FOXjpduzpGni2TWWI73cP1UCmnduItbfteY=; b=jr3LQ3XJuzH+v4lxi2HaLSdjWf2GhO7EKgJSKMduRHQKSoSnDWyPT//0qBO9UIXFxk 3+bQpFNt166b/y1UWRYpo7tOL53g0FpWwaLCnk9QjBAM2qpXOBe1NNgsq4LdmpJxJ1y1 03jSFWaZgM+r1CtcqiaKIMe/OqATj/aKgPbM9Yz2QP9ThW/IWhi12tBEC+HBqRd3ciUC 7Q88m+bAq7nYa8lpRlVgdOZ3a7pQg3qZgBcjvMU2Qz3tcWn1svy+gcciCRTv69p0YhLN yTInvzB7AavFhUF5JQGsos2Me8SqJ9+yInFT5anFfqwzecGJvx0Yaxee3TIxe9+6rCF2 enAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M6jdbx3U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n17-20020aa7c691000000b0046ad8dfcfbasi8496057edq.344.2022.12.13.04.43.42; Tue, 13 Dec 2022 04:44:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M6jdbx3U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235693AbiLMM3R (ORCPT + 99 others); Tue, 13 Dec 2022 07:29:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235689AbiLMM3O (ORCPT ); Tue, 13 Dec 2022 07:29:14 -0500 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8192F1E735 for ; Tue, 13 Dec 2022 04:29:09 -0800 (PST) Received: by mail-pg1-x52f.google.com with SMTP id q71so10305789pgq.8 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=htPNYL9DsRz6hRQJRKePLwerud49OtZddNbaGh7+5V2e4YfNZSuUtUzRv9ChzgdMkD xueZL+cbUab9ejlp6HEBv730lvmCptEnev/PH2RD/uMj3v8LrN7OYoc7lNzzkclPvWtp reu1V4PEMQwLvE9JnC0m1wblJV5c9bR7AuPo1q2B90a/H1M2plR1C/l/SOEZMDSCnp6b 2WTe56i6CIDLwwmExt2kQ1zjYSQBvXF3Sw8UT6MgemPe3KnzvHpeQ7DAZ34GRB7+lKFg lUXxvWN1xqiqpPXCGJMHIDtazIuUlZ5co5ZwudTzTLrIk2g4HLTJPABi4gra/D4kEI7H NgAA== X-Gm-Message-State: ANoB5pm9ZcAWg36ZUirw2fnyQ8SugVME4zIYlst8W2St8cV6RNjmqJis qwyZl2QCjDp9+yH0kdShg9aAkg== 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752102807033272242?= X-GMAIL-MSGID: =?utf-8?q?1752102807033272242?= 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: 32798 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp93836wrn; Tue, 13 Dec 2022 04:42:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf5XBmLC3cfRBzL/qV4B3l4qC6ZTZr+Yg35aD93vvL28d7sLJpSXFwOmtcPwgWC3HwMO9F6f X-Received: by 2002:aa7:c9d0:0:b0:467:559e:5301 with SMTP id i16-20020aa7c9d0000000b00467559e5301mr17173865edt.7.1670935353083; Tue, 13 Dec 2022 04:42:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670935353; cv=none; d=google.com; s=arc-20160816; b=X0CcFerfA+QXDiIWWsI1mNq27jo8/LYE9qaocW05ahFhwcIj1dFkq35E2Hzwyh60On FeuECiTFKLgz+Tp4Ju2swIm8buh6j9ULaIMqAe6NDO9PqT9yLA4ow1IJYUKw14iWFqMj 5+VrLtBffZRxYQZvmRhxB5r7KsiN2zAKaljxogVGf1nCWldYhsyHuq1siDG56Gddlwgv pjMLfALNC4M5tF2qdBbBF12JYazDr5Q0U8WMa3BpdTN0iXDL1cRhk7tyQ4pOcbN/FOkW PBkrsIblLpN1jUEn1rYSJL2ZTj4STaf+LRq6u3emnFajVhOed+HH5LlW9MJel/VWUYNG Zv+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NBSkmVpJGzeMLffZVsv9bl/KRPaDYsuJPbQTBroS9bo=; b=YioqredH6PS/u0gLIId9uBDXJf63sxlLy16p3f21hbM777pk7uA707/tB9dY60v/CT 5Ry+/+t5mDiG5S9wtz/9YskxneOiBEHgXAWsf8g1DKpTWZbOMRIDAJNDTU3sinpCxx7Z E/AjxNpfJ5TgjqUjOsvV3mpAmhWdPMpXXd+JzNxfAJJvQS2YS5zYzh69ZVFVvqFJQDqL m9mCeW6XqYZMa3BADUTicjFJblP0YHlNOlcr4pliZUTYn60P0EJ+XyeD8DrFuj60gtRb YMKo50hEcGiuQ7XIfPY16LqEXB3mn9Uygm+jYshBy1rnvpJdKmaFqoQZfywdBBiBJotb CWPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WKqFoYHR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a056402090a00b0045c97cb9027si10704212edz.421.2022.12.13.04.42.08; Tue, 13 Dec 2022 04:42:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WKqFoYHR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235730AbiLMM3X (ORCPT + 99 others); Tue, 13 Dec 2022 07:29:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235691AbiLMM3Q (ORCPT ); Tue, 13 Dec 2022 07:29:16 -0500 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87B16DFFF for ; Tue, 13 Dec 2022 04:29:14 -0800 (PST) Received: by mail-pg1-x52e.google.com with SMTP id w37so10313997pga.5 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=dskHU59/5KA1hHoNkLhPaInHHe3aZt1TGnpLzrHrVOMMaN13qnZsd1uhrGDBvgExaf WFaZrSmw+htVY4jvikUlNuBTR6h61ASqR5snKKmYF8mQ712z4vRMAxH9KfEluqkYCl+N 9L2mTb+jF4RQdouHEXaWPwCen/DTSDrXWe+CLQ94zSUTzox6EQLmzyg2dFCUC+EoCpxc MG3Kv2jKZCir2tTGLnT7+WpcCBLoZcM6gi5vp9jhSvDfG08+EZFx+aPn0COMmOf+5yt9 xJX3N8x5jx4XeH+sFSSFOpjQY4OaiosZ02P9BTg/TDkDDUg5+080huqaWBwdR9VU2bcU QnVg== X-Gm-Message-State: ANoB5pkizY7NJ+fQesUuZ8JkSiTdrguv7uRhgZ8yqVeoy+qlx/QxbY/f y9Iu06PYpy7HqqWd935VBdWJeA== 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752102708672638524?= X-GMAIL-MSGID: =?utf-8?q?1752102708672638524?= 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: 32797 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp93831wrn; Tue, 13 Dec 2022 04:42:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf5o5juwzROHdn+23b/6eBAq/PFdOnGyTZgIqG1pZhERW5MIQKOs0Di1ZBDso4gmlWvcj7dB X-Received: by 2002:a05:6402:1cc3:b0:45c:834b:eb44 with SMTP id ds3-20020a0564021cc300b0045c834beb44mr25341724edb.15.1670935352800; Tue, 13 Dec 2022 04:42:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670935352; cv=none; d=google.com; s=arc-20160816; b=V9uVtLHjEZb1ZHWyCM8SEsqEmPOqYh3aIznNhY2q6j9lW7xBKPoQNRJ+amlEntSS1c C5JHKBBxjuYEvn3tqr5GSP86+h4OsyAlxEA+wk0sIz7UpHz1oHebsuJ0YEkk7qn2HpM+ heGohrhAmhxn3GFzMOFu40wxViPlxjd4WpzAUAP/uoPE0UflFNRGjN4CtDVk3yEghJ6C JZfmbpROuTPHdwyF1sr9eVpbbGWkZUU9dI+NtJQiqZDzPvHJSX1ae/ThIJfVUlkIcdbE Z96YJo/Cj6xYAJvgHoIvHJj04QCp2DJHUOv7/ceenNr3j5sM9maKSOKThrFqIUlMDSWK 9FsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PE+N1Gt7gGhT7n4RSqzdZOvLJC2LaUfbxIBsv2ZH22E=; b=FNIfr8CqX0+I2J75qgWb+BeQ8t3TcsA69f+z6o9NI9CaauBjpwGopfj66ikElvM9UK ECXZS6rWe9FqhH7IoFE8Ve6xA9oIufMFq5xGzGBbGsV+so+SPmRmvxbSvPKnf2xCKndR A775fE1Y7apQ5NFXZCIQ9DX5tRkGht4BA0S2+xQnVXJpySWa1wB0t1ioAgcOYGQqNsKe qDNxgtbpNRT+Z6MBU3j/Gm4b/qSQb6Sl8gNsWz27/M8gzB6Afk96VPhhj49qQTShHaue JZUt9rzEFwAbYS5DLUJwl3lfIkXXMgO+/FtB1/D6Ro09QqxKOEGWKtY8tdu1WXK/98gV 9pgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c0vjS0nW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a05640250cd00b0045dc9b4c034si10392745edb.582.2022.12.13.04.42.08; Tue, 13 Dec 2022 04:42:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c0vjS0nW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235770AbiLMM3h (ORCPT + 99 others); Tue, 13 Dec 2022 07:29:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235698AbiLMM3U (ORCPT ); Tue, 13 Dec 2022 07:29:20 -0500 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76F2C1F2CE for ; Tue, 13 Dec 2022 04:29:19 -0800 (PST) Received: by mail-pg1-x534.google.com with SMTP id f3so10317993pgc.2 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=G6q0cruL4K49PWuoSPFxm+FMc9o4qfCaIDi4thF56loLiBlwcqZx4J2GfldUU2yd8F Oxf237p2pNhf2EDT6aHD87Pu1R6xpJ/QmO/S8RU3U8aw5znWU8joLBEnn+GXODzzUwdp FpT42OuQa+caoLYcr9s3cJd35hXhi2lHFHLzluvorvCWIx5SP555I60cO+xQ/Ykjlpng wshay1ZecHhwubY0mL/eG9pSvDXPxfGFFydF0+7uL1bwt7+cA2rP1C19+7xIiCEoUwE+ gpMw6otFEeaVH5b4JlXy13LBCyIz3TRcocS+76Wp0UH78aWVYgJb90jJ20WYW25Ofk7L OnYg== X-Gm-Message-State: ANoB5pkNqQ7Qr2HiB6hHOvE2h3i41bVmbah9QKTMr2rVWyrA/nARRItp aKzWxNF+z+0k6v+cq3ovRcx1Tw== 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752102708023986696?= X-GMAIL-MSGID: =?utf-8?q?1752102708023986696?= 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,