From: Hongliang Yang <hongliang.yang@cixtech.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Vinod Koul <vkoul@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Manivannan Sadhasivam <mani@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Gary Yang <Gary.Yang@cixtech.com>,
Fugang Duan <fugang.duan@cixtech.com>,
linux-phy@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, cix-kernel-upstream@cixtech.com,
Hongliang Yang <hongliang.yang@cixtech.com>
Subject: Re: [PATCH v8 1/2] dt-bindings: phy: Add CIX Sky1 USB3 PHY
Date: Mon, 30 Nov 2026 10:49:06 +0800 [thread overview]
Message-ID: <20261130024907.2984611-1-hongliang.yang@cixtech.com> (raw)
In-Reply-To: <49581990-7e96-4026-8215-5b3e3e608b60@kernel.org>
Hi Krzysztof,
You asked what the point of my last message was. It was not a good one: I
announced v9 while your question was still open, and the argument I
repeated was the clocks and resets, which you had already told me are not
the point. Sorry.
What is common between the two lanes, concretely:
0x0000 - 0x01ff bias, background/IB/TX/RX calibration, PLL0/PLL1,
signal detect calibration
0xc000 PLL and PIPE configuration
0x4000 - 0x41ff lane 0 TX/control PMA
0x8000 - 0x81ff lane 0 RX PMA
0x4200 - 0x43ff lane 1 TX/control PMA
0x8200 - 0x83ff lane 1 RX PMA
The PLLs and the calibration engines live in the common block and there is
one set of them: the driver programs one set of CMN_PLL* and CMN_*CAL
registers for the whole PHY, not one set per lane. The calibration is
started from the common block (CMN_SD_CAL_PLLCNT_START); the per-lane RX
windows only hold the timing values for it. The SoC exposes one APB clock,
one reference clock and one reset pair for the whole block, and the
initialization sequence the vendor supplies writes the common block and
both lane PMAs in one pass - it cannot be split so that one lane comes up
on its own.
So the per-lane windows are the analog slices of the two lanes, the TX and
RX PMA, which is why they have registers at all; they do not give a lane
its own PLL, calibration, clock, reset or power. Both lanes are either up
or down together, and there is one instance to power, reset and calibrate.
That is why the binding keeps one provider. If you would still want the
devicetree to show the two lanes separately, I will do it the way
phy-cadence-sierra does - parent node plus phy@0/phy@1 - but it would be
two handles to a block that cannot be brought up lane by lane. Tell me
which one you want and I will follow it; I will not send another version
until this is settled.
Thanks,
Hongliang
next prev parent reply other threads:[~2026-11-30 2:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-17 2:28 [PATCH v8 0/2] phy: Add CIX Sky1 USB3 PHY support Hongliang Yang
2026-11-17 2:28 ` [PATCH v8 1/2] dt-bindings: phy: Add CIX Sky1 USB3 PHY Hongliang Yang
2026-11-21 9:21 ` Krzysztof Kozlowski
2026-11-22 3:36 ` Hongliang Yang
2026-11-22 3:40 ` Hongliang Yang
2026-11-24 15:11 ` Krzysztof Kozlowski
2026-11-30 1:32 ` Hongliang Yang
2026-11-30 2:27 ` Krzysztof Kozlowski
2026-11-30 2:49 ` Hongliang Yang [this message]
2026-11-24 15:09 ` Krzysztof Kozlowski
2026-11-17 2:28 ` [PATCH v8 2/2] phy: cix: Add CIX Sky1 USB3 PHY driver Hongliang Yang
2026-11-27 15:22 ` Manivannan Sadhasivam
2026-11-30 1:31 ` Hongliang Yang
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=20261130024907.2984611-1-hongliang.yang@cixtech.com \
--to=hongliang.yang@cixtech.com \
--cc=Gary.Yang@cixtech.com \
--cc=cix-kernel-upstream@cixtech.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=fugang.duan@cixtech.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=mani@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=vkoul@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®