public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] usb: dwc2: Add original Synopsys compat string
@ 2015-08-12 20:19 Marek Vasut
  2015-08-12 20:19 ` [U-Boot] [PATCH 2/2] usb: dwc2: Rename to dwc2_usb Marek Vasut
  2015-08-19 20:32 ` [U-Boot] [PATCH 1/2] usb: dwc2: Add original Synopsys compat string Marek Vasut
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Vasut @ 2015-08-12 20:19 UTC (permalink / raw)
  To: u-boot

Add the Synopsys compatible string. This is used in SoCFPGA DT files.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 drivers/usb/host/dwc2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c
index 09f91f1..7b29134 100644
--- a/drivers/usb/host/dwc2.c
+++ b/drivers/usb/host/dwc2.c
@@ -1113,6 +1113,7 @@ struct dm_usb_ops dwc2_usb_ops = {
 
 static const struct udevice_id dwc2_usb_ids[] = {
 	{ .compatible = "brcm,bcm2835-usb" },
+	{ .compatible = "snps,dwc2" },
 	{ }
 };
 
-- 
2.1.4

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

* [U-Boot] [PATCH 2/2] usb: dwc2: Rename to dwc2_usb
  2015-08-12 20:19 [U-Boot] [PATCH 1/2] usb: dwc2: Add original Synopsys compat string Marek Vasut
@ 2015-08-12 20:19 ` Marek Vasut
  2015-08-19 20:32 ` [U-Boot] [PATCH 1/2] usb: dwc2: Add original Synopsys compat string Marek Vasut
  1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2015-08-12 20:19 UTC (permalink / raw)
  To: u-boot

This driver is not used only on exynos, but also on Altera SoCFPGA,
HiSilicon SoCs, RPi etc, so rename it accordingly to prevent confusion.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 drivers/usb/host/dwc2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c
index 7b29134..85236ae 100644
--- a/drivers/usb/host/dwc2.c
+++ b/drivers/usb/host/dwc2.c
@@ -1118,7 +1118,7 @@ static const struct udevice_id dwc2_usb_ids[] = {
 };
 
 U_BOOT_DRIVER(usb_dwc2) = {
-	.name	= "dwc2_exynos",
+	.name	= "dwc2_usb",
 	.id	= UCLASS_USB,
 	.of_match = dwc2_usb_ids,
 	.ofdata_to_platdata = dwc2_usb_ofdata_to_platdata,
-- 
2.1.4

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

* [U-Boot] [PATCH 1/2] usb: dwc2: Add original Synopsys compat string
  2015-08-12 20:19 [U-Boot] [PATCH 1/2] usb: dwc2: Add original Synopsys compat string Marek Vasut
  2015-08-12 20:19 ` [U-Boot] [PATCH 2/2] usb: dwc2: Rename to dwc2_usb Marek Vasut
@ 2015-08-19 20:32 ` Marek Vasut
  1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2015-08-19 20:32 UTC (permalink / raw)
  To: u-boot

On Wednesday, August 12, 2015 at 10:19:14 PM, Marek Vasut wrote:
> Add the Synopsys compatible string. This is used in SoCFPGA DT files.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>

Applied both, thanks.

Best regards,
Marek Vasut

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

end of thread, other threads:[~2015-08-19 20:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-12 20:19 [U-Boot] [PATCH 1/2] usb: dwc2: Add original Synopsys compat string Marek Vasut
2015-08-12 20:19 ` [U-Boot] [PATCH 2/2] usb: dwc2: Rename to dwc2_usb Marek Vasut
2015-08-19 20:32 ` [U-Boot] [PATCH 1/2] usb: dwc2: Add original Synopsys compat string Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox