All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2] armv8: ls1046aqds: added usb feature support
@ 2017-01-20  9:12 yuantian.tang at nxp.com
  2017-02-06 18:04 ` york sun
  0 siblings, 1 reply; 2+ messages in thread
From: yuantian.tang at nxp.com @ 2017-01-20  9:12 UTC (permalink / raw)
  To: u-boot

From: Tang Yuantian <Yuantian.Tang@nxp.com>

The LS1046AQDS processor has three integrated USB 3.0 controllers
(USB1, USB2, and USB3) that allow direct connection to the USB
ports with appropriate protection circuitry and power supplies.
USB1 and USB2 ports are powered by a NX5P2190UK device, which
supplies 5v power at up to 1.2 A. The power enable and
power-fault-detect pins are connected to the LS1046A processor
via CPLD for individual port management.

Signed-off-by: Tang Yuantian <yuantian.tang@nxp.com>
---
v2:
  - fix compiling warning.

 include/configs/ls1046aqds.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/configs/ls1046aqds.h b/include/configs/ls1046aqds.h
index 3618a06..b995cd2 100644
--- a/include/configs/ls1046aqds.h
+++ b/include/configs/ls1046aqds.h
@@ -135,6 +135,18 @@ unsigned long get_board_ddr_clk(void);
 #define CFG_LPUART_EN		0x2
 #endif
 
+/* USB */
+#define CONFIG_HAS_FSL_XHCI_USB
+#ifdef CONFIG_HAS_FSL_XHCI_USB
+#define CONFIG_USB_XHCI_HCD
+#define CONFIG_USB_XHCI_FSL
+#define CONFIG_USB_XHCI_DWC3
+#define CONFIG_USB_MAX_CONTROLLER_COUNT         3
+#define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS      2
+#define CONFIG_CMD_USB
+#define CONFIG_USB_STORAGE
+#endif
+
 /* SATA */
 #define CONFIG_LIBATA
 #define CONFIG_SCSI_AHCI
-- 
2.1.0.27.g96db324

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

* [U-Boot] [PATCH v2] armv8: ls1046aqds: added usb feature support
  2017-01-20  9:12 [U-Boot] [PATCH v2] armv8: ls1046aqds: added usb feature support yuantian.tang at nxp.com
@ 2017-02-06 18:04 ` york sun
  0 siblings, 0 replies; 2+ messages in thread
From: york sun @ 2017-02-06 18:04 UTC (permalink / raw)
  To: u-boot

On 01/20/2017 01:25 AM, yuantian.tang at nxp.com wrote:
> From: Tang Yuantian <Yuantian.Tang@nxp.com>
>
> The LS1046AQDS processor has three integrated USB 3.0 controllers
> (USB1, USB2, and USB3) that allow direct connection to the USB
> ports with appropriate protection circuitry and power supplies.
> USB1 and USB2 ports are powered by a NX5P2190UK device, which
> supplies 5v power at up to 1.2 A. The power enable and
> power-fault-detect pins are connected to the LS1046A processor
> via CPLD for individual port management.
>
> Signed-off-by: Tang Yuantian <yuantian.tang@nxp.com>
> ---
> v2:
>   - fix compiling warning.
>

Applied to u-boot-qoriq master. Thanks.

York

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

end of thread, other threads:[~2017-02-06 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-20  9:12 [U-Boot] [PATCH v2] armv8: ls1046aqds: added usb feature support yuantian.tang at nxp.com
2017-02-06 18:04 ` york sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.