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: 12673863 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 A39D2C433F5 for ; Mon, 13 Dec 2021 13:15:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233550AbhLMNPG (ORCPT ); Mon, 13 Dec 2021 08:15:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237283AbhLMNPG (ORCPT ); Mon, 13 Dec 2021 08:15:06 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C10A5C061574; Mon, 13 Dec 2021 05:15:05 -0800 (PST) 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 sin.source.kernel.org (Postfix) with ESMTPS id 1A8CFCE1021; Mon, 13 Dec 2021 13:15:04 +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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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: 12673865 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 31239C433EF for ; Mon, 13 Dec 2021 13:15:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237324AbhLMNPN (ORCPT ); Mon, 13 Dec 2021 08:15:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237283AbhLMNPJ (ORCPT ); Mon, 13 Dec 2021 08:15:09 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C918C061574; Mon, 13 Dec 2021 05:15:09 -0800 (PST) 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 sin.source.kernel.org (Postfix) with ESMTPS id C9792CE1021; Mon, 13 Dec 2021 13:15:07 +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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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: 12673867 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 87F15C433F5 for ; Mon, 13 Dec 2021 13:15:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237321AbhLMNPN (ORCPT ); Mon, 13 Dec 2021 08:15:13 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:60924 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233544AbhLMNPM (ORCPT ); Mon, 13 Dec 2021 08:15:12 -0500 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 04874B80ED7; Mon, 13 Dec 2021 13:15:11 +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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.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,