devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Enable IPQ5018 USB2 support
@ 2023-08-25  9:35 Nitheesh Sekar
  2023-08-25  9:35 ` [PATCH 1/5] dt-bindings: phy: qcom,m31: Add IPQ5018 compatible Nitheesh Sekar
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Nitheesh Sekar @ 2023-08-25  9:35 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, vkoul, kishon, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb
  Cc: Nitheesh Sekar

This patch series adds the relevant phy and controller
DT configurations for enabling USB2 host mode support
on IPQ5018.

Tested with a USB Mass storage device.

Nitheesh Sekar (5):
  dt-bindings: phy: qcom,m31: Add IPQ5018 compatible
  dt-bindings: usb: dwc3: Add IPQ5018 compatible
  phy: qcom-m31: Add compatible, phy init sequence for IPQ5018
  arm64: dts: qcom: ipq5018: Add USB related nodes
  arm64: dts: qcom: ipq5018: Enable USB

 .../bindings/phy/qcom,ipq5332-usb-hsphy.yaml  |  4 +-
 .../devicetree/bindings/usb/qcom,dwc3.yaml    |  3 +
 .../arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 12 ++++
 arch/arm64/boot/dts/qcom/ipq5018.dtsi         | 54 +++++++++++++++++
 drivers/phy/qualcomm/phy-qcom-m31.c           | 60 +++++++++++++++++++
 5 files changed, 132 insertions(+), 1 deletion(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [PATCH 1/5] dt-bindings: phy: qcom,m31: Add IPQ5018 compatible
  2023-08-25  9:35 [PATCH 0/5] Enable IPQ5018 USB2 support Nitheesh Sekar
@ 2023-08-25  9:35 ` Nitheesh Sekar
  2023-08-25 10:36   ` Krzysztof Kozlowski
  2023-08-25  9:35 ` [PATCH 2/5] dt-bindings: usb: dwc3: " Nitheesh Sekar
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 19+ messages in thread
From: Nitheesh Sekar @ 2023-08-25  9:35 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, vkoul, kishon, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb
  Cc: Nitheesh Sekar

IPQ5332 qcom,m31 phy driver can support IPQ5018.

Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
---
 .../devicetree/bindings/phy/qcom,ipq5332-usb-hsphy.yaml       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-hsphy.yaml b/Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-hsphy.yaml
index 2671a048c926..e77576d06c0e 100644
--- a/Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-hsphy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,ipq5332-usb-hsphy.yaml
@@ -17,7 +17,9 @@ description:
 properties:
   compatible:
     items:
-      - const: qcom,ipq5332-usb-hsphy
+      - enum:
+          - qcom,ipq5018-usb-hsphy
+          - qcom,ipq5332-usb-hsphy
 
   "#phy-cells":
     const: 0
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 2/5] dt-bindings: usb: dwc3: Add IPQ5018 compatible
  2023-08-25  9:35 [PATCH 0/5] Enable IPQ5018 USB2 support Nitheesh Sekar
  2023-08-25  9:35 ` [PATCH 1/5] dt-bindings: phy: qcom,m31: Add IPQ5018 compatible Nitheesh Sekar
@ 2023-08-25  9:35 ` Nitheesh Sekar
  2023-08-25 10:37   ` Krzysztof Kozlowski
  2023-08-25  9:35 ` [PATCH 3/5] phy: qcom-m31: Add compatible, phy init sequence for IPQ5018 Nitheesh Sekar
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 19+ messages in thread
From: Nitheesh Sekar @ 2023-08-25  9:35 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, vkoul, kishon, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb
  Cc: Nitheesh Sekar

Document the IPQ5018 dwc3 compatible.

Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
---
 Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
index 67591057f234..1ad62e55dfe2 100644
--- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml
@@ -14,6 +14,7 @@ properties:
     items:
       - enum:
           - qcom,ipq4019-dwc3
+          - qcom,ipq5018-dwc3
           - qcom,ipq5332-dwc3
           - qcom,ipq6018-dwc3
           - qcom,ipq8064-dwc3
@@ -238,6 +239,7 @@ allOf:
         compatible:
           contains:
             enum:
+              - qcom,ipq5018-dwc3
               - qcom,ipq5332-dwc3
               - qcom,msm8994-dwc3
               - qcom,qcs404-dwc3
@@ -411,6 +413,7 @@ allOf:
         compatible:
           contains:
             enum:
