From nobody Fri Nov 29 18:31:40 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C8EF522A; Mon, 16 Sep 2024 08:24:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726475072; cv=none; b=OZSRvAvgB20+U/1YcBPoGtpiWtK0oqYs/z3ngY/ti8FL+Eh2Tz4sxWACe1HRv7vrpEFHVNAcAPiNyEcCMnqzkR2ol20b7KUvxjG1E4RJWZnws3iFNvUqR0XUZ5nyw11XketMHt+dxkQaaXYXlyN0gwwQFD/xU46PdAWMTpt6KZw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726475072; c=relaxed/simple; bh=CiFV/yKmkzt1bJ88LxVcPJA+vuPaG33Cxvu/STK3m5Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=au5v33uh8GhxNEjZ2b/0QFB6p35e9R5xWQs8I9gVPFprAn++Eg+vvozbgsVIz5qxmNLhLy53mcgK75fiW/A1EznJCbxgd+2KwRML9FWgUymsXyFJXj5A1yiflHwsTb0oPgOd0Qr48f3OBpWVmZim8qzubBFkC5b2e848eiEHMXA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fLteK1WY; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fLteK1WY" 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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: Documen= t 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-p= hy.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: --=20 2.44.2 From nobody Fri Nov 29 18:31:40 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CC104E1CA; Mon, 16 Sep 2024 08:24:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726475072; cv=none; b=ddRFVPB3D416XqqyqEsY1F2UAvTWaxnehiKx4hHieBTuw6a1Yaejysa2GKC0B2baMHCspx5sLVDfwr6kxT16yUUY3p9AZsGtHkEleTgu9SXYHoC+0jEJiw55MlQnNoHbfeBwgb6uDu2eIOBoxbLM0rdXAdlD+KJoLJqy4MwnGHA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726475072; c=relaxed/simple; bh=Wf9INyT23C7eoSKjjaTEvngtr5T3HeKJz+9JAevCrC8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kWU6FrpOEXGNU3ZZYEPUhZ5PgHLxPFqWRuktdyT4L61rYnbaUEWuwNVXQVWL2y3e86h3PKxh88o559m8A3fGNKzmnzYkkttff5i7R35qjXA3CTLL6oJXcFQqPkhdLFvpJn2i36NlTOg8ARN7+CbGgpAT9ImX5wIC3f6Akj5O2b4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OUgM59wJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OUgM59wJ" 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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/q= com/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 { =20 clocks =3D <&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 =3D "aux", "cfg_ahb", "ref", "rchng", - "pipe"; + "pipe", + "pipediv2"; =20 resets =3D <&gcc GCC_PCIE_6A_PHY_BCR>, <&gcc GCC_PCIE_6A_NOCSR_COM_PHY_BCR>; @@ -3232,14 +3234,16 @@ pcie4_phy: phy@1c0e000 { =20 clocks =3D <&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 =3D "aux", "cfg_ahb", "ref", "rchng", - "pipe"; + "pipe", + "pipediv2"; =20 resets =3D <&gcc GCC_PCIE_4_PHY_BCR>; reset-names =3D "phy"; --=20 2.44.2 From nobody Fri Nov 29 18:31:40 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2CB8C171BB; Mon, 16 Sep 2024 08:24:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726475072; cv=none; b=mPHtsM46hw+NCqJZIBqptn2+QwfeOeQrj9XD60//E0c/kStNOGe2am4GwjDTz3ZcNcq4vDJ28VJiQuy1mmaKrda2WZoRokyfLvrrjwvW4hQBOefUw5LznkNt9sYNLpOxeWFmxCKX1RyfUONAq5s7r4CsmJpbhHnlpukor29CKLQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726475072; c=relaxed/simple; bh=qNC9nohuFQyf8/jZzl+dtiD1n7yHdvsfgeZDKj6e9gM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qUJv+zpt9pBwnbM0Y1jzfurDn3qJw9tzfcn134b6D7zLKvRUc0zKo3C9Adm0dmthGO0GpoEBTLYzq/Co1vU59mOZPTlTRyH6GChoQrUYmAXSaTW1Gmv1gk9CPVuWEjPNX3Lnhj/IoNyN5aqO47AXsGwvEaJCGYMgcPcvzRFZ5IA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qse42nON; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qse42nON" 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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/q= com/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 { =20 clocks =3D <&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 =3D "aux", "cfg_ahb", "ref", "rchng", - "pipe"; + "pipe", + "pipediv2"; =20 resets =3D <&gcc GCC_PCIE_5_PHY_BCR>; reset-names =3D "phy"; --=20 2.44.2