drivers: usb: udc: add Smartbond UDC driver
Code adds Smartbond UDC driver to be used with USB next stack. Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
This commit is contained in:
parent
0575c1a976
commit
d5a008dd3b
|
@ -11,6 +11,7 @@ zephyr_library_sources_ifdef(CONFIG_UDC_NRF udc_nrf.c)
|
|||
zephyr_library_sources_ifdef(CONFIG_UDC_KINETIS udc_kinetis.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_UDC_SKELETON udc_skeleton.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_UDC_VIRTUAL udc_virtual.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_UDC_SMARTBOND udc_smartbond.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_UDC_STM32 udc_stm32.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_UDC_IT82XX2 udc_it82xx2.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_UDC_NXP_EHCI udc_mcux_ehci.c)
|
||||
|
|
|
@ -59,6 +59,7 @@ source "drivers/usb/udc/Kconfig.nrf"
|
|||
source "drivers/usb/udc/Kconfig.kinetis"
|
||||
source "drivers/usb/udc/Kconfig.skeleton"
|
||||
source "drivers/usb/udc/Kconfig.virtual"
|
||||
source "drivers/usb/udc/Kconfig.smartbond"
|
||||
source "drivers/usb/udc/Kconfig.stm32"
|
||||
source "drivers/usb/udc/Kconfig.it82xx2"
|
||||
source "drivers/usb/udc/Kconfig.mcux"
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
# Copyright (c) 2024 Renesas Electronics Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config UDC_SMARTBOND
|
||||
bool "Smartbond USB device controller driver"
|
||||
default y
|
||||
depends on DT_HAS_RENESAS_SMARTBOND_USBD_ENABLED
|
||||
select DMA
|
||||
help
|
||||
Smartbond USB device controller driver.
|
File diff suppressed because it is too large
Load Diff
|
@ -379,6 +379,8 @@
|
|||
fifo-read-threshold = <4>;
|
||||
ep-out-buf-size = <8 64 64 64>;
|
||||
interrupts = <15 0>, <21 0>;
|
||||
maximum-speed = "full-speed";
|
||||
num-bidir-endpoints = <4>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ description: Renesas SmartBond USB device controller
|
|||
|
||||
compatible: "renesas,smartbond-usbd"
|
||||
|
||||
include: usb-controller.yaml
|
||||
include: usb-ep.yaml
|
||||
|
||||
properties:
|
||||
dma-min-transfer-size:
|
||||
|
|
Loading…
Reference in New Issue