+              - qcom,ipq5018-dwc3
               - qcom,ipq5332-dwc3
               - qcom,sdm660-dwc3
     then:
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 3/5] phy: qcom-m31: Add compatible, phy init sequence for IPQ5018
  2023-08-25  9:35 [PATCH 0/5] Enable IPQ5018 USB2 support Nitheesh Sekar
  2023-08-25  9:35 ` [PATCH 1/5] dt-bindings: phy: qcom,m31: Add IPQ5018 compatible Nitheesh Sekar
  2023-08-25  9:35 ` [PATCH 2/5] dt-bindings: usb: dwc3: " Nitheesh Sekar
@ 2023-08-25  9:35 ` Nitheesh Sekar
  2023-08-25  9:35 ` [PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes Nitheesh Sekar
  2023-08-25  9:35 ` [PATCH 5/5] arm64: dts: qcom: ipq5018: Enable USB Nitheesh Sekar
  4 siblings, 0 replies; 19+ messages in thread
From: Nitheesh Sekar @ 2023-08-25  9:35 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, vkoul, kishon, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb
  Cc: Nitheesh Sekar

This patch adds the phy init sequence for IPQ5018 chipset
and the compatible string needed.

Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
---
 drivers/phy/qualcomm/phy-qcom-m31.c | 60 +++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/drivers/phy/qualcomm/phy-qcom-m31.c b/drivers/phy/qualcomm/phy-qcom-m31.c
index ed08072ca032..81b72ebde305 100644
--- a/drivers/phy/qualcomm/phy-qcom-m31.c
+++ b/drivers/phy/qualcomm/phy-qcom-m31.c
@@ -82,6 +82,59 @@ struct m31_priv_data {
 	unsigned int			nregs;
 };
 
+struct m31_phy_regs m31_ipq5018_regs[] = {
+	{
+		USB_PHY_CFG0,
+		UTMI_PHY_OVERRIDE_EN,
+		0
+	},
+	{
+		USB_PHY_UTMI_CTRL5,
+		POR_EN,
+		15
+	},
+	{
+		USB_PHY_FSEL_SEL,
+		FREQ_SEL,
+		0
+	},
+	{
+		USB_PHY_HS_PHY_CTRL_COMMON0,
+		COMMONONN | FSEL | RETENABLEN,
+		0
+	},
+	{
+		USB_PHY_REFCLK_CTRL,
+		CLKCORE,
+		0
+	},
+	{
+		USB_PHY_UTMI_CTRL5,
+		POR_EN,
+		0
+	},
+	{
+		USB_PHY_HS_PHY_CTRL2,
+		USB2_SUSPEND_N_SEL | USB2_SUSPEND_N | USB2_UTMI_CLK_EN,
+		0
+	},
+	{
+		USB_PHY_UTMI_CTRL5,
+		0x0,
+		0
+	},
+	{
+		USB_PHY_HS_PHY_CTRL2,
+		USB2_SUSPEND_N | USB2_UTMI_CLK_EN,
+		0
+	},
+	{
+		USB_PHY_CFG0,
+		0x0,
+		0
+	},
+};
+
 struct m31_phy_regs m31_ipq5332_regs[] = {
 	{
 		USB_PHY_CFG0,
@@ -268,6 +321,12 @@ static int m31usb_phy_probe(struct platform_device *pdev)
 	return PTR_ERR_OR_ZERO(phy_provider);
 }
 
+static const struct m31_priv_data m31_ipq5018_data = {
+	.ulpi_mode = false,
+	.regs = m31_ipq5018_regs,
+	.nregs = ARRAY_SIZE(m31_ipq5018_regs),
+};
+
 static const struct m31_priv_data m31_ipq5332_data = {
 	.ulpi_mode = false,
 	.regs = m31_ipq5332_regs,
@@ -275,6 +334,7 @@ static const struct m31_priv_data m31_ipq5332_data = {
 };
 
 static const struct of_device_id m31usb_phy_id_table[] = {
+	{ .compatible = "qcom,ipq5018-usb-hsphy", .data = &m31_ipq5018_data },
 	{ .compatible = "qcom,ipq5332-usb-hsphy", .data = &m31_ipq5332_data },
 	{ },
 };
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes
  2023-08-25  9:35 [PATCH 0/5] Enable IPQ5018 USB2 support Nitheesh Sekar
                   ` (2 preceding siblings ...)
  2023-08-25  9:35 ` [PATCH 3/5] phy: qcom-m31: Add compatible, phy init sequence for IPQ5018 Nitheesh Sekar
@ 2023-08-25  9:35 ` Nitheesh Sekar
  2023-08-25 10:38   ` Krzysztof Kozlowski
                     ` (2 more replies)
  2023-08-25  9:35 ` [PATCH 5/5] arm64: dts: qcom: ipq5018: Enable USB Nitheesh Sekar
  4 siblings, 3 replies; 19+ messages in thread
From: Nitheesh Sekar @ 2023-08-25  9:35 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, vkoul, kishon, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb
  Cc: Nitheesh Sekar, Amandeep Singh

Add USB phy and controller nodes.

Co-developed-by: Amandeep Singh <quic_amansing@quicinc.com>
Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
---
 arch/arm64/boot/dts/qcom/ipq5018.dtsi | 54 +++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
index 9f13d2dcdfd5..ff477923a823 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
@@ -238,6 +238,60 @@
 				status = "disabled";
 			};
 		};
+
+		usbphy0: phy@5b000 {
+			compatible = "qcom,ipq5018-usb-hsphy";
+			reg = <0x0005b000 0x120>;
+
+			clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>;
+
+			resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
+
+			#phy-cells = <0>;
+
+			status = "disabled";
+		};
+
+		usb: usb2@8a00000 {
+			compatible = "qcom,ipq5018-dwc3", "qcom,dwc3";
+			reg = <0x08af8800 0x400>;
+
+			interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "hs_phy_irq";
+
+			clocks = <&gcc GCC_USB0_MASTER_CLK>,
+				 <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
+				 <&gcc GCC_USB0_SLEEP_CLK>,
+				 <&gcc GCC_USB0_MOCK_UTMI_CLK>;
+			clock-names = "core",
+				      "iface",
+				      "sleep",
+				      "mock_utmi";
+
+			resets = <&gcc GCC_USB0_BCR>;
+
+			qcom,select-utmi-as-pipe-clk;
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges;
+
+			status = "disabled";
+
+			usb2_0_dwc: usb@8a00000 {
+				compatible = "snps,dwc3";
+				reg = <0x08a00000 0xe000>;
+				clocks = <&gcc GCC_USB0_MOCK_UTMI_CLK>;
+				clock-names = "ref";
+				interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
+				phy-names = "usb2-phy";
+				phys = <&usbphy0>;
+				tx-fifo-resize;
+				snps,is-utmi-l1-suspend;
+				snps,hird-threshold = /bits/ 8 <0x0>;
+				snps,dis_u2_susphy_quirk;
+				snps,dis_u3_susphy_quirk;
+			};
+		};
 	};
 
 	timer {
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 5/5] arm64: dts: qcom: ipq5018: Enable USB
  2023-08-25  9:35 [PATCH 0/5] Enable IPQ5018 USB2 support Nitheesh Sekar
                   ` (3 preceding siblings ...)
  2023-08-25  9:35 ` [PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes Nitheesh Sekar
@ 2023-08-25  9:35 ` Nitheesh Sekar
  2023-08-25 10:38   ` Krzysztof Kozlowski
  2023-08-30 20:11   ` Dmitry Baryshkov
  4 siblings, 2 replies; 19+ messages in thread
From: Nitheesh Sekar @ 2023-08-25  9:35 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, vkoul, kishon, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb
  Cc: Nitheesh Sekar, Amandeep Singh

Enable USB2 in host mode.

Co-developed-by: Amandeep Singh <quic_amansing@quicinc.com>
Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
---
 arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
index e636a1cb9b77..cdf5e22ec54e 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
+++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
@@ -70,3 +70,15 @@
 &xo_board_clk {
 	clock-frequency = <24000000>;
 };
+
+&usbphy0 {
+	status = "okay";
+};
+
+&usb {
+	status = "okay";
+};
+
+&usb2_0_dwc {
+	dr_mode = "host";
+};
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/5] dt-bindings: phy: qcom,m31: Add IPQ5018 compatible
  2023-08-25  9:35 ` [PATCH 1/5] dt-bindings: phy: qcom,m31: Add IPQ5018 compatible Nitheesh Sekar
@ 2023-08-25 10:36   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 19+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-25 10:36 UTC (permalink / raw)
  To: Nitheesh Sekar, agross, andersson, konrad.dybcio, vkoul, kishon,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb

On 25/08/2023 11:35, Nitheesh Sekar wrote:
> IPQ5332 qcom,m31 phy driver can support IPQ5018.
> 
> Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
> ---

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 2/5] dt-bindings: usb: dwc3: Add IPQ5018 compatible
  2023-08-25  9:35 ` [PATCH 2/5] dt-bindings: usb: dwc3: " Nitheesh Sekar
