1
2
3
4
5
6
7
8
9
10
11
12 #ifndef __LINUX_USB_S3C_HSOTG_H
13 #define __LINUX_USB_S3C_HSOTG_H
14
15 struct platform_device;
16
17 enum dwc2_hsotg_dmamode {
18 S3C_HSOTG_DMA_NONE,
19 S3C_HSOTG_DMA_ONLY,
20 S3C_HSOTG_DMA_DRV,
21 };
22
23
24
25
26
27
28 struct dwc2_hsotg_plat {
29 enum dwc2_hsotg_dmamode dma;
30 unsigned int is_osc:1;
31 int phy_type;
32
33 int (*phy_init)(struct platform_device *pdev, int type);
34 int (*phy_exit)(struct platform_device *pdev, int type);
35 };
36
37 extern void dwc2_hsotg_set_platdata(struct dwc2_hsotg_plat *pd);
38
39 #endif