11 Nov, 2011

1 commit


04 Nov, 2011

1 commit

  • This fixes up support for SH-2(A) SCIFs by introducing a new regtype. As
    expected, it's close to the SH-4A SCIF with fifodata, but still different
    enough to warrant its own type.

    Fixes up a number of FIFO overflows and similar for both SH7203/SH7264.

    Signed-off-by: Phil Edworthy
    Tested-by: Federico Fuga
    Signed-off-by: Paul Mundt

    Phil Edworthy
     

19 Sep, 2011

1 commit


28 Jun, 2011

1 commit


14 Jun, 2011

1 commit

  • This takes a bit of a sledgehammer to the horribly CPU subtype
    ifdef-ridden header and abstracts all of the different register layouts
    in to distinct types which in turn can be overriden on a per-port basis,
    or permitted to default to the map matching the port type at probe time.

    In the process this ultimately fixes up inumerable bugs with mismatches
    on various CPU types (particularly the legacy ones that were obviously
    broken years ago and no one noticed) and provides a more tightly coupled
    and consolidated platform for extending and implementing generic
    features.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

08 Jun, 2011

2 commits

  • Non-SCI parts do not have the special port reg necessary for cases where
    the RX and SCI pins are muxed and need to be manually polled, so these
    like always fall back on the normal FIFO processing paths. SH7760 is in a
    class in and of itself with regards to mapping its SIM card interface via
    the SCI port class despite not having any of the RXD lines wired up and
    so implicitly behaving more like a SCIF in this regard. Out of the other
    CPUs, some support the port check via the same block while others do it
    through an external SuperI/O, so it's not even possible to perform the
    check relative to the ioremapped cookie offset, so the separate read
    semantics are preserved here, too.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • This consolidates all of the broken out overrun handling and ensures that
    we have sensible defaults per-port type, in addition to making sure that
    overruns are flagged appropriately in the error mask for parts that
    haven't explicitly disabled support for it.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

19 Jan, 2011

4 commits


13 Jan, 2011

1 commit

  • …nux-2.6 into common/serial-rework

    Conflicts:
    arch/sh/kernel/cpu/sh2/setup-sh7619.c
    arch/sh/kernel/cpu/sh2a/setup-mxg.c
    arch/sh/kernel/cpu/sh2a/setup-sh7201.c
    arch/sh/kernel/cpu/sh2a/setup-sh7203.c
    arch/sh/kernel/cpu/sh2a/setup-sh7206.c
    arch/sh/kernel/cpu/sh3/setup-sh7705.c
    arch/sh/kernel/cpu/sh3/setup-sh770x.c
    arch/sh/kernel/cpu/sh3/setup-sh7710.c
    arch/sh/kernel/cpu/sh3/setup-sh7720.c
    arch/sh/kernel/cpu/sh4/setup-sh4-202.c
    arch/sh/kernel/cpu/sh4/setup-sh7750.c
    arch/sh/kernel/cpu/sh4/setup-sh7760.c
    arch/sh/kernel/cpu/sh4a/setup-sh7343.c
    arch/sh/kernel/cpu/sh4a/setup-sh7366.c
    arch/sh/kernel/cpu/sh4a/setup-sh7722.c
    arch/sh/kernel/cpu/sh4a/setup-sh7723.c
    arch/sh/kernel/cpu/sh4a/setup-sh7724.c
    arch/sh/kernel/cpu/sh4a/setup-sh7763.c
    arch/sh/kernel/cpu/sh4a/setup-sh7770.c
    arch/sh/kernel/cpu/sh4a/setup-sh7780.c
    arch/sh/kernel/cpu/sh4a/setup-sh7785.c
    arch/sh/kernel/cpu/sh4a/setup-sh7786.c
    arch/sh/kernel/cpu/sh4a/setup-shx3.c
    arch/sh/kernel/cpu/sh5/setup-sh5.c
    drivers/serial/sh-sci.c
    drivers/serial/sh-sci.h
    include/linux/serial_sci.h

    Paul Mundt
     

25 May, 2010

1 commit


23 Mar, 2010

1 commit

  • This patch replaces the sh_dmae_slave_chan_id enum
    with an unsigned int. The purpose of this chainge is
    to make it possible to separate the slave id enums
    from the dmaengine header.

    The slave id enums varies with processor model, so in
    the future it makes sense to put these in the processor
    specific headers together with the pinmux enums.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     

10 Mar, 2010

1 commit

  • This patch fixes a build failure for various arm based defconfigs
    [1][2][3] and maybe other architectures/configs.

    The build failure was introduced by the sh specific patch [4]
    "serial: sh-sci: Add DMA support"
    by Guennadi Liakhovetski

    Patch against linux-next of 20100309

    References:
    [1] http://kisskb.ellerman.id.au/kisskb/buildresult/2248992/
    [2] http://kisskb.ellerman.id.au/kisskb/buildresult/2248996/
    [3] http://kisskb.ellerman.id.au/kisskb/buildresult/2248998/
    [4] http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=commit;h=73a19e4c0301908ce6346715fd08a74308451f5a

    Signed-off-by: Peter Huewe
    Signed-off-by: Paul Mundt

    Peter Huewe
     

02 Mar, 2010

1 commit


24 Jun, 2009

2 commits


08 May, 2009

2 commits


26 Feb, 2008

1 commit

  • This header is needed on other architectures as well (namely h8300),
    which currently fails to build without this in place. Rather than
    duplicating the port definition completely there, just move this to a
    common location instead.

    This should get h8300 working again for 2.6.25, in addition to the
    changes already pushed by Sato-san in -rc2.

    Signed-off-by: Paul Mundt

    Paul Mundt