lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fce9ee85-bd84-4e5f-a2ef-81095b071895@gmail.com>
Date: Thu, 15 Jan 2026 11:30:40 +0530
From: tessolveupstream@...il.com
To: Konrad Dybcio <konrad.dybcio@....qualcomm.com>, andersson@...nel.org,
 konradybcio@...nel.org
Cc: robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
 linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
 linux-kernel@...r.kernel.org,
 Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
Subject: Re: [PATCH v12 2/3] arm64: dts: qcom: talos/qcs615-ride: Fix
 inconsistent USB PHY node naming



On 14-01-2026 15:49, Konrad Dybcio wrote:
> On 1/14/26 11:00 AM, Sudarshan Shetty wrote:
>> The USB PHY nodes has inconsistent labels as 'usb_1_hspy'
>> and 'usb_hsphy_2' across talos.dtsi and qcs615-ride.dts.
>> This patch renames them to follow a consistent naming
>> scheme.
> 
> Sorry for only noticing this now, but usb_hsphy_x is wrong..
> 
> *every* other dtsi uses usb_x_hsphy, please flip it around
> 
> $ rg 'usb_1_hsphy' arch -l | wc -l
> 93
> 
> $ rg 'usb_hsphy_1' arch -l |  wc -l
> 0
> 

I've updated the patch to use usb_x_hsphy naming  
convention to match the rest of the devicetree files
as below:

diff --git a/arch/arm64/boot/dts/qcom/qcs615-ride.dts b/arch/arm64/boot/dts/qcom/qcs615-ride.dts
index 0ca6b50a6de1..a5f763cf1a55 100644
--- a/arch/arm64/boot/dts/qcom/qcs615-ride.dts
+++ b/arch/arm64/boot/dts/qcom/qcs615-ride.dts
@@ -609,7 +609,7 @@ bluetooth {
        };
 };

-&usb_hsphy_1 {
+&usb_1_hsphy {
        vdd-supply = <&vreg_l5a>;
        vdda-pll-supply = <&vreg_l12a>;
        vdda-phy-dpdm-supply = <&vreg_l13a>;
@@ -632,7 +632,7 @@ &usb_1_dwc3 {
        dr_mode = "peripheral";
 };

-&usb_hsphy_2 {
+&usb_2_hsphy {
        vdd-supply = <&vreg_l5a>;
        vdda-pll-supply = <&vreg_l12a>;
        vdda-phy-dpdm-supply = <&vreg_l13a>;
diff --git a/arch/arm64/boot/dts/qcom/talos-evk-som.dtsi b/arch/arm64/boot/dts/qcom/talos-evk-som.dtsi
index 95ed335bcb08..a236f8a65937 100644
--- a/arch/arm64/boot/dts/qcom/talos-evk-som.dtsi
+++ b/arch/arm64/boot/dts/qcom/talos-evk-som.dtsi
@@ -556,7 +556,7 @@ &usb_1_dwc3 {
        dr_mode = "host";
 };

-&usb_hsphy_1 {
+&usb_1_hsphy {
        vdd-supply = <&vreg_l5a>;
        vdda-pll-supply = <&vreg_l12a>;
        vdda-phy-dpdm-supply = <&vreg_l13a>;
@@ -572,7 +572,7 @@ &usb_2_dwc3 {
        dr_mode = "host";
 };

-&usb_hsphy_2 {
+&usb_2_hsphy {
        vdd-supply = <&vreg_l5a>;
        vdda-pll-supply = <&vreg_l12a>;
        vdda-phy-dpdm-supply = <&vreg_l13a>;
diff --git a/arch/arm64/boot/dts/qcom/talos.dtsi b/arch/arm64/boot/dts/qcom/talos.dtsi
index c7dc507a50b5..cb32bfe732fb 100644
--- a/arch/arm64/boot/dts/qcom/talos.dtsi
+++ b/arch/arm64/boot/dts/qcom/talos.dtsi
@@ -4304,7 +4304,7 @@ osm_l3: interconnect@...21000 {
                        #interconnect-cells = <1>;
                };

-               usb_hsphy_1: phy@...2000 {
+               usb_1_hsphy: phy@...2000 {
                        compatible = "qcom,qcs615-qusb2-phy";
                        reg = <0x0 0x88e2000 0x0 0x180>;

@@ -4319,7 +4319,7 @@ usb_hsphy_1: phy@...2000 {
                        status = "disabled";
                };

-               usb_hsphy_2: phy@...3000 {
+               usb_2_hsphy: phy@...3000 {
                        compatible = "qcom,qcs615-qusb2-phy";
                        reg = <0x0 0x088e3000 0x0 0x180>;

@@ -4412,7 +4412,7 @@ usb_1_dwc3: usb@...0000 {
                                iommus = <&apps_smmu 0x140 0x0>;
                                interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;

-                               phys = <&usb_hsphy_1>, <&usb_qmpphy>;
+                               phys = <&usb_1_hsphy>, <&usb_qmpphy>;
                                phy-names = "usb2-phy", "usb3-phy";

                                snps,dis-u1-entry-quirk;
@@ -4476,7 +4476,7 @@ usb_2_dwc3: usb@...0000 {
                                iommus = <&apps_smmu 0xe0 0x0>;
                                interrupts = <GIC_SPI 664 IRQ_TYPE_LEVEL_HIGH>;

-                               phys = <&usb_hsphy_2>;
+                               phys = <&usb_2_hsphy>;
                                phy-names = "usb2-phy";

                                snps,dis_u2_susphy_quirk;
(END)
                };

-               usb_hsphy_1: phy@...2000 {
+               usb_1_hsphy: phy@...2000 {
                        compatible = "qcom,qcs615-qusb2-phy";
                        reg = <0x0 0x88e2000 0x0 0x180>;

@@ -4319,7 +4319,7 @@ usb_hsphy_1: phy@...2000 {
                        status = "disabled";
                };

-               usb_hsphy_2: phy@...3000 {
+               usb_2_hsphy: phy@...3000 {
                        compatible = "qcom,qcs615-qusb2-phy";
                        reg = <0x0 0x088e3000 0x0 0x180>;

@@ -4412,7 +4412,7 @@ usb_1_dwc3: usb@...0000 {
                                iommus = <&apps_smmu 0x140 0x0>;
                                interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;

-                               phys = <&usb_hsphy_1>, <&usb_qmpphy>;
+                               phys = <&usb_1_hsphy>, <&usb_qmpphy>;
                                phy-names = "usb2-phy", "usb3-phy";

                                snps,dis-u1-entry-quirk;
@@ -4476,7 +4476,7 @@ usb_2_dwc3: usb@...0000 {
                                iommus = <&apps_smmu 0xe0 0x0>;
                                interrupts = <GIC_SPI 664 IRQ_TYPE_LEVEL_HIGH>;

-                               phys = <&usb_hsphy_2>;
+                               phys = <&usb_2_hsphy>;
                                phy-names = "usb2-phy";

                                snps,dis_u2_susphy_quirk;

Could you please confirm if this change aligns with your 
expectation.
> Konrad


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