diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/ioctls.h | 2 | ||||
-rw-r--r-- | arch/arm/include/asm/termbits.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-armadillo5x0.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-mx31lilly.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-mx31lite.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-mx31moboard.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-pcm037.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mach-pcm043.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mx31moboard-smartbot.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/regs-usb-hsotg.h | 2 |
10 files changed, 15 insertions, 10 deletions
diff --git a/arch/arm/include/asm/ioctls.h b/arch/arm/include/asm/ioctls.h index 7f0b6d13296a..0b30894b5482 100644 --- a/arch/arm/include/asm/ioctls.h +++ b/arch/arm/include/asm/ioctls.h | |||
@@ -52,6 +52,7 @@ | |||
52 | #define TCSETSF2 _IOW('T',0x2D, struct termios2) | 52 | #define TCSETSF2 _IOW('T',0x2D, struct termios2) |
53 | #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ | 53 | #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ |
54 | #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ | 54 | #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ |
55 | #define TIOCSIG _IOW('T',0x36, int) /* Generate signal on Pty slave */ | ||
55 | 56 | ||
56 | #define TIOCGRS485 0x542E | 57 | #define TIOCGRS485 0x542E |
57 | #define TIOCSRS485 0x542F | 58 | #define TIOCSRS485 0x542F |
@@ -81,6 +82,7 @@ | |||
81 | #define TIOCPKT_START 8 | 82 | #define TIOCPKT_START 8 |
82 | #define TIOCPKT_NOSTOP 16 | 83 | #define TIOCPKT_NOSTOP 16 |
83 | #define TIOCPKT_DOSTOP 32 | 84 | #define TIOCPKT_DOSTOP 32 |
85 | #define TIOCPKT_IOCTL 64 | ||
84 | 86 | ||
85 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ | 87 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ |
86 | 88 | ||
diff --git a/arch/arm/include/asm/termbits.h b/arch/arm/include/asm/termbits.h index f784d11f40b5..704135d28d1d 100644 --- a/arch/arm/include/asm/termbits.h +++ b/arch/arm/include/asm/termbits.h | |||
@@ -177,6 +177,7 @@ struct ktermios { | |||
177 | #define FLUSHO 0010000 | 177 | #define FLUSHO 0010000 |
178 | #define PENDIN 0040000 | 178 | #define PENDIN 0040000 |
179 | #define IEXTEN 0100000 | 179 | #define IEXTEN 0100000 |
180 | #define EXTPROC 0200000 | ||
180 | 181 | ||
181 | /* tcflow() and TCXONC use these */ | 182 | /* tcflow() and TCXONC use these */ |
182 | #define TCOOFF 0 | 183 | #define TCOOFF 0 |
diff --git a/arch/arm/mach-mx3/mach-armadillo5x0.c b/arch/arm/mach-mx3/mach-armadillo5x0.c index 96aadcadb4ff..68879c996a55 100644 --- a/arch/arm/mach-mx3/mach-armadillo5x0.c +++ b/arch/arm/mach-mx3/mach-armadillo5x0.c | |||
@@ -551,9 +551,9 @@ static void __init armadillo5x0_init(void) | |||
551 | /* USB */ | 551 | /* USB */ |
552 | #if defined(CONFIG_USB_ULPI) | 552 | #if defined(CONFIG_USB_ULPI) |
553 | usbotg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 553 | usbotg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
554 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 554 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
555 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 555 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
556 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 556 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
557 | 557 | ||
558 | mxc_register_device(&mxc_otg_host, &usbotg_pdata); | 558 | mxc_register_device(&mxc_otg_host, &usbotg_pdata); |
559 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); | 559 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); |
diff --git a/arch/arm/mach-mx3/mach-mx31lilly.c b/arch/arm/mach-mx3/mach-mx31lilly.c index 8f66f65e80e2..7c37daabb757 100644 --- a/arch/arm/mach-mx3/mach-mx31lilly.c +++ b/arch/arm/mach-mx3/mach-mx31lilly.c | |||
@@ -245,9 +245,9 @@ static struct mxc_usbh_platform_data usbh2_pdata = { | |||
245 | static void lilly1131_usb_init(void) | 245 | static void lilly1131_usb_init(void) |
246 | { | 246 | { |
247 | usbotg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 247 | usbotg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
248 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 248 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
249 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 249 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
250 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 250 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
251 | 251 | ||
252 | mxc_register_device(&mxc_usbh1, &usbh1_pdata); | 252 | mxc_register_device(&mxc_usbh1, &usbh1_pdata); |
253 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); | 253 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); |
diff --git a/arch/arm/mach-mx3/mach-mx31lite.c b/arch/arm/mach-mx3/mach-mx31lite.c index da236c497d2a..f66a9576d8c2 100644 --- a/arch/arm/mach-mx3/mach-mx31lite.c +++ b/arch/arm/mach-mx3/mach-mx31lite.c | |||
@@ -256,7 +256,7 @@ static void __init mxc_board_init(void) | |||
256 | #if defined(CONFIG_USB_ULPI) | 256 | #if defined(CONFIG_USB_ULPI) |
257 | /* USB */ | 257 | /* USB */ |
258 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 258 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
259 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 259 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
260 | 260 | ||
261 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); | 261 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); |
262 | #endif | 262 | #endif |
diff --git a/arch/arm/mach-mx3/mach-mx31moboard.c b/arch/arm/mach-mx3/mach-mx31moboard.c index 67776bc61c33..7a075e8bf2d4 100644 --- a/arch/arm/mach-mx3/mach-mx31moboard.c +++ b/arch/arm/mach-mx3/mach-mx31moboard.c | |||
@@ -412,7 +412,7 @@ static struct mxc_usbh_platform_data usbh2_pdata = { | |||
412 | static int __init moboard_usbh2_init(void) | 412 | static int __init moboard_usbh2_init(void) |
413 | { | 413 | { |
414 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 414 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
415 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 415 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
416 | 416 | ||
417 | return mxc_register_device(&mxc_usbh2, &usbh2_pdata); | 417 | return mxc_register_device(&mxc_usbh2, &usbh2_pdata); |
418 | } | 418 | } |
diff --git a/arch/arm/mach-mx3/mach-pcm037.c b/arch/arm/mach-mx3/mach-pcm037.c index 8a292dd1a714..214de11b20b9 100644 --- a/arch/arm/mach-mx3/mach-pcm037.c +++ b/arch/arm/mach-mx3/mach-pcm037.c | |||
@@ -654,13 +654,13 @@ static void __init mxc_board_init(void) | |||
654 | #if defined(CONFIG_USB_ULPI) | 654 | #if defined(CONFIG_USB_ULPI) |
655 | if (otg_mode_host) { | 655 | if (otg_mode_host) { |
656 | otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 656 | otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
657 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 657 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
658 | 658 | ||
659 | mxc_register_device(&mxc_otg_host, &otg_pdata); | 659 | mxc_register_device(&mxc_otg_host, &otg_pdata); |
660 | } | 660 | } |
661 | 661 | ||
662 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 662 | usbh2_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
663 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 663 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
664 | 664 | ||
665 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); | 665 | mxc_register_device(&mxc_usbh2, &usbh2_pdata); |
666 | #endif | 666 | #endif |
diff --git a/arch/arm/mach-mx3/mach-pcm043.c b/arch/arm/mach-mx3/mach-pcm043.c index 47f5311b301a..28886f0e62f9 100644 --- a/arch/arm/mach-mx3/mach-pcm043.c +++ b/arch/arm/mach-mx3/mach-pcm043.c | |||
@@ -378,7 +378,7 @@ static void __init mxc_board_init(void) | |||
378 | #if defined(CONFIG_USB_ULPI) | 378 | #if defined(CONFIG_USB_ULPI) |
379 | if (otg_mode_host) { | 379 | if (otg_mode_host) { |
380 | otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 380 | otg_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
381 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 381 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
382 | 382 | ||
383 | mxc_register_device(&mxc_otg_host, &otg_pdata); | 383 | mxc_register_device(&mxc_otg_host, &otg_pdata); |
384 | } | 384 | } |
diff --git a/arch/arm/mach-mx3/mx31moboard-smartbot.c b/arch/arm/mach-mx3/mx31moboard-smartbot.c index 40c3e7564cb6..417757e78c65 100644 --- a/arch/arm/mach-mx3/mx31moboard-smartbot.c +++ b/arch/arm/mach-mx3/mx31moboard-smartbot.c | |||
@@ -134,7 +134,7 @@ static struct mxc_usbh_platform_data otg_host_pdata = { | |||
134 | static int __init smartbot_otg_host_init(void) | 134 | static int __init smartbot_otg_host_init(void) |
135 | { | 135 | { |
136 | otg_host_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, | 136 | otg_host_pdata.otg = otg_ulpi_create(&mxc_ulpi_access_ops, |
137 | USB_OTG_DRV_VBUS | USB_OTG_DRV_VBUS_EXT); | 137 | ULPI_OTG_DRVVBUS | ULPI_OTG_DRVVBUS_EXT); |
138 | 138 | ||
139 | return mxc_register_device(&mxc_otg_host, &otg_host_pdata); | 139 | return mxc_register_device(&mxc_otg_host, &otg_host_pdata); |
140 | } | 140 | } |
diff --git a/arch/arm/plat-samsung/include/plat/regs-usb-hsotg.h b/arch/arm/plat-samsung/include/plat/regs-usb-hsotg.h index 8d18d9d4d148..dc90f5ede88f 100644 --- a/arch/arm/plat-samsung/include/plat/regs-usb-hsotg.h +++ b/arch/arm/plat-samsung/include/plat/regs-usb-hsotg.h | |||
@@ -226,6 +226,7 @@ | |||
226 | 226 | ||
227 | #define S3C_DIEPMSK S3C_HSOTG_REG(0x810) | 227 | #define S3C_DIEPMSK S3C_HSOTG_REG(0x810) |
228 | 228 | ||
229 | #define S3C_DIEPMSK_TxFIFOEmpty (1 << 7) | ||
229 | #define S3C_DIEPMSK_INEPNakEffMsk (1 << 6) | 230 | #define S3C_DIEPMSK_INEPNakEffMsk (1 << 6) |
230 | #define S3C_DIEPMSK_INTknEPMisMsk (1 << 5) | 231 | #define S3C_DIEPMSK_INTknEPMisMsk (1 << 5) |
231 | #define S3C_DIEPMSK_INTknTXFEmpMsk (1 << 4) | 232 | #define S3C_DIEPMSK_INTknTXFEmpMsk (1 << 4) |
@@ -371,6 +372,7 @@ | |||
371 | 372 | ||
372 | #define S3C_DIEPDMA(_a) S3C_HSOTG_REG(0x914 + ((_a) * 0x20)) | 373 | #define S3C_DIEPDMA(_a) S3C_HSOTG_REG(0x914 + ((_a) * 0x20)) |
373 | #define S3C_DOEPDMA(_a) S3C_HSOTG_REG(0xB14 + ((_a) * 0x20)) | 374 | #define S3C_DOEPDMA(_a) S3C_HSOTG_REG(0xB14 + ((_a) * 0x20)) |
375 | #define S3C_DTXFSTS(_a) S3C_HSOTG_REG(0x918 + ((_a) * 0x20)) | ||
374 | 376 | ||
375 | #define S3C_EPFIFO(_a) S3C_HSOTG_REG(0x1000 + ((_a) * 0x1000)) | 377 | #define S3C_EPFIFO(_a) S3C_HSOTG_REG(0x1000 + ((_a) * 0x1000)) |
376 | 378 | ||