summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/ddrphy_train.c
diff options
context:
space:
mode:
authorZixun LI <admin@hifiphile.com>2024-07-25 17:32:01 +0200
committerMattijs Korpershoek <mkorpershoek@baylibre.com>2024-08-06 14:58:14 +0200
commitd6376f7ed823569acd8bb0fdfa501c040cfec36f (patch)
treeee4feec4130d0e40fc6e793aad18e8e1bdf4a74f /drivers/ddr/imx/phy/ddrphy_train.c
parentef5e1d1f97623f8c549c6fffd481bb120df12dcb (diff)
usb: gadget: atmel: Add DM_USB_GADGET support
Add driver model support by using the uclass UCLASS_USB_GADGET_GENERIC. Disable local usb_gadget_register_driver()/usb_gadget_unregister_driver() implementation which is implemented in udc-core.c when DM_USB_GADGET is enabled. Replace dm_usb_gadget_handle_interrupts() with handle_interrupts ops when DM_USB_GADGET is enabled. Disable legacy struct usba_udc controller as controller point is extracted from udevice private data with DM. Disable legacy usba_udc_probe() to avoid conflict with DM when it's enabled. Compared to Linux driver only supported devices' DT bindings are included (sorted as Linux driver) Signed-off-by: Zixun LI <admin@hifiphile.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20240725153204.358925-8-admin@hifiphile.com Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'drivers/ddr/imx/phy/ddrphy_train.c')
0 files changed, 0 insertions, 0 deletions