07 Jul, 2009
1 commit
-
Fix up the error bit handling on SCI ports.
Signed-off-by: SUGIOKA Toshinobu
Signed-off-by: Paul Mundt
03 Jul, 2009
1 commit
-
This patch updates the receive error code for muxed
interrupts in the sh-sci driver.Receive error interrupts may be generated by the hardware
if RE or REIE bits in SCSCR are set. Update the muxed
interrupt handling code to acknowledge error interrupts
if RE or REIE is set, instead of only acknowledging if
REIE is set.Without this patch error interrupts may be generated but
never acked resulting in a "nobody cared" crash.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt
15 Jun, 2009
1 commit
-
Presently the boot log whines about suspend/resume hooks at the platform
driver level, move these over to dev_pm_ops.Signed-off-by: Paul Mundt
02 Jun, 2009
1 commit
-
Fix SCI transmission sequence in console output function.
This reorders the write sequence to match the SH-3 manual, and corrects
a console corruption bug observed on SH-3 SCI.Signed-off-by: Toshinobu Sugioka
Signed-off-by: Paul Mundt
13 May, 2009
1 commit
-
For consistenct naming, and to allow us to fix up some confusion in the
SH-Mobile clock framework, amongst other places.Signed-off-by: Paul Mundt
08 May, 2009
10 commits
-
- Dummy SCIF functions define.
- h8300 specific header include.Signed-off-by: Yoshinori Sato
Signed-off-by: Paul Mundt -
The sci_probe_single() path attempts to use sci_remove() for the error
path, while sci_remove() is still flagged as __devexit. So, we simply
discard the section annotation.Signed-off-by: Paul Mundt
-
Use enable/disable hooks for clock framework integration.
Make sure we control the clock for the serial console as well.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Handle ioremap() in sci_config_port only.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Replace sci_init_ports() with sci_init_single().
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Allow registration of single port sh-sci platform devices.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Rework sh-sci serial console code.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
Remove unused early_sci_setup() function from sh-sci.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt -
This patch adds per-platform private data to the sh-sci driver.
Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt
07 May, 2009
1 commit
-
Presently this is special-cased for early initialization. While there are
situations where these static early initializations are still necessary,
with minor changes it is possible to use this for the regular ioremap
implementation as well. This allows us to kill off the special-casing for
the remap completely and to start tidying up all of the SH-5
special-casing in drivers.Signed-off-by: Paul Mundt
03 Mar, 2009
1 commit
-
This adds preliminary support for the SH7786 CPU subtype.
While this is a dual-core CPU, only UP is supported for now. L2 cache
support is likewise not yet implemented.More information on this particular CPU subtype is available at:
http://www.renesas.com/fmwk.jsp?cnt=sh7786_root.jsp&fp=/products/mpumcu/superh_family/sh7780_series/sh7786_group/
Signed-off-by: Kuninori Morimoto
Signed-off-by: Paul Mundt
27 Feb, 2009
1 commit
-
Modify the serial console code to wait for the transmit FIFO,
make sure all bits have been put on the wire before returning.Signed-off-by: Magnus Damm
Signed-off-by: Paul Mundt
22 Dec, 2008
8 commits
-
Signed-off-by: Paul Mundt
-
sci_poll_put_char() happens to also be used by the serial console,
while sci_poll_get_char() is only used by CONFIG_CONSOLE_POLL. Add
another gnarly ifdef to shut up the compiler.Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
Signed-off-by: Paul Mundt
-
Trivial coding style cleanups.
Signed-off-by: Michael Trimarchi
Signed-off-by: Paul Mundt
13 Nov, 2008
1 commit
-
Under qemu there is a race between the TDxE read-and-clear and the SCxTDR
write. While on hardware it can be gauranteed that the read-and-clear
will happen prior to the character being written out, no such assumption
can be made under emulation. As this path happens with IRQs off and the
hardware itself doesn't care about the ordering, move the SCxTDR write
until after the read-and-clear.Signed-off-by: Vladimir Prus
Signed-off-by: Paul Mundt
12 Nov, 2008
1 commit
-
SH7723 has SCIFA. This module is similer SCI register map, but it has FIFO.
So this patch adds new type(PORT_SCIFA) and change some type checking.Signed-off-by: Yoshihiro Shimoda
Signed-off-by: Paul Mundt
31 Oct, 2008
1 commit
-
Correct the interrupt handler in sh4 serial device, return the correct
value and check for what is anabled in the SCSCR register. The sh7722 is
broken just sending a break using minicom.Signed-off-by: Michael Trimarchi
Signed-off-by: Paul Mundt
28 Oct, 2008
1 commit
21 Oct, 2008
1 commit
-
…/git/tip/linux-2.6-tip
This merges branches irq/genirq, irq/sparseirq-v4, timers/hpet-percpu
and x86/uv.The sparseirq branch is just preliminary groundwork: no sparse IRQs are
actually implemented by this tree anymore - just the new APIs are added
while keeping the old way intact as well (the new APIs map 1:1 to
irq_desc[]). The 'real' sparse IRQ support will then be a relatively
small patch ontop of this - with a v2.6.29 merge target.* 'genirq-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (178 commits)
genirq: improve include files
intr_remapping: fix typo
io_apic: make irq_mis_count available on 64-bit too
genirq: fix name space collisions of nr_irqs in arch/*
genirq: fix name space collision of nr_irqs in autoprobe.c
genirq: use iterators for irq_desc loops
proc: fixup irq iterator
genirq: add reverse iterator for irq_desc
x86: move ack_bad_irq() to irq.c
x86: unify show_interrupts() and proc helpers
x86: cleanup show_interrupts
genirq: cleanup the sparseirq modifications
genirq: remove artifacts from sparseirq removal
genirq: revert dynarray
genirq: remove irq_to_desc_alloc
genirq: remove sparse irq code
genirq: use inline function for irq_to_desc
genirq: consolidate nr_irqs and for_each_irq_desc()
x86: remove sparse irq from Kconfig
genirq: define nr_irqs for architectures with GENERIC_HARDIRQS=n
...
16 Oct, 2008
1 commit
-
Signed-off-by: Yinghai Lu
Signed-off-by: Ingo Molnar
02 Oct, 2008
3 commits
-
This was added at a time when the compiler did a less than stellar job of
optimizing out dead code. These days this tends to be less of a concern,
so kill it all off.Signed-off-by: Paul Mundt
-
Presently this is conditionalized on sh, and disabled for sh64.
Now that SH-5 ties in to the clock framework, the sh64 exception
can be dropped. Additionally, ARM will want to use the same hooks
once SH-Mobile G3 grows clock framework support, so switch these
paths over to HAVE_CLK now.Once the H8 and ARM sh-sci users hook up HAVE_CLK, the driver can
be switched over to having an outright dependency on it and the
ifdefs can go away.Signed-off-by: Paul Mundt
01 Oct, 2008
1 commit
-
Presently we don't do much with UPF_IOREMAP other than special case it
for SH-5's onchip_remap() on the early console. Tie this in generically
for platforms that need the remap.Signed-off-by: Paul Mundt
08 Sep, 2008
1 commit
-
Signed-off-by: Paul Mundt
28 Jul, 2008
1 commit
-
SH7763 has 3 SCIF device. Current code supports SCIF0 and 1.
SCIF0 and 1 are same register constitution, but only SCIF2 is different.
I added support of SCIF2.Signed-off-by: Nobuhiro Iwamatsu
Signed-off-by: Paul Mundt
21 Jul, 2008
1 commit
-
The below is the patch to replace blindly all possible places,
including Jack's fixes.Signed-off-by: Takashi Iwai
(Reviewed and checked rather than blindly added)
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds
16 May, 2008
1 commit
-
Signed-off-by: Harvey Harrison
Signed-off-by: Paul Mundt