@ 2023-08-25 10:37   ` Krzysztof Kozlowski
  2023-08-30  6:53     ` Nitheesh Sekar
  0 siblings, 1 reply; 19+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-25 10:37 UTC (permalink / raw)
  To: Nitheesh Sekar, agross, andersson, konrad.dybcio, vkoul, kishon,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb

On 25/08/2023 11:35, Nitheesh Sekar wrote:
> Document the IPQ5018 dwc3 compatible.
> 
> Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>

Split the series per subsystem. You are making applying process
unnecessarily more cumbersome for the maintainers and as result - delay
your patchset without any single reason.


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes
  2023-08-25  9:35 ` [PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes Nitheesh Sekar
@ 2023-08-25 10:38   ` Krzysztof Kozlowski
  2023-08-30  6:55     ` Nitheesh Sekar
  2023-08-25 10:39   ` Krzysztof Kozlowski
  2023-08-30 20:15   ` Dmitry Baryshkov
  2 siblings, 1 reply; 19+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-25 10:38 UTC (permalink / raw)
  To: Nitheesh Sekar, agross, andersson, konrad.dybcio, vkoul, kishon,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb
  Cc: Amandeep Singh

On 25/08/2023 11:35, Nitheesh Sekar wrote:
> Add USB phy and controller nodes.
> 
> Co-developed-by: Amandeep Singh <quic_amansing@quicinc.com>
> Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
> Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/ipq5018.dtsi | 54 +++++++++++++++++++++++++++
>  1 file changed, 54 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> index 9f13d2dcdfd5..ff477923a823 100644
> --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> @@ -238,6 +238,60 @@
>  				status = "disabled";
>  			};
>  		};
> +
> +		usbphy0: phy@5b000 {
> +			compatible = "qcom,ipq5018-usb-hsphy";
> +			reg = <0x0005b000 0x120>;
> +
> +			clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>;
> +
> +			resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
> +
> +			#phy-cells = <0>;
> +
> +			status = "disabled";
> +		};
> +
> +		usb: usb2@8a00000 {

usb@

Node names should be generic. See also an explanation and list of
examples (not exhaustive) in DT specification:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation

> +			compatible = "qcom,ipq5018-dwc3", "qcom,dwc3";
> +			reg = <0x08af8800 0x400>;
> +


Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 5/5] arm64: dts: qcom: ipq5018: Enable USB
  2023-08-25  9:35 ` [PATCH 5/5] arm64: dts: qcom: ipq5018: Enable USB Nitheesh Sekar
