Re: [PATCH 3/6] phy: qcom: qmp-pcie: Add X1P42100 Gen4x4 PHY
From: Dmitry Baryshkov <hidden>
Date: 2025-01-27 14:24:51
Also in:
linux-arm-msm, linux-devicetree, lkml
On Mon, Jan 27, 2025 at 11:04:12AM +0530, Manivannan Sadhasivam wrote:
On Sun, Jan 26, 2025 at 11:43:38PM +0200, Dmitry Baryshkov wrote:quoted
On Sun, 26 Jan 2025 at 18:32, Manivannan Sadhasivam [off-list ref] wrote:quoted
On Sun, Jan 26, 2025 at 01:39:05PM +0200, Dmitry Baryshkov wrote:quoted
On Sun, Jan 26, 2025 at 12:59:52PM +0530, Manivannan Sadhasivam wrote:quoted
On January 25, 2025 11:00:23 PM GMT+05:30, Dmitry Baryshkov [off-list ref] wrote:quoted
On Sat, Jan 25, 2025 at 04:31:19AM +0100, Konrad Dybcio wrote:quoted
From: Konrad Dybcio <redacted> Add a new, common configuration for Gen4x4 V6 PHYs without an init sequence. The bootloader configures the hardware once and the OS retains that configuration by using the NOCSR reset line (which doesn't drop register state on assert) in place of the "full reset" one.I know your opinion, but my 2c would still be for not depending on the bootloader. I think that was the rule for ages for many possible reasons.But if Linux or other OS can trust the bootloader, then it makes perfect sense to rely on them. Obviously, the question here is that on which platforms this level of trust should be established. And the answer I got was starting from the compute platforms (atleast X1E).Is there any way how those values can be lost that we still might want to support ? The GDSC going to the OFF state? Some deep sleep state or a power collapse? Actual suspend to RAM (instead of current S2Idle)?As per Konrad's reply to my identical question, PHY register state is supposed to be maintained by MX domain even during CX PC. This seem to be case on X1E based platforms (compute).Is MX on during S2RAM?Qcom says that their current s2idle implementation is equal to S2RAM (when CX PC is achieved). In that sense, yes, MX is ON during S2RAM. Do note that, on majority of the platforms, MX is the AON (Always ON) domain.
Acked-by: Dmitry Baryshkov <redacted> -- With best wishes Dmitry -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy