20 May, 2011

1 commit

  • Tegra's UART is currently auto-detected as PORT_XSCALE due to register
    bit UART_IER.UUE being writable. However, the Tegra documentation states
    that this register bit is reserved. Hence, we should not program it.

    Instead, the documentation specifies that the UART is 16550 compatible.
    However, Tegra does need register bit UART_IER.RTOIE set, which is not
    enabled by any 16550 port type. This was not noticed before, since
    PORT_XSCALE enables CAP_UUE, which conflates both UUE and RTOIE bit
    programming.

    This change defines PORT_TEGRA that doesn't set UART_CAP_UUE, but does
    set UART_CAP_RTOIE, which is a new capability indicating that the RTOIE
    bit needs to be enabled.

    Based-on-code-by: Laxman Dewangan
    Cc: Laxman Dewangan
    Signed-off-by: Stephen Warren
    Acked-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Stephen Warren
     

04 May, 2011

1 commit


14 Jan, 2011

1 commit


17 Dec, 2010

1 commit


11 Dec, 2010

1 commit

  • Some platforms contain a Synopsys DesignWare APB UART that is attached
    to a 32-bit APB bus where sub-word accesses are not allowed. Add a new
    IO type (UPIO_DWAPB32) that performs 32 bit acccesses to the UART.

    v2:
    - don't test for 32 bit in the output fast path, provide a
    separate dwabp32_serial_out() function. Refactor
    dwabp_serial_out() so that we can reuse the LCR saving
    code.
    v3:
    - rebased on top of "8250: use container_of() instead of
    casting"

    Signed-off-by: Jamie Iles
    Signed-off-by: Greg Kroah-Hartman

    Jamie Iles
     

17 Nov, 2010

1 commit


12 Nov, 2010

1 commit

  • This adds a driver for the serial ports found in VIA and WonderMedia
    Systems-on-Chip. Interrupt-driven FIFO operation is implemented.
    The hardware also supports pure register-based operation (which is
    slower) and DMA-based FIFO operation. As the FIFOs are only 16 bytes
    long, DMA operation is probably not worth the hassle.

    Signed-off-by: Alexey Charkov
    Signed-off-by: Greg Kroah-Hartman

    Alexey Charkov
     

26 Oct, 2010

1 commit

  • * 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (163 commits)
    omap: complete removal of machine_desc.io_pg_offst and .phys_io
    omap: UART: fix wakeup registers for OMAP24xx UART2
    omap: Fix spotty MMC voltages
    ASoC: OMAP4: MCPDM: Remove unnecessary include of plat/control.h
    serial: omap-serial: fix signess error
    OMAP3: DMA: Errata i541: sDMA FIFO draining does not finish
    omap: dma: Fix buffering disable bit setting for omap24xx
    omap: serial: Fix the boot-up crash/reboot without CONFIG_PM
    OMAP3: PM: fix scratchpad memory accesses for off-mode
    omap4: pandaboard: enable the ehci port on pandaboard
    omap4: pandaboard: Fix the init if CONFIG_MMC_OMAP_HS is not set
    omap4: pandaboard: remove unused hsmmc definition
    OMAP: McBSP: Remove null omap44xx ops comment
    OMAP: McBSP: Swap CLKS source definition
    OMAP: McBSP: Fix CLKR and FSR signal muxing
    OMAP2+: clock: reduce the amount of standard debugging while disabling unused clocks
    OMAP: control: move plat-omap/control.h to mach-omap2/control.h
    OMAP: split plat-omap/common.c
    OMAP: McBSP: implement functional clock switching via clock framework
    OMAP: McBSP: implement McBSP CLKR and FSR signal muxing via mach-omap2/mcbsp.c
    ...

    Fixed up trivial conflicts in arch/arm/mach-omap2/
    {board-zoom-peripherals.c,devices.c} as per Tony

    Linus Torvalds
     

23 Oct, 2010

2 commits


30 Sep, 2010

1 commit

  • This patch adds driver support for OMAP2/3/4 high speed UART.

    The driver is made separate from 8250 driver as we cannot
    over load 8250 driver with omap platform specific configuration for
    features like DMA, it makes easier to implement features like DMA and
    hardware flow control and software flow control configuration with
    this driver as required for the omap-platform.
    This patch involves only the core driver and its dependent.

    Cc: Tony Lindgren
    Signed-off-by: Govindraj.R
    Acked-by: Alan Cox
    Acked-by: Greg Kroah-Hartman
    Signed-off-by: Kevin Hilman

    Govindraj.R
     

