serial: sccnxp: Allows the driver to be compiled as a module
[firefly-linux-kernel-4.4.55.git] / drivers / tty / serial / Kconfig
index 26907cf25744f1b5295716bf792cc42cdb9fb069..2a53be5f010d9af3ee0ed1950f5951524e9a7cb3 100644 (file)
@@ -141,6 +141,25 @@ config SERIAL_ATMEL_TTYAT
 
          Say Y if you have an external 8250/16C550 UART.  If unsure, say N.
 
+config SERIAL_KGDB_NMI
+       bool "Serial console over KGDB NMI debugger port"
+       depends on KGDB_SERIAL_CONSOLE
+       help
+         This special driver allows you to temporary use NMI debugger port
+         as a normal console (assuming that the port is attached to KGDB).
+
+         Unlike KDB's disable_nmi command, with this driver you are always
+         able to go back to the debugger using KGDB escape sequence ($3#33).
+         This is because this console driver processes the input in NMI
+         context, and thus is able to intercept the magic sequence.
+
+         Note that since the console interprets input and uses polling
+         communication methods, for things like PPP you still must fully
+         detach debugger port from the KGDB NMI (i.e. disable_nmi), and
+         use raw console.
+
+         If unsure, say N.
+
 config SERIAL_KS8695
        bool "Micrel KS8695 (Centaur) serial port support"
        depends on ARCH_KS8695
@@ -693,7 +712,7 @@ config SERIAL_SH_SCI_CONSOLE
 
 config SERIAL_SH_SCI_DMA
        bool "DMA support"
-       depends on SERIAL_SH_SCI && SH_DMAE && EXPERIMENTAL
+       depends on SERIAL_SH_SCI && SH_DMAE
 
 config SERIAL_PNX8XXX
        bool "Enable PNX8XXX SoCs' UART Support"
@@ -1131,7 +1150,7 @@ config SERIAL_SC26XX_CONSOLE
          Support for Console on SC2681/SC2692 serial ports.
 
 config SERIAL_SCCNXP
-       bool "SCCNXP serial port support"
+       tristate "SCCNXP serial port support"
        depends on !SERIAL_SC26XX
        select SERIAL_CORE
        default n
@@ -1143,7 +1162,7 @@ config SERIAL_SCCNXP
 
 config SERIAL_SCCNXP_CONSOLE
        bool "Console on SCCNXP serial port"
-       depends on SERIAL_SCCNXP
+       depends on SERIAL_SCCNXP=y
        select SERIAL_CORE_CONSOLE
        help
          Support for console on SCCNXP serial ports.
@@ -1304,7 +1323,7 @@ config SERIAL_ALTERA_UART_CONSOLE
 
 config SERIAL_IFX6X60
         tristate "SPI protocol driver for Infineon 6x60 modem (EXPERIMENTAL)"
-       depends on GPIOLIB && SPI && EXPERIMENTAL
+       depends on GPIOLIB && SPI
        help
          Support for the IFX6x60 modem devices on Intel MID platforms.