@ 2023-08-25 10:38   ` Krzysztof Kozlowski
  2023-08-30  6:56     ` Nitheesh Sekar
  2023-08-30 20:11   ` Dmitry Baryshkov
  1 sibling, 1 reply; 19+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-25 10:38 UTC (permalink / raw)
  To: Nitheesh Sekar, agross, andersson, konrad.dybcio, vkoul, kishon,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb
  Cc: Amandeep Singh

On 25/08/2023 11:35, Nitheesh Sekar wrote:
> Enable USB2 in host mode.
> 
> Co-developed-by: Amandeep Singh <quic_amansing@quicinc.com>
> Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
> Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
> index e636a1cb9b77..cdf5e22ec54e 100644
> --- a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
> +++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
> @@ -70,3 +70,15 @@
>  &xo_board_clk {
>  	clock-frequency = <24000000>;
>  };
> +
> +&usbphy0 {

u is before x

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes
  2023-08-25  9:35 ` [PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes Nitheesh Sekar
  2023-08-25 10:38   ` Krzysztof Kozlowski
@ 2023-08-25 10:39   ` Krzysztof Kozlowski
  2023-08-30  6:55     ` Nitheesh Sekar
  2023-08-30 20:15   ` Dmitry Baryshkov
  2 siblings, 1 reply; 19+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-25 10:39 UTC (permalink / raw)
  To: Nitheesh Sekar, agross, andersson, konrad.dybcio, vkoul, kishon,
	robh+dt, krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb
  Cc: Amandeep Singh

On 25/08/2023 11:35, Nitheesh Sekar wrote:
> Add USB phy and controller nodes.
> 
> Co-developed-by: Amandeep Singh <quic_amansing@quicinc.com>
> Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
> Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/ipq5018.dtsi | 54 +++++++++++++++++++++++++++
>  1 file changed, 54 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> index 9f13d2dcdfd5..ff477923a823 100644
> --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> @@ -238,6 +238,60 @@
>  				status = "disabled";
>  			};
>  		};
> +
> +		usbphy0: phy@5b000 {
> +			compatible = "qcom,ipq5018-usb-hsphy";
> +			reg = <0x0005b000 0x120>;
> +
> +			clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>;
> +
> +			resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
> +
> +			#phy-cells = <0>;
> +
> +			status = "disabled";
> +		};
> +
> +		usb: usb2@8a00000 {

Eee, where did you put these? Don't stuff things to the end of any list.
This applies to your entire code: Makefile, Kconfig, .c, .h, .dts, .dtsi
and other languages and projects as well.

Krzysztof


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 2/5] dt-bindings: usb: dwc3: Add IPQ5018 compatible
  2023-08-25 10:37   ` Krzysztof Kozlowski
@ 2023-08-30  6:53     ` Nitheesh Sekar
  0 siblings, 0 replies; 19+ messages in thread
