summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/regs-otg.h
diff options
context:
space:
mode:
authorPiotr Wilczek <p.wilczek@samsung.com>2013-11-21 15:46:44 +0100
committerMinkyu Kang <mk7.kang@samsung.com>2013-12-02 11:22:32 +0900
commit4498cf252bfd7f69a4e9aedd897306211a0be5af (patch)
treedb83f90efbec3c283f8d8c909f2c9a21c1e81a0a /drivers/usb/gadget/regs-otg.h
parent31e0bd6974cbaca15e15f400acf1d7499e86fe17 (diff)
driver:usb:s3c_udc: add support for Exynos4x12
This patch add new defines for usb phy for Exynos4x12. Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/usb/gadget/regs-otg.h')
-rw-r--r--drivers/usb/gadget/regs-otg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/gadget/regs-otg.h b/drivers/usb/gadget/regs-otg.h
index 84bfcc5a01..ac5d11213d 100644
--- a/drivers/usb/gadget/regs-otg.h
+++ b/drivers/usb/gadget/regs-otg.h
@@ -226,6 +226,11 @@ struct s3c_usbotg_reg {
#define CLK_SEL_12MHZ (0x2 << 0)
#define CLK_SEL_48MHZ (0x0 << 0)
+#define EXYNOS4X12_ID_PULLUP0 (0x01 << 3)
+#define EXYNOS4X12_COMMON_ON_N0 (0x01 << 4)
+#define EXYNOS4X12_CLK_SEL_12MHZ (0x02 << 0)
+#define EXYNOS4X12_CLK_SEL_24MHZ (0x05 << 0)
+
/* Device Configuration Register DCFG */
#define DEV_SPEED_HIGH_SPEED_20 (0x0 << 0)
#define DEV_SPEED_FULL_SPEED_20 (0x1 << 0)