xref: /openbmc/u-boot/arch/arm/include/asm/omap_musb.h (revision baefb63a)
1 /*
2  * Board data structure for musb gadget on OMAPs
3  *
4  * Copyright (C) 2012, Ilya Yanok <ilya.yanok@gmail.com>
5  *
6  * SPDX-License-Identifier:	GPL-2.0+
7  */
8 
9 #ifndef __ASM_ARM_OMAP_MUSB_H
10 #define __ASM_ARM_OMAP_MUSB_H
11 
12 extern struct musb_platform_ops musb_dsps_ops;
13 extern const struct musb_platform_ops am35x_ops;
14 extern const struct musb_platform_ops omap2430_ops;
15 
16 struct omap_musb_board_data {
17 	u8 interface_type;
18 	struct udevice *dev;
19 	void (*set_phy_power)(struct udevice *dev, u8 on);
20 	void (*clear_irq)(struct udevice *dev);
21 	void (*reset)(struct udevice *dev);
22 };
23 
24 enum musb_interface    {MUSB_INTERFACE_ULPI, MUSB_INTERFACE_UTMI};
25 #endif /* __ASM_ARM_OMAP_MUSB_H */
26