Skip to content
Permalink
Browse files

drivers: usb: nxp: add NXP EHCI USB device controller driver shim

usb_dc_mcux_ehci driver is one shim of the NXP SDK ehci driver.
select NOCACHE_MEMORY if HAS_MCUX_CACHE

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
  • Loading branch information...
MarkWangChinese authored and MaureenHelm committed May 5, 2019
1 parent 8487a1e commit 5f0d065514cee9afca565175ddc3249ea7fd5123
Showing with 540 additions and 0 deletions.
  1. +1 −0 drivers/usb/device/CMakeLists.txt
  2. +8 −0 drivers/usb/device/Kconfig
  3. +531 −0 drivers/usb/device/usb_dc_mcux_ehci.c
@@ -10,3 +10,4 @@ zephyr_sources_ifdef(CONFIG_USB_NATIVE_POSIX
usb_dc_native_posix.c
usb_dc_native_posix_adapt.c
)
zephyr_sources_ifdef(CONFIG_USB_DC_NXP_EHCI usb_dc_mcux_ehci.c)
@@ -82,6 +82,14 @@ config USB_KINETIS
help
Kinetis USB Device Controller Driver.

config USB_DC_NXP_EHCI
bool "Kinetis and RT EHCI USB Device Controller Driver"
depends on HAS_MCUX_USB_EHCI
select USB_DEVICE_DRIVER
select NOCACHE_MEMORY if HAS_MCUX_CACHE
help
Kinetis and RT EHCI USB Device Controller Driver.

module = USB_DRIVER
module-str = usb driver
source "subsys/logging/Kconfig.template.log_config"

0 comments on commit 5f0d065

Please sign in to comment.
You can’t perform that action at this time.