From: Nitheesh Sekar @ 2023-08-30  6:53 UTC (permalink / raw)
  To: Krzysztof Kozlowski, agross, andersson, konrad.dybcio, vkoul,
	kishon, robh+dt, krzysztof.kozlowski+dt, conor+dt, gregkh,
	quic_srichara, quic_varada, quic_wcheng, linux-arm-msm, linux-phy,
	devicetree, linux-kernel, linux-usb


On 8/25/2023 4:07 PM, Krzysztof Kozlowski wrote:
> On 25/08/2023 11:35, Nitheesh Sekar wrote:
>> Document the IPQ5018 dwc3 compatible.
>>
>> Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
> Split the series per subsystem. You are making applying process
> unnecessarily more cumbersome for the maintainers and as result - delay
> your patchset without any single reason.
Sure. Will split this into a separate one.

Regards,
Nitheesh

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes
  2023-08-25 10:38   ` Krzysztof Kozlowski
@ 2023-08-30  6:55     ` Nitheesh Sekar
  0 siblings, 0 replies; 19+ messages in thread
From: Nitheesh Sekar @ 2023-08-30  6:55 UTC (permalink / raw)
  To: Krzysztof Kozlowski, agross, andersson, konrad.dybcio, vkoul,
	kishon, robh+dt, krzysztof.kozlowski+dt, conor+dt, gregkh,
	quic_srichara, quic_varada, quic_wcheng, linux-arm-msm, linux-phy,
	devicetree, linux-kernel, linux-usb
  Cc: Amandeep Singh


On 8/25/2023 4:08 PM, Krzysztof Kozlowski wrote:
> On 25/08/2023 11:35, Nitheesh Sekar wrote:
>> Add USB phy and controller nodes.
>>
>> Co-developed-by: Amandeep Singh <quic_amansing@quicinc.com>
>> Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
>> Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
>> ---
>>   arch/arm64/boot/dts/qcom/ipq5018.dtsi | 54 +++++++++++++++++++++++++++
>>   1 file changed, 54 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
>> index 9f13d2dcdfd5..ff477923a823 100644
>> --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
>> @@ -238,6 +238,60 @@
>>   				status = "disabled";
>>   			};
>>   		};
>> +
>> +		usbphy0: phy@5b000 {
>> +			compatible = "qcom,ipq5018-usb-hsphy";
>> +			reg = <0x0005b000 0x120>;
>> +
>> +			clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>;
>> +
>> +			resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
>> +
>> +			#phy-cells = <0>;
>> +
>> +			status = "disabled";
>> +		};
>> +
>> +		usb: usb2@8a00000 {
> usb@
>
> Node names should be generic. See also an explanation and list of
> examples (not exhaustive) in DT specification:
> https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
Sure, will update.

Regards,
Nitheesh

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes
  2023-08-25 10:39   ` Krzysztof Kozlowski
@ 2023-08-30  6:55     ` Nitheesh Sekar
  0 siblings, 0 replies; 19+ messages in thread
From: Nitheesh Sekar @ 2023-08-30  6:55 UTC (permalink / raw)
  To: Krzysztof Kozlowski, agross, andersson, konrad.dybcio, vkoul,
	kishon, robh+dt, krzysztof.kozlowski+dt, conor+dt, gregkh,
	quic_srichara, quic_varada, quic_wcheng, linux-arm-msm, linux-phy,
	devicetree, linux-kernel, linux-usb
  Cc: Amandeep Singh


On 8/25/2023 4:09 PM, Krzysztof Kozlowski wrote:
> On 25/08/2023 11:35, Nitheesh Sekar wrote:
>> Add USB phy and controller nodes.
>>
>> Co-developed-by: Amandeep Singh <quic_amansing@quicinc.com>
>> Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
>> Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
>> ---
>>   arch/arm64/boot/dts/qcom/ipq5018.dtsi | 54 +++++++++++++++++++++++++++
>>   1 file changed, 54 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
>> index 9f13d2dcdfd5..ff477923a823 100644
>> --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
>> @@ -238,6 +238,60 @@
>>   				status = "disabled";
>>   			};
>>   		};
>> +
>> +		usbphy0: phy@5b000 {
>> +			compatible = "qcom,ipq5018-usb-hsphy";
>> +			reg = <0x0005b000 0x120>;
>> +
>> +			clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>;
>> +
>> +			resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
>> +
>> +			#phy-cells = <0>;
>> +
>> +			status = "disabled";
>> +		};
>> +
>> +		usb: usb2@8a00000 {
> Eee, where did you put these? Don't stuff things to the end of any list.
> This applies to your entire code: Makefile, Kconfig, .c, .h, .dts, .dtsi
> and other languages and projects as well.
Will reorder accordingly and post an update.

Regards,
Nitheesh

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 5/5] arm64: dts: qcom: ipq5018: Enable USB
  2023-08-25 10:38   ` Krzysztof Kozlowski
@ 2023-08-30  6:56     ` Nitheesh Sekar
  0 siblings, 0 replies; 19+ messages in thread
