mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>,
	Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: glymur: Drop fake PCIe phy 3B
Date: Tue, 9 Jun 2026 15:41:50 +0200	[thread overview]
Message-ID: <569f9eed-09b4-462f-b90b-9d8cb7867148@kernel.org> (raw)
In-Reply-To: <658358a6-45bb-424e-8d8c-5b0b09cf479d@oss.qualcomm.com>

On 09/06/2026 15:33, Konrad Dybcio wrote:
> On 6/9/26 12:28 PM, Krzysztof Kozlowski wrote:
>> On 24/04/2026 13:09, Konrad Dybcio wrote:
>>> On 4/23/26 9:16 AM, Krzysztof Kozlowski wrote:
>>>> On 22/04/2026 22:08, Dmitry Baryshkov wrote:
>>>>> On Tue, Apr 21, 2026 at 08:41:14AM +0200, Krzysztof Kozlowski wrote:
>>>>>> On 20/04/2026 20:02, Dmitry Baryshkov wrote:
>>>>>>> On Mon, Apr 20, 2026 at 03:36:17PM +0200, Krzysztof Kozlowski wrote:
>>>>>>>> According to user manual / programming guide there is no separate PCIe
>>>>>>>> phy 3A and 3B, but one 8-lane QMP PCIe Gen5 PHY which consists of two
>>>>>>>> 4-lane blocks.  This is also visible in memory map, where the 0xf00000
>>>>>>>> is marked as the main block with additional sub blocks for each 4-lane
>>>>>>>> phys.
>>>>>>>>
>>>>>>>> Describing the sub phys without the rest is not correct from hardware
>>>>>>>> description, even if it works.
>>>>>>>
>>>>>>> Is this the case for the other bifurcated PHYs?
>>>>>>>
>>>>>>
>>>>>> There's more? Oh damn...
>>>>>
>>>>> In the previous generations. I think Hamoa had one.
>>>
>>> Any PHY with a name ending in -A or -B. That means:
>>>
>>> $ rg 'PCIE_.[AB]_' drivers/clk/qcom/ -l
>>> drivers/clk/qcom/gcc-x1e80100.c
>>> drivers/clk/qcom/gcc-glymur.c
>>> drivers/clk/qcom/gcc-sc8280xp.c
>>>
>>>
>>> And, quite predictably, some PHYs may not only bifurcate, but also
>>> tri- or quadfurcate (on Nord).
>>>
>>>> Ah, I did not check the others and there is little we can do there -
>>>> it's released DTS. This cannot be easily changed while keeping DTS
>>>> compatible with users, because probably two PHY nodes will be replaced
>>>> by one with different compatible.
>>>
>>> I think no one utilized the non-reference configuration of those PHYs
>>> in practice. Should a device like that come around though, we'll think
>>> about what to do then..
>>>
>>
>> What is the resolution of this discussion? I have impression that no one
>> objected to my patch, so maybe I should resend it?
> 
> Qiang is working on a proper solution to this. PCIe3B is nominally used
> for a secondary NVMe, so on the occasion that someone has one inserted,
> this isn't really a huge loss (the Yoga laptop and the CRD both have
> a primary NVMe on PCIe5 IIRC)

This still should be removed now from the DTS, before you get more users
of it and any change will have impact...

Best regards,
Krzysztof

  reply	other threads:[~2026-06-09 13:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-20 13:36 Krzysztof Kozlowski
2026-04-20 18:02 ` Dmitry Baryshkov
2026-04-21  6:41   ` Krzysztof Kozlowski
2026-04-22 20:08     ` Dmitry Baryshkov
2026-04-23  7:16       ` Krzysztof Kozlowski
2026-04-24 11:09         ` Konrad Dybcio
2026-06-09 10:28           ` Krzysztof Kozlowski
2026-06-09 13:33             ` Konrad Dybcio
2026-06-09 13:41               ` Krzysztof Kozlowski [this message]
2026-06-09 14:07                 ` Konrad Dybcio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=569f9eed-09b4-462f-b90b-9d8cb7867148@kernel.org \
    --to=krzk@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®