summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/include/plat/udc-hs.h
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2012-03-07 04:23:47 -0800
committerKukjin Kim <kgene.kim@samsung.com>2012-03-09 07:31:30 -0800
commit99f6e1f50cbb048325c966f2d0e7fe3e47010905 (patch)
treeb7e108793beb7d40685607a918e15aa2656cd5d0 /arch/arm/plat-samsung/include/plat/udc-hs.h
parent6cdeddcc8149672d4b888709d063825a80304d09 (diff)
downloadtalos-op-linux-99f6e1f50cbb048325c966f2d0e7fe3e47010905.tar.gz
talos-op-linux-99f6e1f50cbb048325c966f2d0e7fe3e47010905.zip
ARM: S3C64XX: Add usb otg phy control
This patch supports to control usb otg phy of S3C64XX. Currently, the driver for usb otg controls usb otg phy but it can be removed by this patch. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> [Rebased on the newest git/kgene/linux-samsung #for-next] Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Acked-by: Mark Brown<broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/udc-hs.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/udc-hs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/udc-hs.h b/arch/arm/plat-samsung/include/plat/udc-hs.h
index a22a4f2eea94..c9e3667cb2b1 100644
--- a/arch/arm/plat-samsung/include/plat/udc-hs.h
+++ b/arch/arm/plat-samsung/include/plat/udc-hs.h
@@ -26,4 +26,9 @@ enum s3c_hsotg_dmamode {
struct s3c_hsotg_plat {
enum s3c_hsotg_dmamode dma;
unsigned int is_osc : 1;
+
+ int (*phy_init)(struct platform_device *pdev, int type);
+ int (*phy_exit)(struct platform_device *pdev, int type);
};
+
+extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd);
OpenPOWER on IntegriCloud