From: Nitheesh Sekar @ 2023-08-30  6:56 UTC (permalink / raw)
  To: Krzysztof Kozlowski, agross, andersson, konrad.dybcio, vkoul,
	kishon, robh+dt, krzysztof.kozlowski+dt, conor+dt, gregkh,
	quic_srichara, quic_varada, quic_wcheng, linux-arm-msm, linux-phy,
	devicetree, linux-kernel, linux-usb
  Cc: Amandeep Singh


On 8/25/2023 4:08 PM, Krzysztof Kozlowski wrote:
> On 25/08/2023 11:35, Nitheesh Sekar wrote:
>> Enable USB2 in host mode.
>>
>> Co-developed-by: Amandeep Singh <quic_amansing@quicinc.com>
>> Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
>> Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
>> ---
>>   arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 12 ++++++++++++
>>   1 file changed, 12 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
>> index e636a1cb9b77..cdf5e22ec54e 100644
>> --- a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
>> +++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
>> @@ -70,3 +70,15 @@
>>   &xo_board_clk {
>>   	clock-frequency = <24000000>;
>>   };
>> +
>> +&usbphy0 {
> u is before x
Sure, will sort and reorder the nodes.

Regards,
Nitheesh

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 5/5] arm64: dts: qcom: ipq5018: Enable USB
  2023-08-25  9:35 ` [PATCH 5/5] arm64: dts: qcom: ipq5018: Enable USB Nitheesh Sekar
  2023-08-25 10:38   ` Krzysztof Kozlowski
@ 2023-08-30 20:11   ` Dmitry Baryshkov
  2023-08-31  2:57     ` Nitheesh Sekar
  1 sibling, 1 reply; 19+ messages in thread
From: Dmitry Baryshkov @ 2023-08-30 20:11 UTC (permalink / raw)
  To: Nitheesh Sekar
  Cc: agross, andersson, konrad.dybcio, vkoul, kishon, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb, Amandeep Singh

On Fri, 25 Aug 2023 at 12:37, Nitheesh Sekar <quic_nsekar@quicinc.com> wrote:
>
> Enable USB2 in host mode.
>
> Co-developed-by: Amandeep Singh <quic_amansing@quicinc.com>
> Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
> Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
> index e636a1cb9b77..cdf5e22ec54e 100644
> --- a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
> +++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
> @@ -70,3 +70,15 @@
>  &xo_board_clk {
>         clock-frequency = <24000000>;
>  };
> +
> +&usbphy0 {
> +       status = "okay";
> +};
> +
> +&usb {
> +       status = "okay";
> +};
> +
> +&usb2_0_dwc {
> +       dr_mode = "host";
> +};

Let me sort these for you:

- usb
- usb2_0_dwc
- usbphy0

