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