diff options
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r-- | drivers/serial/Kconfig | 103 |
1 files changed, 103 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index ad9f321968e1..924e9bd757f0 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig | |||
@@ -254,6 +254,15 @@ config SERIAL_8250_AU1X00 | |||
254 | to this option. The driver can handle 1 or 2 serial ports. | 254 | to this option. The driver can handle 1 or 2 serial ports. |
255 | If unsure, say N. | 255 | If unsure, say N. |
256 | 256 | ||
257 | config SERIAL_8250_RM9K | ||
258 | bool "Support for MIPS RM9xxx integrated serial port" | ||
259 | depends on SERIAL_8250 != n && SERIAL_RM9000 | ||
260 | select SERIAL_8250_SHARE_IRQ | ||
261 | help | ||
262 | Selecting this option will add support for the integrated serial | ||
263 | port hardware found on MIPS RM9122 and similar processors. | ||
264 | If unsure, say N. | ||
265 | |||
257 | comment "Non-8250 serial port support" | 266 | comment "Non-8250 serial port support" |
258 | 267 | ||
259 | config SERIAL_AMBA_PL010 | 268 | config SERIAL_AMBA_PL010 |
@@ -499,6 +508,100 @@ config SERIAL_SA1100_CONSOLE | |||
499 | your boot loader (lilo or loadlin) about how to pass options to the | 508 | your boot loader (lilo or loadlin) about how to pass options to the |
500 | kernel at boot time.) | 509 | kernel at boot time.) |
501 | 510 | ||
511 | config SERIAL_BFIN | ||
512 | tristate "Blackfin serial port support" | ||
513 | depends on BFIN | ||
514 | select SERIAL_CORE | ||
515 | select SERIAL_BFIN_UART0 if (BF531 || BF532 || BF533 || BF561) | ||
516 | help | ||
517 | Add support for the built-in UARTs on the Blackfin. | ||
518 | |||
519 | To compile this driver as a module, choose M here: the | ||
520 | module will be called bfin_5xx. | ||
521 | |||
522 | config SERIAL_BFIN_CONSOLE | ||
523 | bool "Console on Blackfin serial port" | ||
524 | depends on SERIAL_BFIN | ||
525 | select SERIAL_CORE_CONSOLE | ||
526 | |||
527 | choice | ||
528 | prompt "UART Mode" | ||
529 | depends on SERIAL_BFIN | ||
530 | default SERIAL_BFIN_DMA | ||
531 | help | ||
532 | This driver supports the built-in serial ports of the Blackfin family | ||
533 | of CPUs | ||
534 | |||
535 | config SERIAL_BFIN_DMA | ||
536 | bool "DMA mode" | ||
537 | depends on DMA_UNCACHED_1M | ||
538 | help | ||
539 | This driver works under DMA mode. If this option is selected, the | ||
540 | blackfin simple dma driver is also enabled. | ||
541 | |||
542 | config SERIAL_BFIN_PIO | ||
543 | bool "PIO mode" | ||
544 | help | ||
545 | This driver works under PIO mode. | ||
546 | |||
547 | endchoice | ||
548 | |||
549 | config SERIAL_BFIN_UART0 | ||
550 | bool "Enable UART0" | ||
551 | depends on SERIAL_BFIN | ||
552 | help | ||
553 | Enable UART0 | ||
554 | |||
555 | config BFIN_UART0_CTSRTS | ||
556 | bool "Enable UART0 hardware flow control" | ||
557 | depends on SERIAL_BFIN_UART0 | ||
558 | help | ||
559 | Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS | ||
560 | signal. | ||
561 | |||
562 | config UART0_CTS_PIN | ||
563 | int "UART0 CTS pin" | ||
564 | depends on BFIN_UART0_CTSRTS | ||
565 | default 23 | ||
566 | help | ||
567 | The default pin is GPIO_GP7. | ||
568 | Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. | ||
569 | |||
570 | config UART0_RTS_PIN | ||
571 | int "UART0 RTS pin" | ||
572 | depends on BFIN_UART0_CTSRTS | ||
573 | default 22 | ||
574 | help | ||
575 | The default pin is GPIO_GP6. | ||
576 | Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. | ||
577 | |||
578 | config SERIAL_BFIN_UART1 | ||
579 | bool "Enable UART1" | ||
580 | depends on SERIAL_BFIN && (BF534 || BF536 || BF537) | ||
581 | help | ||
582 | Enable UART1 | ||
583 | |||
584 | config BFIN_UART1_CTSRTS | ||
585 | bool "Enable UART1 hardware flow control" | ||
586 | depends on SERIAL_BFIN_UART1 | ||
587 | help | ||
588 | Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS | ||
589 | signal. | ||
590 | |||
591 | config UART1_CTS_PIN | ||
592 | int "UART1 CTS pin" | ||
593 | depends on BFIN_UART1_CTSRTS | ||
594 | default -1 | ||
595 | help | ||
596 | Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. | ||
597 | |||
598 | config UART1_RTS_PIN | ||
599 | int "UART1 RTS pin" | ||
600 | depends on BFIN_UART1_CTSRTS | ||
601 | default -1 | ||
602 | help | ||
603 | Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. | ||
604 | |||
502 | config SERIAL_IMX | 605 | config SERIAL_IMX |
503 | bool "IMX serial port support" | 606 | bool "IMX serial port support" |
504 | depends on ARM && ARCH_IMX | 607 | depends on ARM && ARCH_IMX |