Like in a dictionary.

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes
  2023-08-25  9:35 ` [PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes Nitheesh Sekar
  2023-08-25 10:38   ` Krzysztof Kozlowski
  2023-08-25 10:39   ` Krzysztof Kozlowski
@ 2023-08-30 20:15   ` Dmitry Baryshkov
  2023-08-31  2:50     ` Nitheesh Sekar
  2 siblings, 1 reply; 19+ messages in thread
From: Dmitry Baryshkov @ 2023-08-30 20:15 UTC (permalink / raw)
  To: Nitheesh Sekar
  Cc: agross, andersson, konrad.dybcio, vkoul, kishon, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb, Amandeep Singh

On Fri, 25 Aug 2023 at 12:37, Nitheesh Sekar <quic_nsekar@quicinc.com> wrote:
>
> Add USB phy and controller nodes.
>
> Co-developed-by: Amandeep Singh <quic_amansing@quicinc.com>
> Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
> Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/ipq5018.dtsi | 54 +++++++++++++++++++++++++++
>  1 file changed, 54 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> index 9f13d2dcdfd5..ff477923a823 100644
> --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> @@ -238,6 +238,60 @@
>                                 status = "disabled";
>                         };
>                 };
> +
> +               usbphy0: phy@5b000 {
> +                       compatible = "qcom,ipq5018-usb-hsphy";
> +                       reg = <0x0005b000 0x120>;
> +
> +                       clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>;
> +
> +                       resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
> +
> +                       #phy-cells = <0>;
> +
> +                       status = "disabled";
> +               };
> +
> +               usb: usb2@8a00000 {
> +                       compatible = "qcom,ipq5018-dwc3", "qcom,dwc3";
> +                       reg = <0x08af8800 0x400>;
> +
> +                       interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
> +                       interrupt-names = "hs_phy_irq";
> +
> +                       clocks = <&gcc GCC_USB0_MASTER_CLK>,
> +                                <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
> +                                <&gcc GCC_USB0_SLEEP_CLK>,
> +                                <&gcc GCC_USB0_MOCK_UTMI_CLK>;
> +                       clock-names = "core",
> +                                     "iface",
> +                                     "sleep",
> +                                     "mock_utmi";
> +
> +                       resets = <&gcc GCC_USB0_BCR>;
> +
> +                       qcom,select-utmi-as-pipe-clk;
> +                       #address-cells = <1>;
> +                       #size-cells = <1>;
> +                       ranges;
> +
> +                       status = "disabled";
> +
> +                       usb2_0_dwc: usb@8a00000 {

Could you please remove the `2_0' part of the label?

