• Maciej W. Rozycki's avatar
    sb1250-duart.c: SB1250 DUART serial support · b45d5279
    Maciej W. Rozycki authored
    This is a driver for the SB1250 DUART, a dual serial port implementation
    included in the Broadcom family of SOCs descending from the SiByte SB1250
    MIPS64 chip multiprocessor.  It is a new implementation replacing the
    old-fashioned driver currently present in the linux-mips.org tree.  It
    supports all the usual features one would expect from a(n asynchronous)
    serial driver, including modem line control (as far as hardware supports it
    -- there is edge detection logic missing from the DCD and RI lines and the
    driver does not implement polling of these lines at the moment), the serial
    console, BREAK transmission and reception, including the magic SysRq.  The
    receive FIFO threshold is not maintained though.
    
    The driver was tested with a SWARM board which uses a BCM1250 SOC (which is
    dual MIPS64 CMP) and has both ports of the single DUART implemented wired
    externally.  Both were tested.  Testing included using the ports as
    terminal lines at 1200bps (which is the ports minimum), 115200bps and a
    couple of random speeds inbetween.  The modem lines were verified to
    operate correctly.  No testing was performed with a use as a network
    interface, like with SLIP or PPP.
    Signed-off-by: default avatarMaciej W. Rozycki <macro@linux-mips.org>
    Acked-by: default avatarRalf Baechle <ralf@linux-mips.org>
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    b45d5279
sb1250-duart.c 23.9 KB