From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>,
Johan Hovold <johan@kernel.org>,
linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org,
devicetree@vger.kernel.org
Subject: [PATCH v3 00/18] phy: qcom-qmp-pcie: convert to newer style of bindings
Date: Sun, 20 Aug 2023 17:20:17 +0300 [thread overview]
Message-ID: <20230820142035.89903-1-dmitry.baryshkov@linaro.org> (raw)
Reviewing several patchsets for newer platforms made it clear that
having two styles of QMP PHY bindings causes confusion. Despite binding
documents having notes telling that old bindings should be used for
older platforms, it is too easy to attempt adding new platform with
older QMP PHY binding. Thus let's have just a single documented style of
bindings.
Proposed merge strategy: immutable branch with binding and PHY patches,
which can also be merged into Bjorn's dts-for-6.7
Changes since v2:
- Split away patches for sm8150 PHYs. Add missing driver bits to enable
PCIe PHY support on sm8150 (were submitted by Bhupesh in May 2022,
only DT bits were merged)
- Fixed v5.20 offsets merged earlier. Fixed merge conflict due to their
addition
- Fixed clocks / clock-names alignment in ipq8074.dtsi / sc7280.dtsi
(Konrad)
- Fixed PHY DT names and resource address for sc8180x (Konrad)
Changes since v1:
- Split large patchset into smaller parts
- Rebased on phy/next
Dmitry Baryshkov (18):
dt-bindings: phy: migrate QMP PCIe PHY bindings to
qcom,sc8280xp-qmp-pcie-phy.yaml
dt-bindings: phy: qcom,qmp-pcie: describe SM8150 PCIe PHYs
phy: qcom-qmp-pcie: drop ln_shrd from v5_20 config
phy: qcom-qmp-pcie: keep offset tables sorted
phy: qcom-qmp-pcie: simplify clock handling
phy: qcom-qmp-pcie: populate offsets configuration
phy: qcom-qmp-pcie: support SM8150 PCIe QMP PHYs
arm64: dts: qcom: ipq6018: switch PCIe QMP PHY to new style of
bindings
arm64: dts: qcom: ipq8074: switch PCIe QMP PHY to new style of
bindings
arm64: dts: qcom: msm8998: switch PCIe QMP PHY to new style of
bindings
arm64: dts: qcom: sc7280: switch PCIe QMP PHY to new style of bindings
arm64: dts: qcom: sc8180x: switch PCIe QMP PHY to new style of
bindings
arm64: dts: qcom: sdm845: switch PCIe QMP PHY to new style of bindings
arm64: dts: qcom: sm8150: add ref clock to PCIe PHYs
arm64: dts: qcom: sm8150: switch PCIe QMP PHY to new style of bindings
arm64: dts: qcom: sm8250: switch PCIe QMP PHY to new style of bindings
arm64: dts: qcom: sm8450: switch PCIe QMP PHY to new style of bindings
ARM: dts: qcom-sdx55: switch PCIe QMP PHY to new style of bindings
.../phy/qcom,ipq8074-qmp-pcie-phy.yaml | 278 +++---------------
.../phy/qcom,msm8998-qmp-pcie-phy.yaml | 97 ++++++
.../phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 36 ++-
arch/arm/boot/dts/qcom/qcom-sdx55.dtsi | 31 +-
arch/arm64/boot/dts/qcom/ipq6018.dtsi | 32 +-
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 67 ++---
arch/arm64/boot/dts/qcom/msm8998.dtsi | 30 +-
arch/arm64/boot/dts/qcom/sc7280.dtsi | 40 +--
arch/arm64/boot/dts/qcom/sc8180x.dtsi | 148 ++++------
arch/arm64/boot/dts/qcom/sdm845.dtsi | 71 ++---
arch/arm64/boot/dts/qcom/sm8150.dtsi | 70 ++---
arch/arm64/boot/dts/qcom/sm8250.dtsi | 112 +++----
arch/arm64/boot/dts/qcom/sm8450.dtsi | 82 +++---
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 177 ++++++-----
14 files changed, 537 insertions(+), 734 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/qcom,msm8998-qmp-pcie-phy.yaml
--
2.39.2
next reply other threads:[~2023-08-20 14:25 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-20 14:20 Dmitry Baryshkov [this message]
2023-08-20 14:20 ` [PATCH v3 01/18] dt-bindings: phy: migrate QMP PCIe PHY bindings to qcom,sc8280xp-qmp-pcie-phy.yaml Dmitry Baryshkov
2023-08-20 20:35 ` Krzysztof Kozlowski
2023-08-23 14:30 ` Rob Herring
2023-08-20 14:20 ` [PATCH v3 02/18] dt-bindings: phy: qcom,qmp-pcie: describe SM8150 PCIe PHYs Dmitry Baryshkov
2023-08-20 20:35 ` Krzysztof Kozlowski
2023-08-20 14:20 ` [PATCH v3 03/18] phy: qcom-qmp-pcie: drop ln_shrd from v5_20 config Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 04/18] phy: qcom-qmp-pcie: keep offset tables sorted Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 05/18] phy: qcom-qmp-pcie: simplify clock handling Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 06/18] phy: qcom-qmp-pcie: populate offsets configuration Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 07/18] phy: qcom-qmp-pcie: support SM8150 PCIe QMP PHYs Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 08/18] arm64: dts: qcom: ipq6018: switch PCIe QMP PHY to new style of bindings Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 09/18] arm64: dts: qcom: ipq8074: " Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 10/18] arm64: dts: qcom: msm8998: " Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 11/18] arm64: dts: qcom: sc7280: " Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 12/18] arm64: dts: qcom: sc8180x: " Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 13/18] arm64: dts: qcom: sdm845: " Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 14/18] arm64: dts: qcom: sm8150: add ref clock to PCIe PHYs Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 15/18] arm64: dts: qcom: sm8150: switch PCIe QMP PHY to new style of bindings Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 16/18] arm64: dts: qcom: sm8250: " Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 17/18] arm64: dts: qcom: sm8450: " Dmitry Baryshkov
2023-08-20 14:20 ` [PATCH v3 18/18] ARM: dts: qcom-sdx55: " Dmitry Baryshkov
2023-08-22 14:29 ` (subset) [PATCH v3 00/18] phy: qcom-qmp-pcie: convert to newer " Vinod Koul
2023-09-20 17:13 ` Bjorn Andersson
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=20230820142035.89903-1-dmitry.baryshkov@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=johan@kernel.org \
--cc=kishon@kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=p.zabel@pengutronix.de \
--cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).