04 Sep, 2010

1 commit


21 Aug, 2010

1 commit

  • Sysrq operations do not accept tty argument anymore so no need to pass
    it to us.

    [Stephen Rothwell : fix build breakage in drm code
    caused by sysrq using bool but not including linux/types.h]

    [Sachin Sant : fix build breakage in s390 keyboadr
    driver]

    Acked-by: Alan Cox
    Acked-by: Jason Wessel
    Acked-by: Greg Kroah-Hartman
    Signed-off-by: Dmitry Torokhov

    Dmitry Torokhov
     

12 Aug, 2010

1 commit

  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (226 commits)
    ARM: 6323/1: cam60: don't use __init for cam60_spi_{flash_platform_data,partitions}
    ARM: 6324/1: cam60: move cam60_spi_devices to .init.data
    ARM: 6322/1: imx/pca100: Fix name of spi platform data
    ARM: 6321/1: fix syntax error in main Kconfig file
    ARM: 6297/1: move U300 timer to dynamic clock lookup
    ARM: 6296/1: clock U300 intcon and timer properly
    ARM: 6295/1: fix U300 apb_pclk split
    ARM: 6306/1: fix inverted MMC card detect in U300
    ARM: 6299/1: errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID
    ARM: 6294/1: etm: do a dummy read from OSSRR during initialization
    ARM: 6292/1: coresight: add ETM management registers
    ARM: 6288/1: ftrace: document mcount formats
    ARM: 6287/1: ftrace: clean up mcount assembly indentation
    ARM: 6286/1: fix Thumb-2 decompressor broken by "Auto calculate ZRELADDR"
    ARM: 6281/1: video/imxfb.c: allow usage without BACKLIGHT_CLASS_DEVICE
    ARM: 6280/1: imx: Fix build failure when including without
    ARM: S5PV210: Fix on missing s3c-sdhci card detection method for hsmmc3
    ARM: S5P: Fix on missing S5P_DEV_FIMC in plat-s5p/Kconfig
    ARM: S5PV210: Override FIMC driver name on Aquila board
    ARM: S5PC100: enable FIMC on SMDKC100
    ...

    Fix up conflicts in arch/arm/mach-{s5pc100,s5pv210}/cpu.c due to
    different subsystem 'setname' calls, and trivial port types in
    include/linux/serial_core.h

    Linus Torvalds
     

11 Aug, 2010

4 commits

  • UART Features extract from STEricsson U6715 data-sheet (arm926 SoC for mobile phone):
    * Fully compatible with industry standard 16C550 and 16C450 from various
    manufacturers
    * RX and TX 64 byte FIFO reduces CPU interrupts
    * Full double buffering
    * Modem control signals include CTS, RTS, (and DSR, DTR on UART1 only)
    * Automatic baud rate selection
    * Manual or automatic RTS/CTS smart hardware flow control
    * Programmable serial characteristics:
    – Baud rate generation (50 to 3.25M baud)
    – 5, 6, 7 or 8-bit characters
    – Even, odd or no-parity bit generation and detection
    – 1, 1.5 or 2 stop bit generation
    * Independent control of transmit, receive, line status, data set interrupts and FIFOs
    * Full status-reporting capabilities
    * Separate DMA signaling for RX and TX
    * Timed interrupt to spread receive interrupt on known duration
    * DMA time-out interrupt to allow detection of end of reception
    * Carkit pulse coding and decoding compliant with USB carkit control interface [40]

    In 16550A auto-configuration, if the fifo size is 64 then it's an U6 16550A port
    Add set_termios hook & export serial8250_do_set_termios to change uart
    clock following baudrate

    Signed-off-by: Philippe Langlais
    Acked-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Philippe Langlais
     
  • This is a PCI & UART driver, which suppors both PIO and DMA mode
    UART operation. It has 3 identical UART ports and one internal
    DMA controller.

    Current FW will export 4 pci devices for hsu: 3 uart ports and 1
    dma controller, each has one IRQ line. And we need to discuss the
    device model, one PCI device covering whole HSU should be a better
    model, but there is a problem of how to export the 4 IRQs info

    Current driver set the highest baud rate to 2746800bps, which is
    easy to scale down to 115200/230400.... To suport higher baud rate,
    we need add special process, change DLAB/DLH/PS/DIV/MUL registers
    all together.

    921600 is the highest baud rate that has been tested with Bluetooth
    modem connected to HSU port 0. Will test more when there is right
    BT firmware.

    Current version contains several work around for A0's Silicon bugs

    Signed-off-by: Feng Tang
    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Feng Tang
     
  • At the moment there is only one platform type supported and there is is
    hard wired, but with these changes the infrastructure is now there for
    anyone else to provide methods for their hardware.

    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     
  • Pass down the ldisc number so that the drivers don't have to peek into the
    tty object themselves. This lets us get rid of another case of back referencing
    port to tty which we don't want (because of races versus hangup/close).

    Signed-off-by: Alan Cox
    Cc: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Alan Cox
     

