]> git.ipfire.org Git - thirdparty/u-boot.git/blame - arch/arm/include/asm/omap_musb.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[thirdparty/u-boot.git] / arch / arm / include / asm / omap_musb.h
CommitLineData
37931f02
IY
1/*
2 * Board data structure for musb gadget on OMAPs
3 *
4 * Copyright (C) 2012, Ilya Yanok <ilya.yanok@gmail.com>
5 *
1a459660 6 * SPDX-License-Identifier: GPL-2.0+
37931f02
IY
7 */
8
9#ifndef __ASM_ARM_OMAP_MUSB_H
10#define __ASM_ARM_OMAP_MUSB_H
11
12extern struct musb_platform_ops musb_dsps_ops;
833a53c6 13extern const struct musb_platform_ops am35x_ops;
673a524b 14extern const struct musb_platform_ops omap2430_ops;
37931f02
IY
15
16struct omap_musb_board_data {
673a524b 17 u8 interface_type;
37931f02 18 void (*set_phy_power)(u8 on);
833a53c6
IY
19 void (*clear_irq)(void);
20 void (*reset)(void);
37931f02 21};
673a524b
IY
22
23enum musb_interface {MUSB_INTERFACE_ULPI, MUSB_INTERFACE_UTMI};
37931f02 24#endif /* __ASM_ARM_OMAP_MUSB_H */