aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/Kconfig
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2009-04-07 11:52:26 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-07 11:44:05 -0400
commitd307d36adeaa70074773b3e5eab8d7e1beb008a4 (patch)
tree2a51257927be7c1a99ffb38b4752e0a4b56edc2a /drivers/serial/Kconfig
parent6f95570e407d03c5140a220e054f9b18abdc7041 (diff)
tty: Blackin CTS/RTS
Both software emulated and hardware based CTS and RTS are enabled in serial driver. The CTS RTS PIN connection on BF548 UART port is defined as a modem device not as a host device. In order to test it under Linux, please nake a cross UART cable to exchange CTS and RTS signal. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r--drivers/serial/Kconfig26
1 files changed, 20 insertions, 6 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index d89972beb12..f2e5736ad0c 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -734,7 +734,7 @@ config BFIN_UART0_CTSRTS
734 734
735config UART0_CTS_PIN 735config UART0_CTS_PIN
736 int "UART0 CTS pin" 736 int "UART0 CTS pin"
737 depends on BFIN_UART0_CTSRTS 737 depends on BFIN_UART0_CTSRTS && !BF548
738 default 23 738 default 23
739 help 739 help
740 The default pin is GPIO_GP7. 740 The default pin is GPIO_GP7.
@@ -742,7 +742,7 @@ config UART0_CTS_PIN
742 742
743config UART0_RTS_PIN 743config UART0_RTS_PIN
744 int "UART0 RTS pin" 744 int "UART0 RTS pin"
745 depends on BFIN_UART0_CTSRTS 745 depends on BFIN_UART0_CTSRTS && !BF548
746 default 22 746 default 22
747 help 747 help
748 The default pin is GPIO_GP6. 748 The default pin is GPIO_GP6.
@@ -763,14 +763,14 @@ config BFIN_UART1_CTSRTS
763 763
764config UART1_CTS_PIN 764config UART1_CTS_PIN
765 int "UART1 CTS pin" 765 int "UART1 CTS pin"
766 depends on BFIN_UART1_CTSRTS && !BF54x 766 depends on BFIN_UART1_CTSRTS && !BF548
767 default -1 767 default -1
768 help 768 help
769 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. 769 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
770 770
771config UART1_RTS_PIN 771config UART1_RTS_PIN
772 int "UART1 RTS pin" 772 int "UART1 RTS pin"
773 depends on BFIN_UART1_CTSRTS && !BF54x 773 depends on BFIN_UART1_CTSRTS && !BF548
774 default -1 774 default -1
775 help 775 help
776 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. 776 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
@@ -790,14 +790,14 @@ config BFIN_UART2_CTSRTS
790 790
791config UART2_CTS_PIN 791config UART2_CTS_PIN
792 int "UART2 CTS pin" 792 int "UART2 CTS pin"
793 depends on BFIN_UART2_CTSRTS 793 depends on BFIN_UART2_CTSRTS && !BF548
794 default -1 794 default -1
795 help 795 help
796 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. 796 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
797 797
798config UART2_RTS_PIN 798config UART2_RTS_PIN
799 int "UART2 RTS pin" 799 int "UART2 RTS pin"
800 depends on BFIN_UART2_CTSRTS 800 depends on BFIN_UART2_CTSRTS && !BF548
801 default -1 801 default -1
802 help 802 help
803 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. 803 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
@@ -815,6 +815,20 @@ config BFIN_UART3_CTSRTS
815 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS 815 Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS
816 signal. 816 signal.
817 817
818config UART3_CTS_PIN
819 int "UART3 CTS pin"
820 depends on BFIN_UART3_CTSRTS && !BF548
821 default -1
822 help
823 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
824
825config UART3_RTS_PIN
826 int "UART3 RTS pin"
827 depends on BFIN_UART3_CTSRTS && !BF548
828 default -1
829 help
830 Refer to ./include/asm-blackfin/gpio.h to see the GPIO map.
831
818config SERIAL_IMX 832config SERIAL_IMX
819 bool "IMX serial port support" 833 bool "IMX serial port support"
820 depends on ARM && (ARCH_IMX || ARCH_MXC) 834 depends on ARM && (ARCH_IMX || ARCH_MXC)