aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/Makefile
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2021-10-15 15:15:23 +0200
committerPriyanka Jain <priyanka.jain@nxp.com>2021-11-09 17:18:23 +0530
commit2b0b51d0bedf70ced90960eb029908d04c8e4d77 (patch)
tree706a3a420c3aa4a06b59a42941641c4122f26411 /drivers/usb/dwc3/Makefile
parentf150b8d28b4eab267fdd4af4a2d0a41443702cc5 (diff)
downloadu-boot-2b0b51d0bedf70ced90960eb029908d04c8e4d77.zip
u-boot-2b0b51d0bedf70ced90960eb029908d04c8e4d77.tar.gz
u-boot-2b0b51d0bedf70ced90960eb029908d04c8e4d77.tar.bz2
usb: dwc3: add layerscape support
Add support for the proper dwc3 device tree binding support as specified in the offical device tree spec. Initially, add support for the LS1028A support. Other SoCs should be easy to add by just adding the corresponding compatible string. Unfortunately, the device trees of all other layerscape SoCs are not converted and uses a wrong compatible string only known in u-boot. To maintain backwards compatibility with current u-boot device trees, add the generic "fsl,layerscape-dwc3" compatible string. OTG mode is not supported yet. The dr_mode in the devicetree will either have to be set to peripheral or host. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'drivers/usb/dwc3/Makefile')
-rw-r--r--drivers/usb/dwc3/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/Makefile b/drivers/usb/dwc3/Makefile
index 6e3e024..0dd1ba8 100644
--- a/drivers/usb/dwc3/Makefile
+++ b/drivers/usb/dwc3/Makefile
@@ -11,5 +11,6 @@ obj-$(CONFIG_USB_DWC3_MESON_G12A) += dwc3-meson-g12a.o
obj-$(CONFIG_USB_DWC3_MESON_GXL) += dwc3-meson-gxl.o
obj-$(CONFIG_USB_DWC3_GENERIC) += dwc3-generic.o
obj-$(CONFIG_USB_DWC3_UNIPHIER) += dwc3-uniphier.o
+obj-$(CONFIG_USB_DWC3_LAYERSCAPE) += dwc3-layerscape.o
obj-$(CONFIG_USB_DWC3_PHY_OMAP) += ti_usb_phy.o
obj-$(CONFIG_USB_DWC3_PHY_SAMSUNG) += samsung_usb_phy.o