public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/7] arm: socfpga: Allow DWC2 UDC probing from OF
@ 2015-12-05 20:43 Marek Vasut
  2015-12-05 20:43 ` [U-Boot] [PATCH 2/7] arm: socfpga: arria5-socdk: Probe DWC2 UDC from OF instead of hard-coded data Marek Vasut
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Marek Vasut @ 2015-12-05 20:43 UTC (permalink / raw)
  To: u-boot

The USB gadget framework does not support DM yet, so add this bit
to let DWC2 UDC probe from OF on platforms which support it.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Lukasz Majewski <l.majewski@majess.pl>
Cc: Lukasz Majewski <l.majewski@samsung.com>
---
 include/fdtdec.h | 1 +
 lib/fdtdec.c     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/fdtdec.h b/include/fdtdec.h
index 7fe657d..d82dc35 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -167,6 +167,7 @@ enum fdt_compat_id {
 	COMPAT_INTEL_IRQ_ROUTER,	/* Intel Interrupt Router */
 	COMPAT_ALTERA_SOCFPGA_DWMAC,	/* SoCFPGA Ethernet controller */
 	COMPAT_ALTERA_SOCFPGA_DWMMC,	/* SoCFPGA DWMMC controller */
+	COMPAT_ALTERA_SOCFPGA_DWC2USB,	/* SoCFPGA DWC2 USB controller */
 	COMPAT_INTEL_BAYTRAIL_FSP,	/* Intel Bay Trail FSP */
 	COMPAT_INTEL_BAYTRAIL_FSP_MDP,	/* Intel FSP memory-down params */
 
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 82d0090..ae0b708 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -71,6 +71,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
 	COMPAT(COMPAT_INTEL_IRQ_ROUTER, "intel,irq-router"),
 	COMPAT(ALTERA_SOCFPGA_DWMAC, "altr,socfpga-stmmac"),
 	COMPAT(ALTERA_SOCFPGA_DWMMC, "altr,socfpga-dw-mshc"),
+	COMPAT(ALTERA_SOCFPGA_DWC2USB, "snps,dwc2"),
 	COMPAT(COMPAT_INTEL_BAYTRAIL_FSP, "intel,baytrail-fsp"),
 	COMPAT(COMPAT_INTEL_BAYTRAIL_FSP_MDP, "intel,baytrail-fsp-mdp"),
 };
-- 
2.1.4

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

end of thread, other threads:[~2015-12-07 22:51 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-05 20:43 [U-Boot] [PATCH 1/7] arm: socfpga: Allow DWC2 UDC probing from OF Marek Vasut
2015-12-05 20:43 ` [U-Boot] [PATCH 2/7] arm: socfpga: arria5-socdk: Probe DWC2 UDC from OF instead of hard-coded data Marek Vasut
2015-12-07 12:41   ` Chin Liang See
2015-12-05 20:43 ` [U-Boot] [PATCH 3/7] arm: socfpga: cyclone5-socdk: " Marek Vasut
2015-12-07 12:43   ` Chin Liang See
2015-12-05 20:43 ` [U-Boot] [PATCH 4/7] arm: socfpga: de0_nano: " Marek Vasut
2015-12-07 12:44   ` Chin Liang See
2015-12-05 20:43 ` [U-Boot] [PATCH 5/7] arm: socfpga: mcvevk: " Marek Vasut
2015-12-07 12:44   ` Chin Liang See
2015-12-05 20:43 ` [U-Boot] [PATCH 6/7] arm: socfpga: sockit: " Marek Vasut
2015-12-07 12:46   ` Chin Liang See
2015-12-05 20:43 ` [U-Boot] [PATCH 7/7] arm: socfpga: socrates: " Marek Vasut
2015-12-07 12:47   ` Chin Liang See
2015-12-07 21:49   ` Dinh Nguyen
2015-12-07 22:01     ` Marek Vasut
2015-12-07 22:49       ` Dinh Nguyen
2015-12-07 22:51         ` Marek Vasut
2015-12-07 12:29 ` [U-Boot] [PATCH 1/7] arm: socfpga: Allow DWC2 UDC probing from OF Chin Liang See
2015-12-07 21:42   ` Simon Glass

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