History log of /arch/sh/kernel/cpu/sh4/setup-sh4-202.c
Revision Date Author Comments
4dc50a068ad8fbbd2dd6dd5ac8ac2652589ba046 29-Mar-2010 Paul Mundt <lethal@linux-sh.org> sh: Kill off timer clock strings for legacy CPG parts.

Now with the lookup aliases in place there is no longer any need to
provide the clock string, kill it off for all legacy CPG CPUs.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
ec0ffe2ee0e0fb9da4409d86bfd72636450f32df 10-Mar-2010 Paul Mundt <lethal@linux-sh.org> sh: Kill off all timer name clobbering.

Now that dev_name() can be used early, we no longer require a static
string. Kill off all of the superfluous timer names.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
9d56dd3b083a3bec56e9da35ce07baca81030b03 25-Jan-2010 Paul Mundt <lethal@linux-sh.org> sh: Mass ctrl_in/outX to __raw_read/writeX conversion.

The old ctrl in/out routines are non-portable and unsuitable for
cross-platform use. While drivers/sh has already been sanitized, there
is still quite a lot of code that is not. This converts the arch/sh/ bits
over, which permits us to flag the routines as deprecated whilst still
building with -Werror for the architecture code, and to ensure that
future users are not added.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
cd5f107628ab89c5dec5ad923f1c27f4cba41972 14-Dec-2009 Magnus Damm <damm@opensource.se> sh: sh4 scif pdata (sh7750/sh7760/sh4-202)

This patch breaks out the sh4 scif serial port platform
data from a shared platform device to one platform
device per port. Also, add serial ports to the list of
early platform devices.

While at it, get rid of the R2D ifdef in the processor
code and adjust the defconfigs to use ttySC1.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
ba9a633787eed1e90d587282642580ad3d44f7fd 22-Jul-2009 Magnus Damm <damm@igel.co.jp> sh: convert processor device setup functions to arch_initcall()

Convert the processor platform device setup
functions from __initcall() and sometimes
device_initcall() to arch_initcall().

This makes sure that the platform devices are
registered a bit earlier so the devices are
available when drivers register using initcall
levels earlier than device_initcall().

A good example is platform devices needed by
i2c-sh_mobile.c which registers a bit earlier
using subsys_initcall().

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
955c9863bb5855a994751843e7066017edc00410 22-Jul-2009 Magnus Damm <damm@igel.co.jp> sh: convert processor device setup functions to arch_initcall()

Convert the processor platform device setup
functions from __initcall() and sometimes
device_initcall() to arch_initcall().

This makes sure that the platform devices are
registered a bit earlier so the devices are
available when drivers register using initcall
levels earlier than device_initcall().

A good example is platform devices needed by
i2c-sh_mobile.c which registers a bit earlier
using subsys_initcall().

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
26c92f3728d738aaa7e4859d5581323cd68096dd 24-Jun-2009 Paul Mundt <lethal@linux-sh.org> serial: sh-sci: Move SCBRR calculation algo in to platform data.

This permits each port to select its own SCBRR calculation algorithm,
rather than having it all ifdef'ed in the header. There are presently
only 5 different variations that all parts fall under.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
00b9de9c249f51f09c19aa41cbbb3e3eb4eea807 24-Jun-2009 Paul Mundt <lethal@linux-sh.org> serial: sh-sci: Move SCSCR_INIT in to platform data.

This moves all of the SCSCR_INIT definitions in to the platform data,
for future consolidation.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
af777ce42d3d51cdef353ce296d6f99dc503feef 13-May-2009 Paul Mundt <lethal@linux-sh.org> sh: clkfwk: module_clk -> peripheral_clk rename.

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 <lethal@linux-sh.org>
67d889bd828a3cbf36ef27bd4a5c5f7ec76e20b9 12-May-2009 Magnus Damm <damm@igel.co.jp> sh: add sh4-202 INTC tables

This patch adds INTC tables for sh4-202 with support
for HUDI, TMU0, TMU1, TMU2, RTC, SCIF and WDT.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
5f8a29ba39d52b2eaaed907b3cb3016b949a8f9b 12-May-2009 Magnus Damm <damm@igel.co.jp> sh: TMU platform data for sh4-202

This patch adds TMU platform data for sh4-202. Both clockevent
and clocksource support is enabled.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
96de1a8f0275bd67f243833e7088baced518f873 26-Feb-2008 Paul Mundt <lethal@linux-sh.org> serial: Move asm-sh/sci.h to linux/serial_sci.h.

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 <lethal@linux-sh.org>
b58d134c7f9566c32a60b7163fe75d5ec247446d 22-Aug-2007 Magnus Damm <damm@igel.co.jp> sh: missing symbol fix for sh4-202

This patch adds a plat_irq_setup() symbol for sh4-202. Without
this fix it is impossible to build a working kernel using the
microdev_defconfig.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
7dec62e96b38e6c62490ea5dc6939dd8d680a8b8 27-Sep-2006 Paul Mundt <lethal@linux-sh.org> sh: Add setup code for various CPU subtypes.

This adds some simple setup code for most of the CPU subtypes,
primarily simple platform device registration.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>