xref: /OK3568_Linux_fs/kernel/include/linux/usb/musb-ux500.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun // SPDX-License-Identifier: GPL-2.0+
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Copyright (C) 2013 ST-Ericsson AB
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * This program is free software; you can redistribute it and/or modify
6*4882a593Smuzhiyun  * it under the terms of the GNU General Public License as published by
7*4882a593Smuzhiyun  * the Free Software Foundation; either version 2 of the License, or
8*4882a593Smuzhiyun  * (at your option) any later version.
9*4882a593Smuzhiyun  *
10*4882a593Smuzhiyun  * This program is distributed in the hope that it will be useful,
11*4882a593Smuzhiyun  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12*4882a593Smuzhiyun  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13*4882a593Smuzhiyun  * GNU General Public License for more details.
14*4882a593Smuzhiyun  */
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun #ifndef __MUSB_UX500_H__
17*4882a593Smuzhiyun #define __MUSB_UX500_H__
18*4882a593Smuzhiyun 
19*4882a593Smuzhiyun enum ux500_musb_vbus_id_status {
20*4882a593Smuzhiyun 	UX500_MUSB_NONE = 0,
21*4882a593Smuzhiyun 	UX500_MUSB_VBUS,
22*4882a593Smuzhiyun 	UX500_MUSB_ID,
23*4882a593Smuzhiyun 	UX500_MUSB_CHARGER,
24*4882a593Smuzhiyun 	UX500_MUSB_ENUMERATED,
25*4882a593Smuzhiyun 	UX500_MUSB_RIDA,
26*4882a593Smuzhiyun 	UX500_MUSB_RIDB,
27*4882a593Smuzhiyun 	UX500_MUSB_RIDC,
28*4882a593Smuzhiyun 	UX500_MUSB_PREPARE,
29*4882a593Smuzhiyun 	UX500_MUSB_CLEAN,
30*4882a593Smuzhiyun };
31*4882a593Smuzhiyun 
32*4882a593Smuzhiyun #endif	/* __MUSB_UX500_H__ */
33