* [PATCH] arm64: zynqmp: Do not expose usbhub nodes
@ 2023-11-06 15:55 Michal Simek
2023-11-15 14:10 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2023-11-06 15:55 UTC (permalink / raw)
To: u-boot, git
Upstream dwc3 U-Boot driver is not able to handle child nodes properly
that's why comment them in DT for now. This patch should be reverted when
dwc3 driver handles it properly.
DT node itself is aligned with dt schema.
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/arm/dts/zynqmp-sck-kd-g-revA.dtso | 3 ++-
arch/arm/dts/zynqmp-sck-kr-g-revA.dtso | 3 ++-
arch/arm/dts/zynqmp-sck-kr-g-revB.dtso | 3 ++-
arch/arm/dts/zynqmp-sck-kv-g-revA.dtso | 2 ++
arch/arm/dts/zynqmp-sck-kv-g-revB.dtso | 3 ++-
5 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso
index 5a5c1efd6b96..8d0ddecdc14c 100644
--- a/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso
+++ b/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso
@@ -87,7 +87,7 @@
phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
reset-gpios = <&slg7xl45106 0 GPIO_ACTIVE_LOW>;
assigned-clock-rates = <250000000>, <20000000>;
-
+#if 0
usbhub0: usb-hub { /* u36 */
i2c-bus = <&i2c1>;
compatible = "microchip,usb5744";
@@ -98,6 +98,7 @@
compatible = "microchip,usb2244";
reset-gpios = <&slg7xl45106 2 GPIO_ACTIVE_LOW>;
};
+#endif
};
&dwc3_0 {
diff --git a/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
index 30a0230d4767..95b1dc5aa571 100644
--- a/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
+++ b/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
@@ -139,7 +139,7 @@
phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
reset-gpios = <&slg7xl45106 0 GPIO_ACTIVE_LOW>;
assigned-clock-rates = <250000000>, <20000000>;
-
+#if 0
usbhub0: usb-hub { /* u43 */
i2c-bus = <&usbhub_i2c0>;
compatible = "microchip,usb5744";
@@ -150,6 +150,7 @@
compatible = "microchip,usb2244";
reset-gpios = <&slg7xl45106 2 GPIO_ACTIVE_LOW>;
};
+#endif
};
&dwc3_0 {
diff --git a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
index 8f4c52d6d643..e2387a2abb8f 100644
--- a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
+++ b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
@@ -139,7 +139,7 @@
phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
reset-gpios = <&slg7xl45106 0 GPIO_ACTIVE_LOW>;
assigned-clock-rates = <250000000>, <20000000>;
-
+#if 0
usbhub0: usb-hub { /* u43 */
i2c-bus = <&usbhub_i2c0>;
compatible = "microchip,usb5744";
@@ -150,6 +150,7 @@
compatible = "microchip,usb2244";
reset-gpios = <&slg7xl45106 2 GPIO_ACTIVE_LOW>;
};
+#endif
};
&dwc3_0 {
diff --git a/arch/arm/dts/zynqmp-sck-kv-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kv-g-revA.dtso
index c4f1da92186f..f43c159cdca9 100644
--- a/arch/arm/dts/zynqmp-sck-kv-g-revA.dtso
+++ b/arch/arm/dts/zynqmp-sck-kv-g-revA.dtso
@@ -131,10 +131,12 @@
pinctrl-0 = <&pinctrl_usb0_default>;
phy-names = "usb3-phy";
phys = <&psgtr 2 PHY_TYPE_USB3 0 1>;
+#if 0
usbhub: usb5744 { /* u43 */
compatible = "microchip,usb5744";
reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
+#endif
};
&dwc3_0 {
diff --git a/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso b/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
index 6c5e0e566061..3643569cc7c8 100644
--- a/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
+++ b/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
@@ -113,13 +113,14 @@
phy-names = "usb3-phy";
phys = <&psgtr 2 PHY_TYPE_USB3 0 1>;
assigned-clock-rates = <250000000>, <20000000>;
-
+#if 0
usb5744: usb-hub { /* u43 */
status = "okay";
compatible = "microchip,usb5744";
i2c-bus = <&i2c1>;
reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
+#endif
};
&dwc3_0 {
--
2.36.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: zynqmp: Do not expose usbhub nodes
2023-11-06 15:55 [PATCH] arm64: zynqmp: Do not expose usbhub nodes Michal Simek
@ 2023-11-15 14:10 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2023-11-15 14:10 UTC (permalink / raw)
To: u-boot, git
On 11/6/23 16:55, Michal Simek wrote:
> Upstream dwc3 U-Boot driver is not able to handle child nodes properly
> that's why comment them in DT for now. This patch should be reverted when
> dwc3 driver handles it properly.
> DT node itself is aligned with dt schema.
>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
>
> arch/arm/dts/zynqmp-sck-kd-g-revA.dtso | 3 ++-
> arch/arm/dts/zynqmp-sck-kr-g-revA.dtso | 3 ++-
> arch/arm/dts/zynqmp-sck-kr-g-revB.dtso | 3 ++-
> arch/arm/dts/zynqmp-sck-kv-g-revA.dtso | 2 ++
> arch/arm/dts/zynqmp-sck-kv-g-revB.dtso | 3 ++-
> 5 files changed, 10 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso
> index 5a5c1efd6b96..8d0ddecdc14c 100644
> --- a/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kd-g-revA.dtso
> @@ -87,7 +87,7 @@
> phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
> reset-gpios = <&slg7xl45106 0 GPIO_ACTIVE_LOW>;
> assigned-clock-rates = <250000000>, <20000000>;
> -
> +#if 0
> usbhub0: usb-hub { /* u36 */
> i2c-bus = <&i2c1>;
> compatible = "microchip,usb5744";
> @@ -98,6 +98,7 @@
> compatible = "microchip,usb2244";
> reset-gpios = <&slg7xl45106 2 GPIO_ACTIVE_LOW>;
> };
> +#endif
> };
>
> &dwc3_0 {
> diff --git a/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
> index 30a0230d4767..95b1dc5aa571 100644
> --- a/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kr-g-revA.dtso
> @@ -139,7 +139,7 @@
> phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
> reset-gpios = <&slg7xl45106 0 GPIO_ACTIVE_LOW>;
> assigned-clock-rates = <250000000>, <20000000>;
> -
> +#if 0
> usbhub0: usb-hub { /* u43 */
> i2c-bus = <&usbhub_i2c0>;
> compatible = "microchip,usb5744";
> @@ -150,6 +150,7 @@
> compatible = "microchip,usb2244";
> reset-gpios = <&slg7xl45106 2 GPIO_ACTIVE_LOW>;
> };
> +#endif
> };
>
> &dwc3_0 {
> diff --git a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
> index 8f4c52d6d643..e2387a2abb8f 100644
> --- a/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kr-g-revB.dtso
> @@ -139,7 +139,7 @@
> phys = <&psgtr 2 PHY_TYPE_USB3 0 2>;
> reset-gpios = <&slg7xl45106 0 GPIO_ACTIVE_LOW>;
> assigned-clock-rates = <250000000>, <20000000>;
> -
> +#if 0
> usbhub0: usb-hub { /* u43 */
> i2c-bus = <&usbhub_i2c0>;
> compatible = "microchip,usb5744";
> @@ -150,6 +150,7 @@
> compatible = "microchip,usb2244";
> reset-gpios = <&slg7xl45106 2 GPIO_ACTIVE_LOW>;
> };
> +#endif
> };
>
> &dwc3_0 {
> diff --git a/arch/arm/dts/zynqmp-sck-kv-g-revA.dtso b/arch/arm/dts/zynqmp-sck-kv-g-revA.dtso
> index c4f1da92186f..f43c159cdca9 100644
> --- a/arch/arm/dts/zynqmp-sck-kv-g-revA.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kv-g-revA.dtso
> @@ -131,10 +131,12 @@
> pinctrl-0 = <&pinctrl_usb0_default>;
> phy-names = "usb3-phy";
> phys = <&psgtr 2 PHY_TYPE_USB3 0 1>;
> +#if 0
> usbhub: usb5744 { /* u43 */
> compatible = "microchip,usb5744";
> reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
> };
> +#endif
> };
>
> &dwc3_0 {
> diff --git a/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso b/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
> index 6c5e0e566061..3643569cc7c8 100644
> --- a/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
> +++ b/arch/arm/dts/zynqmp-sck-kv-g-revB.dtso
> @@ -113,13 +113,14 @@
> phy-names = "usb3-phy";
> phys = <&psgtr 2 PHY_TYPE_USB3 0 1>;
> assigned-clock-rates = <250000000>, <20000000>;
> -
> +#if 0
> usb5744: usb-hub { /* u43 */
> status = "okay";
> compatible = "microchip,usb5744";
> i2c-bus = <&i2c1>;
> reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
> };
> +#endif
> };
>
> &dwc3_0 {
Applied.
M
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-15 14:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-06 15:55 [PATCH] arm64: zynqmp: Do not expose usbhub nodes Michal Simek
2023-11-15 14:10 ` Michal Simek
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).