diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2012-07-14 18:01:09 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-08-30 20:15:52 +0200 |
commit | 22df90f6bb687db58298084a200782dd0148d247 (patch) | |
tree | d344148a22e2959f922395e337f5b72c72aa4093 /arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_usbd.h | |
parent | 5fd66c2b2b7ce5cfc660cc75abbb3bf248ba3e9b (diff) | |
download | talos-obmc-linux-22df90f6bb687db58298084a200782dd0148d247.tar.gz talos-obmc-linux-22df90f6bb687db58298084a200782dd0148d247.zip |
MIPS: BCM63XX: Create platform_device for USBD
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Reviewed-by: Jonas Gorski <jonas.gorski@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/4111/
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_usbd.h')
-rw-r--r-- | arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_usbd.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_usbd.h b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_usbd.h new file mode 100644 index 000000000000..5d6d6986f40b --- /dev/null +++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_usbd.h @@ -0,0 +1,17 @@ +#ifndef BCM63XX_DEV_USB_USBD_H_ +#define BCM63XX_DEV_USB_USBD_H_ + +/* + * usb device platform data + */ +struct bcm63xx_usbd_platform_data { + /* board can only support full speed (USB 1.1) */ + int use_fullspeed; + + /* 0-based port index, for chips with >1 USB PHY */ + int port_no; +}; + +int bcm63xx_usbd_register(const struct bcm63xx_usbd_platform_data *pd); + +#endif /* BCM63XX_DEV_USB_USBD_H_ */ |