From patchwork Mon Dec 13 13:14:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12673859 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 DF106C433F5 for ; Mon, 13 Dec 2021 13:15:10 +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: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:In-Reply-To:References: List-Owner; bh=i//kfVdgRbgi92LEif+nCR7kKV/rtgVXzpUSIOQWzAg=; b=c4HuJXr4/KNPG6 A+0ykLxXpr21LnidCRh1+GR1MRZrfXeYeLcDycMLL7mgF1p2EdXkccBi3kyCVKlhPdkSy6EKCeXA0 dXvUvJ1NVRqfkkrnv4QaVNhQlAjSZi0p8wMYBHcWSPGsBfS8TZQ6PIQ0B0J0yrXIBqPiT4aDllaUV g7SzB7pk4KT33Z89oRysGk4T/DFAXjvyEJorrXLuTykO7/RCJUDim78qEngTO5ofIsXCzqiii8SkE LejPUQI6+QsREteQ5slGPOMA/DyZqvMVW0xsv1Fd+XEeaN5t48tYPDa+JBnVupfuYhEBLBP7INIhu bABIDWuJICwFrx55tiDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwlAc-009dgj-A5; Mon, 13 Dec 2021 13:15:10 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwlAX-009dfH-FT for linux-phy@lists.infradead.org; Mon, 13 Dec 2021 13:15:08 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 8DEDFB80ED6; Mon, 13 Dec 2021 13:15:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A24DC34601; Mon, 13 Dec 2021 13:14:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639401302; bh=tvvUBMXu9bigl3+FP0wtOQ9eIr333s7ge1/gtweziiY=; h=From:To:Cc:Subject:Date:From; b=Pndtj6+6bOSTA1bnMqAXFzymoqN2zLhQTG3KzBtpDt+42ORyZhX3qlNaleIZe4jNZ qDd2pVyv9gaA6D6568KhMQDU2v6FCENCFB0exIUaiYJ/ZGq45eK5u4834nTCgmyU4d YVgzb/cXtVV91pRsXG3EtVMwFsHLKbRb2/rNTUm/gpXH3z87hTsfcRXkjxXgciAUkg aV8YrQATqhCwe8w6WdoFYlTqLGR3xIjCZCuc/jG9F/OHGKslPSP8xbetU3MOGYJkUR zyz6hom03MjOn66tI55VnAJuMaZlDmE5VcJC2+onf9YveQnysgx84oyXXzC0xCNW8F NS4ZsXUDVh6FQ== From: Vinod Koul To: Bjorn Andersson , Kishon Vijay Abraham I Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Andy Gross , Rob Herring , Wesley Cheng , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] dt-bindings: phy: qcom, usb-snps-femto-v2: Add bindings for SM8450 Date: Mon, 13 Dec 2021 18:44:48 +0530 Message-Id: <20211213131450.535775-1-vkoul@kernel.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211213_051505_690571_5A69669A X-CRM114-Status: UNSURE ( 8.31 ) 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 Document the compatible string for USB phy found in Qualcomm SM8450 SoC Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Acked-by: Rob Herring --- .../devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml b/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml index 20203a8a9e41..0dfe6914ec87 100644 --- a/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml @@ -20,6 +20,7 @@ properties: - qcom,sm8150-usb-hs-phy - qcom,sm8250-usb-hs-phy - qcom,sm8350-usb-hs-phy + - qcom,sm8450-usb-hs-phy - qcom,usb-snps-femto-v2-phy reg: From patchwork Mon Dec 13 13:14:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12673857 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 E8977C4332F for ; Mon, 13 Dec 2021 13:15:10 +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=ZSowcL22oKvYpOOa7XIu20ocFm9cdWmW4H14069jeuo=; b=14I1LWWb8ZbqHU dp4rs6t8BEyN1TORdA5GKJMDM6mAgOijTpGyHDg/A/IYtXiZU7HnjXAlYxndAtMOodhCxPsukWR9b B+HNNGA99dwcnf8fclZMlvmkqORT+IumPjPdJM47v/ciPg7afouigeemOTO0Tv2TnRwNci5s1E/+7 kHlMOArNwlABE+cGdGYsb+51qUdxggFXxToTIMebMcF3QzKxMUhEEbg6P9oD5XjkVEYqrUumOEZFm TxCdEkK5KST7HSqnlKED+EGDJqrN/4ke3ZlR5VnnkNyZkg6aYVzCVab11zJot2/hbJ4EE4ZjWN0pa BV6vJ28MHiwscmL01H6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwlAc-009dgm-Cf; Mon, 13 Dec 2021 13:15:10 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwlAZ-009dfj-K4 for linux-phy@lists.infradead.org; Mon, 13 Dec 2021 13:15:08 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 55CC5B80EDF; Mon, 13 Dec 2021 13:15:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E36D1C34609; Mon, 13 Dec 2021 13:15:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639401306; bh=ZSkrJr5jeIX9QM42d2p88YBZcxwTdx2H/m0sT26M48g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QAJ+o+Oq+h3S+HVI6cs3fMIs3R8JPPbhNzXgdn3uBaUZwjWg6of4ZmBR5zdyVPpyp K62C43kK7aQq+K3FkWzsEY5sNB2zvPAK0WucA+VjYapqk57gwXbYCr0JCcDZ1nRC0W 3FUALxGhZnmnqGGbiGEzP4Lblpm06raxb0FjDdQYax0sfUkyOKclZ45NuW+gSYGBuc cYjHYtNIUW8VMKsqShTxH3STSNB7WningNJmuNSre67+fEAowNwoVKbYWAMoj9RDgT xWL5jnZ1ZQe1zW42EovzBLKNMXXRQ+NnZtt+98NooFFYfd0UYerY5YjhKW2QmKpBre AulJEVNqI+Jew== From: Vinod Koul To: Bjorn Andersson , Kishon Vijay Abraham I Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Andy Gross , Rob Herring , Wesley Cheng , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] dt-bindings: phy: qcom,qmp: Add SM8450 USB3 PHY Date: Mon, 13 Dec 2021 18:44:49 +0530 Message-Id: <20211213131450.535775-2-vkoul@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211213131450.535775-1-vkoul@kernel.org> References: <20211213131450.535775-1-vkoul@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211213_051507_818064_5481F7B9 X-CRM114-Status: UNSURE ( 8.50 ) 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 compatible string for USB QMP phy in Qualcomm SM8450 SoC Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson Acked-by: Rob Herring --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml index c59bbca9a900..d625a6fe0205 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml @@ -51,6 +51,7 @@ properties: - qcom,sm8350-qmp-usb3-phy - qcom,sm8350-qmp-usb3-uni-phy - qcom,sm8450-qmp-ufs-phy + - qcom,sm8450-qmp-usb3-phy - qcom,sdx55-qmp-pcie-phy - qcom,sdx55-qmp-usb3-uni-phy From patchwork Mon Dec 13 13:14:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 12673861 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 024D5C433FE for ; Mon, 13 Dec 2021 13:15:17 +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=mSprDFp1OpndESyfLAxtXujIFwvKX9ms7OK8beIx7X0=; b=bAqIYfzC8ndBMI jqeseVZ7/WzOUPvzYxgi/ZFoRB0kGfbkIusJyfJCjlGPGJqcXKHCIqHokrhY0Ih9JOVcPx2GEVB2B V5McNqnAMy8T/joH8+1pzxBOUt+8bjIBFErEJKO1SXvDO7/RCKJ4rgouygTeqUcqpJ5HTo46uVT1Y uoQhzV9psQxGNxChQ9guG9GQW3/1hAzHwa+UtjOfg/4gAgta1QAZ0s7DUD/2rNXM9QMjtJfgFCNhA UdvJIixGtPPA/0KLHWw1ODYPcpwDYrnG+wR7ZxAcGqsm2enJw6hVmk3ygk0ydv0ce4wMQBKTcyw2s gGPcP5sA3CEJKesWuY8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwlAi-009diB-F0; Mon, 13 Dec 2021 13:15:16 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwlAf-009dhA-AA for linux-phy@lists.infradead.org; Mon, 13 Dec 2021 13:15:15 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 18433B80ED6; Mon, 13 Dec 2021 13:15:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B571C34601; Mon, 13 Dec 2021 13:15:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639401309; bh=cZk+G/uxRdIcbS2qNHDTMvTAAHkt6iWHVXw+x9mtf1M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pF+jHNSMao4zvFaYgX3+GJAXuQFv0OanSosnITkQs70StQQ+aYiheXr1f+slSMCl5 +gS3ZqJszfK2RRfkC7IBb8sZTA3hWUUigfwthydOEvqrKdUtnCZKGk/wYjr2B0nsw/ jrywZ+A7bQohMCabyvwxKtkvCYcfQcuM6rl+LoWl9NwVcmOmWaodL0tTSWbpeWMh2t 7OLk9NOt+pZPXeC0RE3Ix+JJ+KuS4HbCovcaJD84BRfPaSdH3jv6H1uYNfPOJMaHoK rDMTYs83dDuZGv+YTC77gJcb3efyhHpMSWnhLHe3xpcVwougEi7wVfZnhHLyFxEZyY H0ccv95hvjm2w== From: Vinod Koul To: Bjorn Andersson , Kishon Vijay Abraham I Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Andy Gross , Rob Herring , Wesley Cheng , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] phy: qcom-qmp: Add SM8450 USB QMP PHYs Date: Mon, 13 Dec 2021 18:44:50 +0530 Message-Id: <20211213131450.535775-3-vkoul@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211213131450.535775-1-vkoul@kernel.org> References: <20211213131450.535775-1-vkoul@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211213_051513_520936_E401B702 X-CRM114-Status: GOOD ( 12.18 ) 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 support for the USB DP & UNI PHYs found on SM8450. This is same as the phy version used on SM8350 and sequences turned out to be same, so use the same table from SM8350 for this as well. Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson --- drivers/phy/qualcomm/phy-qcom-qmp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index a959c97a699f..13a249ec8ab6 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp.c @@ -5777,6 +5777,9 @@ static const struct of_device_id qcom_qmp_phy_of_match_table[] = { }, { .compatible = "qcom,sm8450-qmp-ufs-phy", .data = &sm8450_ufsphy_cfg, + }, { + .compatible = "qcom,sm8450-qmp-usb3-phy", + .data = &sm8350_usb3phy_cfg, }, { .compatible = "qcom,qcm2290-qmp-usb3-phy", .data = &qcm2290_usb3phy_cfg,