24 May, 2010

1 commit


22 May, 2010

3 commits

  • * 'kdb-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb: (25 commits)
    kdb,debug_core: Allow the debug core to receive a panic notification
    MAINTAINERS: update kgdb, kdb, and debug_core info
    debug_core,kdb: Allow the debug core to process a recursive debug entry
    printk,kdb: capture printk() when in kdb shell
    kgdboc,kdb: Allow kdb to work on a non open console port
    kgdb: Add the ability to schedule a breakpoint via a tasklet
    mips,kgdb: kdb low level trap catch and stack trace
    powerpc,kgdb: Introduce low level trap catching
    x86,kgdb: Add low level debug hook
    kgdb: remove post_primary_code references
    kgdb,docs: Update the kgdb docs to include kdb
    kgdboc,keyboard: Keyboard driver for kdb with kgdb
    kgdb: gdb "monitor" -> kdb passthrough
    sparc,sunzilog: Add console polling support for sunzilog serial driver
    sh,sh-sci: Use NO_POLL_CHAR in the SCIF polled console code
    kgdb,8250,pl011: Return immediately from console poll
    kgdb: core changes to support kdb
    kdb: core for kgdb back end (2 of 2)
    kdb: core for kgdb back end (1 of 2)
    kgdb,blackfin: Add in kgdb_arch_set_pc for blackfin
    ...

    Linus Torvalds
     
  • Add an UART driver for the UART component available as a SOPC (System on
    Programmable Chip) component for Altera FPGAs.

    Signed-off-by: Tobias Klauser
    Signed-off-by: Greg Kroah-Hartman

    Tobias Klauser
     
  • Add an UART driver for the JTAG UART component available as a SOPC
    (System on Programmable Chip) component for Altera FPGAs.

    Signed-off-by: Tobias Klauser
    Signed-off-by: Greg Kroah-Hartman

    Tobias Klauser
     

21 May, 2010

1 commit

  • The design of the kdb shell requires that every device that can
    provide input to kdb have a polling routine that exits immediately if
    there is no character available. This is required in order to get the
    page scrolling mechanism working.

    Changing the kernel debugger I/O API to require all polling character
    routines to exit immediately if there is no data allows the kernel
    debugger to process multiple input channels.

    NO_POLL_CHAR will be the return code to the polling routine when ever
    there is no character available.

    CC: linux-serial@vger.kernel.org
    Signed-off-by: Jason Wessel

    Jason Wessel
     

13 Mar, 2010

1 commit

  • Adds support, by using the PPS line discipline, for the PPS sources
    connected with the CD (Carrier Detect) pin of a serial port.

    [akpm@linux-foundation.org: fix cast size warnings]
    Signed-off-by: Rodolfo Giometti
    Cc: David Woodhouse
    Cc: Greg KH
    Cc: Alan Cox
    Cc: Alexander Gordeev
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rodolfo Giometti
     

05 Nov, 2009

1 commit


01 Oct, 2009

1 commit


24 Sep, 2009

1 commit

  • Fix new kernel-doc warnings in serial_core.[hc] files.

    Warning(include/linux/serial_core.h:485): No description found for parameter 'uport'
    Warning(include/linux/serial_core.h:485): Excess function parameter 'port' description in 'uart_handle_dcd_change'
    Warning(include/linux/serial_core.h:511): No description found for parameter 'uport'
    Warning(include/linux/serial_core.h:511): Excess function parameter 'port' description in 'uart_handle_cts_change'
    Warning(drivers/serial/serial_core.c:2437): No description found for parameter 'uport'
    Warning(drivers/serial/serial_core.c:2437): Excess function parameter 'port' description in 'uart_add_one_port'
    Warning(drivers/serial/serial_core.c:2509): No description found for parameter 'uport'
    Warning(drivers/serial/serial_core.c:2509): Excess function parameter 'port' description in 'uart_remove_one_port'

    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

20 Sep, 2009

9 commits


23 Jun, 2009

1 commit


11 Jun, 2009

2 commits


07 Apr, 2009

1 commit