> +                               compatible = "snps,dwc3";
> +                               reg = <0x08a00000 0xe000>;
> +                               clocks = <&gcc GCC_USB0_MOCK_UTMI_CLK>;
> +                               clock-names = "ref";
> +                               interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
> +                               phy-names = "usb2-phy";
> +                               phys = <&usbphy0>;
> +                               tx-fifo-resize;
> +                               snps,is-utmi-l1-suspend;
> +                               snps,hird-threshold = /bits/ 8 <0x0>;
> +                               snps,dis_u2_susphy_quirk;
> +                               snps,dis_u3_susphy_quirk;
> +                       };
> +               };
>         };
>
>         timer {
> --
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes
  2023-08-30 20:15   ` Dmitry Baryshkov
@ 2023-08-31  2:50     ` Nitheesh Sekar
  0 siblings, 0 replies; 19+ messages in thread
From: Nitheesh Sekar @ 2023-08-31  2:50 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: agross, andersson, konrad.dybcio, vkoul, kishon, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb, Amandeep Singh


On 8/31/2023 1:45 AM, Dmitry Baryshkov wrote:
> On Fri, 25 Aug 2023 at 12:37, Nitheesh Sekar <quic_nsekar@quicinc.com> wrote:
>> Add USB phy and controller nodes.
>>
>> Co-developed-by: Amandeep Singh <quic_amansing@quicinc.com>
>> Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
>> Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
>> ---
>>   arch/arm64/boot/dts/qcom/ipq5018.dtsi | 54 +++++++++++++++++++++++++++
>>   1 file changed, 54 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
>> index 9f13d2dcdfd5..ff477923a823 100644
>> --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
>> @@ -238,6 +238,60 @@
>>                                  status = "disabled";
>>                          };
>>                  };
>> +
>> +               usbphy0: phy@5b000 {
>> +                       compatible = "qcom,ipq5018-usb-hsphy";
>> +                       reg = <0x0005b000 0x120>;
>> +
>> +                       clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>;
>> +
>> +                       resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
>> +
>> +                       #phy-cells = <0>;
>> +
>> +                       status = "disabled";
>> +               };
>> +
>> +               usb: usb2@8a00000 {
>> +                       compatible = "qcom,ipq5018-dwc3", "qcom,dwc3";
>> +                       reg = <0x08af8800 0x400>;
>> +
>> +                       interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
>> +                       interrupt-names = "hs_phy_irq";
>> +
>> +                       clocks = <&gcc GCC_USB0_MASTER_CLK>,
>> +                                <&gcc GCC_SYS_NOC_USB0_AXI_CLK>,
>> +                                <&gcc GCC_USB0_SLEEP_CLK>,
>> +                                <&gcc GCC_USB0_MOCK_UTMI_CLK>;
>> +                       clock-names = "core",
>> +                                     "iface",
>> +                                     "sleep",
>> +                                     "mock_utmi";
>> +
>> +                       resets = <&gcc GCC_USB0_BCR>;
>> +
>> +                       qcom,select-utmi-as-pipe-clk;
>> +                       #address-cells = <1>;
>> +                       #size-cells = <1>;
>> +                       ranges;
>> +
>> +                       status = "disabled";
>> +
>> +                       usb2_0_dwc: usb@8a00000 {
> Could you please remove the `2_0' part of the label?
Sure.

Regards,
Nitheesh

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 5/5] arm64: dts: qcom: ipq5018: Enable USB
  2023-08-30 20:11   ` Dmitry Baryshkov
@ 2023-08-31  2:57     ` Nitheesh Sekar
  0 siblings, 0 replies; 19+ messages in thread
From: Nitheesh Sekar @ 2023-08-31  2:57 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: agross, andersson, konrad.dybcio, vkoul, kishon, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, gregkh, quic_srichara,
	quic_varada, quic_wcheng, linux-arm-msm, linux-phy, devicetree,
	linux-kernel, linux-usb, Amandeep Singh


On 8/31/2023 1:41 AM, Dmitry Baryshkov wrote:
> On Fri, 25 Aug 2023 at 12:37, Nitheesh Sekar <quic_nsekar@quicinc.com> wrote:
>> Enable USB2 in host mode.
>>
>> Co-developed-by: Amandeep Singh <quic_amansing@quicinc.com>
>> Signed-off-by: Amandeep Singh <quic_amansing@quicinc.com>
>> Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
>> ---
>>   arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts | 12 ++++++++++++
>>   1 file changed, 12 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
>> index e636a1cb9b77..cdf5e22ec54e 100644
>> --- a/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
>> +++ b/arch/arm64/boot/dts/qcom/ipq5018-rdp432-c2.dts
>> @@ -70,3 +70,15 @@
>>   &xo_board_clk {
>>          clock-frequency = <24000000>;
>>   };
>> +
>> +&usbphy0 {
>> +       status = "okay";
>> +};
>> +
>> +&usb {
>> +       status = "okay";
>> +};
>> +
>> +&usb2_0_dwc {
>> +       dr_mode = "host";
>> +};
> Let me sort these for you:
>
> - usb
> - usb2_0_dwc
> - usbphy0
>
> Like in a dictionary.
I will remove "2_0" in usb2_0_dwc and then sort and reorder the nodes 
again in the latest V2 version.

Regards,
Nitheesh

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2023-08-31  2:57 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-25  9:35 [PATCH 0/5] Enable IPQ5018 USB2 support Nitheesh Sekar
2023-08-25  9:35 ` [PATCH 1/5] dt-bindings: phy: qcom,m31: Add IPQ5018 compatible Nitheesh Sekar
2023-08-25 10:36   ` Krzysztof Kozlowski
2023-08-25  9:35 ` [PATCH 2/5] dt-bindings: usb: dwc3: " Nitheesh Sekar
2023-08-25 10:37   ` Krzysztof Kozlowski
2023-08-30  6:53     ` Nitheesh Sekar
2023-08-25  9:35 ` [PATCH 3/5] phy: qcom-m31: Add compatible, phy init sequence for IPQ5018 Nitheesh Sekar
2023-08-25  9:35 ` [PATCH 4/5] arm64: dts: qcom: ipq5018: Add USB related nodes Nitheesh Sekar
2023-08-25 10:38   ` Krzysztof Kozlowski
2023-08-30  6:55     ` Nitheesh Sekar
2023-08-25 10:39   ` Krzysztof Kozlowski
2023-08-30  6:55     ` Nitheesh Sekar
2023-08-30 20:15   ` Dmitry Baryshkov
2023-08-31  2:50     ` Nitheesh Sekar
2023-08-25  9:35 ` [PATCH 5/5] arm64: dts: qcom: ipq5018: Enable USB Nitheesh Sekar
2023-08-25 10:38   ` Krzysztof Kozlowski
2023-08-30  6:56     ` Nitheesh Sekar
2023-08-30 20:11   ` Dmitry Baryshkov
2023-08-31  2:57     ` Nitheesh Sekar

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).