Skip to contentSkip to conversation

arm64: dts: qcom: ipq8074: fix PCIe PHY serdes size

PATCH Applied Johan Hovold 2 participants 3 messages Sep 15, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm64: dts: qcom: ipq8074: fix PCIe PHY serdes size

The size of the PCIe PHY serdes register region is 0x1c4 and the corresponding 'reg' property should specifically not include the adjacent regions that are defined in the child node (e.g. tx and rx).

Fixes 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes")
---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +2 -2
index d53675fc1595..b9bf43215ada 100644
@@ -199,7 +199,7 @@ qusb_phy_0: phy@79000 {
 
 		pcie_qmp0: phy@86000 {
 			compatible = "qcom,ipq8074-qmp-pcie-phy";
-			reg = <0x00086000 0x1000>;
+			reg = <0x00086000 0x1c4>;
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges;
@@ -227,7 +227,7 @@ pcie_phy0: phy@86200 {
 
 		pcie_qmp1: phy@8e000 {
 			compatible = "qcom,ipq8074-qmp-pcie-phy";
-			reg = <0x0008e000 0x1000>;
+			reg = <0x0008e000 0x1c4>;
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges;
Signature · 1 line
2.35.1
#1 lore raw

PATCH 2/2 arm64: dts: qcom: sm8540: fix UFS PHY serdes size

The size of the UFS PHY serdes register region is 0x1c4 and the corresponding 'reg' property should specifically not include the adjacent regions that are defined in the child node (e.g. tx and rx).

Fixes 07fa917a335e ("arm64: dts: qcom: sm8450: add ufs nodes")
---
 arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sm8450.dtsi +1 -1
index d0ebf61a0074..8dde41ed6491 100644
@@ -3147,7 +3147,7 @@ ufs_mem_hc: ufshc@1d84000 {
 
 		ufs_mem_phy: phy@1d87000 {
 			compatible = "qcom,sm8450-qmp-ufs-phy";
-			reg = <0 0x01d87000 0 0xe10>;
+			reg = <0 0x01d87000 0 0x1c4>;
 			#address-cells = <2>;
 			#size-cells = <2>;
 			ranges;
Signature · 1 line
2.35.1
maintainer Applied
#2 lore raw

Re: (subset) [PATCH 1/2] arm64: dts: qcom: ipq8074: fix PCIe PHY serdes size

In reply to Johan Hovold
Quoted 5 lines · Johan Hovold

The size of the PCIe PHY serdes register region is 0x1c4 and the corresponding 'reg' property should specifically not include the adjacent regions that are defined in the child node (e.g. tx and rx).

Applied, thanks!

[1/2] arm64: dts: qcom: ipq8074: fix PCIe PHY serdes size

      commit: ed22cc93abae68f9d3fc4957c20a1d902cf28882
[2/2] arm64: dts: qcom: sm8540: fix UFS PHY serdes size
      commit: 677920072e9d757ae158d66b8fdb695992bb3f1a

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>