From patchwork Mon Sep 16 08:23:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13805093 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 A2210C3ABCE for ; Mon, 16 Sep 2024 08:24:38 +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=fgIHn8VQXTUNgY0arLLEUUCHKilaPBwRwSo0YIC7CpM=; b=mBeGhF5UGnyKww Cx/9RrViyDZX7I/OYkHH/uOo3u+HuDznoOFOVn/PtSZ1dETSL6Dyv0ZkzFQQl/52n4CLocu8vzKZ4 BPnCOI/0uv+MRrN05V/72574GsQ64xIEdqu98h/8RmZayib8YYPYnVg44Um+zfLQZvIgE0ARAP147 fVHqrjHMhUh0azAGKRJY8whIi/aleNwfPu1C11DBHOvtogVw2SzUeh0RU3huBFITgYQpY5B4cqztJ 0gYcBWvEBaSrS/vEqxgDAxp/sR1c7rSs1mhSxQoc4DKOhZ1jOPzVGw0xaiQ7GVAlFn7IOEhxX5pBP 7EN5IQuhZLx/cabNzE2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sq72E-00000003Q4S-14Nu; Mon, 16 Sep 2024 08:24:38 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sq729-00000003Q2N-42BF for linux-phy@lists.infradead.org; Mon, 16 Sep 2024 08:24:36 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id D71925C59A7; Mon, 16 Sep 2024 08:24:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA184C4CECE; Mon, 16 Sep 2024 08:24:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726475071; bh=CiFV/yKmkzt1bJ88LxVcPJA+vuPaG33Cxvu/STK3m5Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fLteK1WYiEiIJlmrqJwhR4ItTQqr2k7pNG+DVmydUbm/Mlie5h00Yj5f06DNkLQe/ 71WlUBDRGSmGgO260iy6PryHaYG117qByw7RF4lPigqfaPuZe5LwCeeI0YfkVhvfVq UxKW/Y4siJq0RTMW1mBR+QDYNecq+bisOJTapT9+btDbr6ZCohNVubWnnDZP75mc+z xo/ktFqeeq9NtX5aZhRySE0VE5uENvuHQO2vbvVzBio5O404e6l0OgXO3CetN7tyB4 XYf/n2x0mxEB+jCJeNjqD83bFxgXLyLJ/jLactIds/BdBz/5AXxlugFLZoI3JZBPog LNdoiBEpY7sXQ== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sq72P-000000007hG-2FlS; Mon, 16 Sep 2024 10:24:49 +0200 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio , Vinod Koul Cc: Kishon Vijay Abraham I , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Rajendra Nayak , Sibi Sankar , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 1/3] dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: add missing x1e80100 pipediv2 clocks Date: Mon, 16 Sep 2024 10:23:05 +0200 Message-ID: <20240916082307.29393-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240916082307.29393-1-johan+linaro@kernel.org> References: <20240916082307.29393-1-johan+linaro@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240916_012434_070297_406484CF X-CRM114-Status: UNSURE ( 9.12 ) 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 The x1e80100 QMP PCIe PHYs all have a pipediv2 clock that needs to be described. Fixes: e94b29f2bd73 ("dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Document the X1E80100 QMP PCIe PHYs") Cc: Abel Vesa Signed-off-by: Johan Hovold Acked-by: Rob Herring (Arm) --- .../devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml index dcf4fa55fbba..447b379aa83d 100644 --- a/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml @@ -154,8 +154,6 @@ allOf: - qcom,sm8550-qmp-gen4x2-pcie-phy - qcom,sm8650-qmp-gen3x2-pcie-phy - qcom,sm8650-qmp-gen4x2-pcie-phy - - qcom,x1e80100-qmp-gen3x2-pcie-phy - - qcom,x1e80100-qmp-gen4x2-pcie-phy then: properties: clocks: @@ -171,6 +169,8 @@ allOf: - qcom,sc8280xp-qmp-gen3x1-pcie-phy - qcom,sc8280xp-qmp-gen3x2-pcie-phy - qcom,sc8280xp-qmp-gen3x4-pcie-phy + - qcom,x1e80100-qmp-gen3x2-pcie-phy + - qcom,x1e80100-qmp-gen4x2-pcie-phy - qcom,x1e80100-qmp-gen4x4-pcie-phy then: properties: From patchwork Mon Sep 16 08:23:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13805091 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 B2026C3ABB2 for ; Mon, 16 Sep 2024 08:24:36 +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=/3TdX6TjfhcpQvqs7z8JmCYcpKUapRYBOQcPF9IjujA=; b=H8jPx7zjKoHaxg 2gO0RlXmea4oY5NfMOBz8POKuRJdOKLrzMP6hYPCGwpF9HsU9W8eJSP29gsRAIpSVAHjVIyci1rEg aXm8bvUiokkUPH/DJFSRal4L/AGsZqYXzLRxGJgpHo5ktiBxHVgr4SZ+gc+Aa/hWYXA9S+gXRzO94 1U1Jyrv5sQq7mViwP+Q1nT0KGegFnGJDzRsX0aUEuD+nU18Vtieq2G/da7eqSBGv3vQhuyCTVrWfC YWO9KFapjKfTYzEz9S+old1Uth9uPV27vF7/Qo7nT7W8uq45Y1pUllT9BSR6Hj1ovR+zZLbFE/Y3z tCmFjD/BJz8o3Gfs/YmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sq72C-00000003Q3O-1I4q; Mon, 16 Sep 2024 08:24:36 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sq729-00000003Q2L-2LXp for linux-phy@lists.infradead.org; Mon, 16 Sep 2024 08:24:34 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 41474A41A00; Mon, 16 Sep 2024 08:24:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AFC69C4CEC4; Mon, 16 Sep 2024 08:24:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726475071; bh=Wf9INyT23C7eoSKjjaTEvngtr5T3HeKJz+9JAevCrC8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OUgM59wJasBz3eLuDLU6O0zMzVv5u1WHPn39kX09el4fFG24DLDi+RqczjlRUYD5x LEKSF/VguDsYKBOc8eZBi0OlqJE7N1Ffp2Qh2Q7R0G8Oth6Gk+dAfj02vBVpBghYF9 lLDlr7nv5Zcj3imZjSI2fuTGjAq0pMwZUd5R20sDgWNoJO4eMwovoa6/5pZvoN1yck mIpJzESdvC/q3oL5RI0MU6LmTF09K8zDWxpcEWi6kAmahF6SA1qvb/3nNgYQ8qFY9l kgtqV1U9zAhOSAuNSBO6KBCR3GOhqxHdEHD+XIX6wOzMSulOyO4xyrarbckNG1x8f5 zQPdl5M8Mr4Ew== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sq72P-000000007hI-2aFR; Mon, 16 Sep 2024 10:24:49 +0200 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio , Vinod Koul Cc: Kishon Vijay Abraham I , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Rajendra Nayak , Sibi Sankar , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: qcom: x1e80100: fix PCIe4 and PCIe6a PHY clocks Date: Mon, 16 Sep 2024 10:23:06 +0200 Message-ID: <20240916082307.29393-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240916082307.29393-1-johan+linaro@kernel.org> References: <20240916082307.29393-1-johan+linaro@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240916_012433_683176_DB929C4F X-CRM114-Status: UNSURE ( 8.29 ) 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 the missing clkref enable and pipediv2 clocks to the PCIe4 and PCIe6a PHYs. Fixes: 5eb83fc10289 ("arm64: dts: qcom: x1e80100: Add PCIe nodes") Cc: stable@vger.kernel.org # 6.9 Cc: Abel Vesa Signed-off-by: Johan Hovold Reviewed-by: Abel Vesa Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index 0cf4f3c12428..53e7d1e603cb 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -2980,14 +2980,16 @@ pcie6a_phy: phy@1bfc000 { clocks = <&gcc GCC_PCIE_6A_PHY_AUX_CLK>, <&gcc GCC_PCIE_6A_CFG_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>, + <&tcsr TCSR_PCIE_4L_CLKREF_EN>, <&gcc GCC_PCIE_6A_PHY_RCHNG_CLK>, - <&gcc GCC_PCIE_6A_PIPE_CLK>; + <&gcc GCC_PCIE_6A_PIPE_CLK>, + <&gcc GCC_PCIE_6A_PIPEDIV2_CLK>; clock-names = "aux", "cfg_ahb", "ref", "rchng", - "pipe"; + "pipe", + "pipediv2"; resets = <&gcc GCC_PCIE_6A_PHY_BCR>, <&gcc GCC_PCIE_6A_NOCSR_COM_PHY_BCR>; @@ -3232,14 +3234,16 @@ pcie4_phy: phy@1c0e000 { clocks = <&gcc GCC_PCIE_4_AUX_CLK>, <&gcc GCC_PCIE_4_CFG_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>, + <&tcsr TCSR_PCIE_2L_4_CLKREF_EN>, <&gcc GCC_PCIE_4_PHY_RCHNG_CLK>, - <&gcc GCC_PCIE_4_PIPE_CLK>; + <&gcc GCC_PCIE_4_PIPE_CLK>, + <&gcc GCC_PCIE_4_PIPEDIV2_CLK>; clock-names = "aux", "cfg_ahb", "ref", "rchng", - "pipe"; + "pipe", + "pipediv2"; resets = <&gcc GCC_PCIE_4_PHY_BCR>; reset-names = "phy"; From patchwork Mon Sep 16 08:23:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13805094 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 5DF2DC3ABD1 for ; Mon, 16 Sep 2024 08:24:38 +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=kHcIJ91pde14SrL2tDY+dgg575Ki/H2xgoJRa6BNQ8g=; b=CXKk5kryD9MIic WzRCd33YViu+LVpuaJ5+Kxz/MsrckyB/Ed+CcWkN71ZMpmk9jIA3eKFSOyr1xTReYt76S2Epm7STq y/A6viPV3uoUvpsVCwsJ9o4wLyw8CN9EWPsozm6eTqMLnFhKa24Kl5HSM2XyBU9OBBfpiyRp/RaYP WylboM9ADixopJih67T5cuzGgSpwbLE7K92W9iIGzVCho1Y3wAcsLtswFcWUwiZpDqlqqf7LkjM0n +ZYLDRU7UIEuIP0ujO54h2cbeWOG5dgi5OJyN5fNxEU4dVfNaTMlluAeNhHU7B2D1XKrYt7P9+LoN el2rU7wr4kKyVWP+3ZFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sq72D-00000003Q4C-43l8; Mon, 16 Sep 2024 08:24:37 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sq729-00000003Q2M-3F4T for linux-phy@lists.infradead.org; Mon, 16 Sep 2024 08:24:36 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id C70F65C592A; Mon, 16 Sep 2024 08:24:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B81ABC4CECD; Mon, 16 Sep 2024 08:24:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726475071; bh=qNC9nohuFQyf8/jZzl+dtiD1n7yHdvsfgeZDKj6e9gM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qse42nONZfRJKQPEiY3O+iQjcHQeFQL/4tZt8OhrHf7N7BuraOkon2mSXwWf5U/1W BIxtV7X+3fMj1ZfmWxNKzeHdQayvv/sPWSE/UGKfzSk0bfr8LCS5DG0H3aYNqK/F7b c2XmnPBVjFnS6HF6fkupoDb378vsmm5vtiV4W9rsz6qfglq+bYyGRYnq2Hz2sbILfM bgBq1UEjLAEFCFel0Tgs46pnUQ1JdW+N51wLa1hxGfjZ125RDQC6UTiCoCCwN51Jzw FSHozKhKpr7O/Yh7ofoXmdNkDnr8uVEwaBYiTKn5q9+uOEoA3rWSyLqTiIYnuP46z6 hq66d93Ze6XlA== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sq72P-000000007hK-30Eh; Mon, 16 Sep 2024 10:24:49 +0200 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio , Vinod Koul Cc: Kishon Vijay Abraham I , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Rajendra Nayak , Sibi Sankar , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 3/3] arm64: dts: qcom: x1e80100: fix PCIe5 PHY clocks Date: Mon, 16 Sep 2024 10:23:07 +0200 Message-ID: <20240916082307.29393-4-johan+linaro@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240916082307.29393-1-johan+linaro@kernel.org> References: <20240916082307.29393-1-johan+linaro@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240916_012433_899381_AC22F790 X-CRM114-Status: UNSURE ( 8.56 ) 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 the missing clkref enable and pipediv2 clocks to the PCIe5 PHY. Fixes: 62ab23e15508 ("arm64: dts: qcom: x1e80100: add PCIe5 nodes") Signed-off-by: Johan Hovold Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index 53e7d1e603cb..d1bb14a375c3 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -3104,14 +3104,16 @@ pcie5_phy: phy@1c06000 { clocks = <&gcc GCC_PCIE_5_AUX_CLK>, <&gcc GCC_PCIE_5_CFG_AHB_CLK>, - <&rpmhcc RPMH_CXO_CLK>, + <&tcsr TCSR_PCIE_2L_5_CLKREF_EN>, <&gcc GCC_PCIE_5_PHY_RCHNG_CLK>, - <&gcc GCC_PCIE_5_PIPE_CLK>; + <&gcc GCC_PCIE_5_PIPE_CLK>, + <&gcc GCC_PCIE_5_PIPEDIV2_CLK>; clock-names = "aux", "cfg_ahb", "ref", "rchng", - "pipe"; + "pipe", + "pipediv2"; resets = <&gcc GCC_PCIE_5_PHY_BCR>; reset-names = "phy";