Skip to contentSkip to conversation

arm: dts: qcom: rename HDMI PHY nodes

PATCH Applied Dmitry Baryshkov 4 participants 8 messages Sep 24, 2022 – Nov 7, 2022

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

cover arm: dts: qcom: rename HDMI PHY nodes

Historically HDMI PHY device tree nodes used the hdmi-phy@ names. Replace them with generic phy@ names.

While there is no such requirement in the DT schema, it's worth doing that because:

1) The recent qcom DT files already use just phy@ for most of PHY nodes

2) The recommended list from devicetree specs mentions usb-phy/ethernet-phy, but not <anything>-phy, so I'd think that those two are mostly for backwards compatibility.

3) I liked the example of sc7280 which switched all MDSS PHYs to just phy@ (this includes DSI PHY, eDP PHY and, by extension, the HDMI PHY).

Dmitry Baryshkov (2):
ARM: dts: qcom-apq8064: change HDMI PHY node name to generic one
arm64: dts: qcom: msm8996: change HDMI PHY node name to generic one

 arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 2 +-
 arch/arm/boot/dts/qcom-apq8064.dtsi        | 2 +-
 arch/arm64/boot/dts/qcom/msm8996.dtsi      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.35.1
#1 lore raw

PATCH 1/2 ARM: dts: qcom-apq8064: change HDMI PHY node name to generic one

Change HDMI PHY node names from custom 'hdmi-phy' to the generic 'phy'.

---
 arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 2 +-
 arch/arm/boot/dts/qcom-apq8064.dtsi        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +1 -1
index 0322cb88d448..497c4012a65b 100644
@@ -361,7 +361,7 @@ endpoint {
 			};
 		};
 
-		hdmi-phy@4a00400 {
+		phy@4a00400 {
 			status = "okay";
 
 			core-vdda-supply = <&pm8921_hdmi_switch>;
arch/arm/boot/dts/qcom-apq8064.dtsi +1 -1
index 1b704c7ea890..58f239218639 100644
@@ -1453,7 +1453,7 @@ hdmi_out: endpoint {
 			};
 		};
 
-		hdmi_phy: hdmi-phy@4a00400 {
+		hdmi_phy: phy@4a00400 {
 			compatible = "qcom,hdmi-phy-8960";
 			reg = <0x4a00400 0x60>,
 			      <0x4a00500 0x100>;
Signature · 1 line
2.35.1
Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] ARM: dts: qcom-apq8064: change HDMI PHY node name to generic one

Quoted 4 lines · Dmitry Baryshkov

Change HDMI PHY node names from custom 'hdmi-phy' to the generic 'phy'.

---

Konrad

Quoted 30 lines
 arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 2 +-
 arch/arm/boot/dts/qcom-apq8064.dtsi        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +1 -1
index 0322cb88d448..497c4012a65b 100644
@@ -361,7 +361,7 @@ endpoint {
 			};
 		};
 
-		hdmi-phy@4a00400 {
+		phy@4a00400 {
 			status = "okay";
 
 			core-vdda-supply = <&pm8921_hdmi_switch>;
arch/arm/boot/dts/qcom-apq8064.dtsi +1 -1
index 1b704c7ea890..58f239218639 100644
@@ -1453,7 +1453,7 @@ hdmi_out: endpoint {
 			};
 		};
 
-		hdmi_phy: hdmi-phy@4a00400 {
+		hdmi_phy: phy@4a00400 {
 			compatible = "qcom,hdmi-phy-8960";
 			reg = <0x4a00400 0x60>,
 			      <0x4a00500 0x100>;
#4 lore raw

PATCH 2/2 arm64: dts: qcom: msm8996: change HDMI PHY node name to generic one

In reply to Dmitry Baryshkov

Change HDMI PHY node name from custom 'hdmi-phy' to the generic 'phy'.

---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/msm8996.dtsi +1 -1
index a7d0e5d68141..ed9863854904 100644
@@ -1144,7 +1144,7 @@ hdmi_in: endpoint {
 				};
 			};
 
-			hdmi_phy: hdmi-phy@9a0600 {
+			hdmi_phy: phy@9a0600 {
 				#phy-cells = <0>;
 				compatible = "qcom,hdmi-phy-8996";
 				reg = <0x009a0600 0x1c4>,
Signature · 1 line
2.35.1
Reviewed-by on v1 2/2
#5 lore raw

Re: [PATCH 2/2] arm64: dts: qcom: msm8996: change HDMI PHY node name to generic one

Quoted 4 lines · Dmitry Baryshkov

Change HDMI PHY node name from custom 'hdmi-phy' to the generic 'phy'.

---

Konrad

Quoted 16 lines
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/msm8996.dtsi +1 -1
index a7d0e5d68141..ed9863854904 100644
@@ -1144,7 +1144,7 @@ hdmi_in: endpoint {
 				};
 			};
 
-			hdmi_phy: hdmi-phy@9a0600 {
+			hdmi_phy: phy@9a0600 {
 				#phy-cells = <0>;
 				compatible = "qcom,hdmi-phy-8996";
 				reg = <0x009a0600 0x1c4>,
maintainer Applied
#7 lore raw

Re: (subset) [PATCH 0/2] arm: dts: qcom: rename HDMI PHY nodes

In reply to Dmitry Baryshkov
Quoted 9 lines · Dmitry Baryshkov

Historically HDMI PHY device tree nodes used the hdmi-phy@ names. Replace them with generic phy@ names.

While there is no such requirement in the DT schema, it's worth doing that because:

1) The recent qcom DT files already use just phy@ for most of PHY nodes

[...]

Applied, thanks!

[1/2] ARM: dts: qcom-apq8064: change HDMI PHY node name to generic one

      commit: 5743efe0e73e4e1c8d042e982e31bb8145e35baf

Best regards,

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