diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-11-27 23:34:57 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-13 22:18:47 +0100 |
commit | 9524e95a9b3c0ba1402237418cd4bd8da0daeaf1 (patch) | |
tree | f47f4b9669a13df9c3a417677fbed1f47b38bd87 /arch/arm/mach-imx/include/mach/devices.h | |
parent | a4076ddf6577a5163c4d36aa4dff2e674df37b2d (diff) | |
download | barebox-9524e95a9b3c0ba1402237418cd4bd8da0daeaf1.tar.gz barebox-9524e95a9b3c0ba1402237418cd4bd8da0daeaf1.tar.xz |
ARM i.MX27: Add USB device functions
Register the USB misc devices and provide convenience wrappers to
register the USB ports for i.MX27.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/include/mach/devices.h')
-rw-r--r-- | arch/arm/mach-imx/include/mach/devices.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/include/mach/devices.h b/arch/arm/mach-imx/include/mach/devices.h index 016778a138..59296585af 100644 --- a/arch/arm/mach-imx/include/mach/devices.h +++ b/arch/arm/mach-imx/include/mach/devices.h @@ -7,6 +7,7 @@ #include <mach/imxfb.h> #include <mach/imx-ipu-fb.h> #include <mach/esdhc.h> +#include <usb/chipidea-imx.h> struct device_d *imx_add_fec_imx27(void *base, struct fec_platform_data *pdata); struct device_d *imx_add_fec_imx6(void *base, struct fec_platform_data *pdata); @@ -21,3 +22,4 @@ struct device_d *imx_add_mmc(void *base, int id, void *pdata); struct device_d *imx_add_esdhc(void *base, int id, struct esdhc_platform_data *pdata); struct device_d *imx_add_kpp(void *base, struct matrix_keymap_data *pdata); struct device_d *imx_add_pata(void *base); +struct device_d *imx_add_usb(void *base, int id, struct imxusb_platformdata *pdata); |