1. 24 7月, 2015 12 次提交
  2. 22 6月, 2015 1 次提交
    • P
      serial: 8250_ingenic: support for Ingenic SoC UARTs · 0cf985f4
      Paul Burton 提交于
      Introduce a driver suitable for use with the UARTs present in
      Ingenic SoCs such as the JZ4740 & JZ4780. These are described as being
      ns16550 compatible but aren't quite - they require the setting of an
      extra bit in the FCR register to enable the UART module. The serial_out
      implementation is the same as that in arch/mips/jz4740/serial.c - which
      will shortly be removed.
      Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Jiri Slaby <jslaby@suse.cz>
      Cc: Lars-Peter Clausen <lars@metafoo.de>
      Cc: linux-serial@vger.kernel.org
      Cc: linux-mips@linux-mips.org
      Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
      Cc: Peter Hurley <peter@hurleysoftware.com>
      Cc: Alan Cox <alan@linux.intel.com>
      Cc: linux-kernel@vger.kernel.org
      Cc: Matthias Brugger <matthias.bgg@gmail.com>
      Cc: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: John Crispin <blogic@openwrt.org>
      Patchwork: https://patchwork.linux-mips.org/patch/10159/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      0cf985f4
  3. 13 6月, 2015 2 次提交
  4. 10 6月, 2015 1 次提交
  5. 01 6月, 2015 5 次提交
  6. 25 5月, 2015 2 次提交
    • A
      tty: serial/8250: remove console dependency for mediatek · 7798edee
      Arnd Bergmann 提交于
      If the mediatek serial port driver is built-in, but serial
      console is disabled in Kconfig (e.g. when the serial driver
      itself is a loadable module), we get this build error:
      
      drivers/built-in.o: In function `early_mtk8250_setup':
      undefined reference to `early_serial8250_setup'
      
      To avoid that problem, this patch encloses the early_mtk8250_setup
      function in #ifdef CONFIG_SERIAL_8250_CONSOLE, the same symbol
      that guards the early_serial8250_setup function.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NEddie Huang <eddie.huang@mediatek.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7798edee
    • S
      serial: 8250_omap: provide complete custom startup & shutdown callbacks · 9e91597f
      Sebastian Andrzej Siewior 提交于
      The currently in-use port->startup and port->shutdown are "okay". The
      startup part for instance does the tiny omap extra part and invokes
      serial8250_do_startup() for the remaining pieces. The workflow in
      serial8250_do_startup() is okay except for the part where UART_RX is
      read without a check if there is something to read. I tried to
      workaround it in commit 0aa525d1 ("tty: serial: 8250_core: read only
      RX if there is something in the FIFO") but then reverted it later in
      commit ca8bb4ae ("serial: 8250: Revert "tty: serial: 8250_core: read
      only RX if there is something in the FIFO"").
      
      This is the second attempt to get it to work on older OMAPs without
      breaking other chips this time
      Peter Hurley suggested to pull in the few needed lines from
      serial8250_do_startup() and drop everything else that is not required
      including making it simpler like using just request_irq() instead the
      chain handler like it is doing now.
      So lets try that.
      
      Fixes: ca8bb4ae ("serial: 8250: Revert "tty: serial: 8250_core:
             read only RX if there is something in the FIFO"")
      Tested-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9e91597f
  7. 11 5月, 2015 4 次提交
  8. 07 5月, 2015 7 次提交
  9. 29 4月, 2015 1 次提交
  10. 15 4月, 2015 1 次提交
  11. 10 4月, 2015 3 次提交
  12. 27 3月, 2015 1 次提交