History log of /arch/arm/mach-clps711x/common.c
Revision Date Author Comments
fff74a935ec81d2353423917a2638aa1570d4634 19-Aug-2014 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Switch CLPS711X subarch to use clk and clocksource driver

This patch removes old support for clk and clocksource support and
switches platform to use new drivers.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2d57f248c7ffee5eb2f86a4a6901293fc0e646a9 19-Jun-2014 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Switch CLPS711X subarch to use cpuidle driver

This patch removes old support for cpuidle and switches all current
users to use new cpuidle driver.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Olof Johansson <olof@lixom.net>
6c41a9979c3f2d5c9cf3458dda3fdb6542535df8 01-Feb-2014 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Migrate CLPS711X subarch to the new irqchip driver

This patch remove old code and migrate Cirrus Logic CLPS711X subarch
to the new irqchip driver.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
161f408978ebbb5a83db05878a7e560acb9c7f21 16-Nov-2013 Stephen Boyd <sboyd@codeaurora.org> ARM: clps711x: Switch to sched_clock_register()

The 32 bit sched_clock interface now supports 64 bits. Upgrade to
the 64 bit function to allow us to remove the 32 bit registration
interface.

Cc: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
5bd8e16de3b88f7d61cb508b096474cc8aa8eefb 03-Oct-2013 Stephen Boyd <sboyd@codeaurora.org> ARM: clps711x: Use linux/sched_clock.h

The sched_clock.h include is under include/linux now.

Cc: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
7b6d864b48d95e6ea1df7df64475b9cb9616dcf9 09-Jul-2013 Robin Holt <holt@sgi.com> reboot: arm: change reboot_mode to use enum reboot_mode

Preparing to move the parsing of reboot= to generic kernel code forces
the change in reboot_mode handling to use the enum.

[akpm@linux-foundation.org: fix arch/arm/mach-socfpga/socfpga.c]
Signed-off-by: Robin Holt <holt@sgi.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Russ Anderson <rja@sgi.com>
Cc: Robin Holt <holt@sgi.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
7dfbf1b68eb9eea411781ff9e610377febe4d6a2 13-May-2013 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Optimize interrupt handling

This patch modify interrupt handler for processing all penging interrupts
at once.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Olof Johansson <olof@lixom.net>
c99f72addbf5c0ad37d5a9b26f99208464d35f5c 13-May-2013 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Add clocksource framework

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Olof Johansson <olof@lixom.net>
d0ad52a6fa9018d18076a887898f7912ae91f246 13-May-2013 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Replace "arch_initcall" in common code with ".init_early"

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Olof Johansson <olof@lixom.net>
2a6f06141533fc48dc4077b0b4a9e722c1b72711 13-May-2013 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Set PLL clock to zero if we work from 13 mHz source

This clock will be used in audio subsystem. Since audio cannot work
without PLL we should indicate this.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Olof Johansson <olof@lixom.net>
6bb27d7349db51b50c40534710fe164ca0d58902 08-Nov-2012 Stephen Warren <swarren@nvidia.com> ARM: delete struct sys_timer

Now that the only field in struct sys_timer is .init, delete the struct,
and replace the machine descriptor .timer field with the initialization
function itself.

This will enable moving timer drivers into drivers/clocksource without
having to place a public prototype of each struct sys_timer object into
include/linux; the intent is to create a single of_clocksource_init()
function that determines which timer driver to initialize by scanning
the device dtree, much like the proposed irqchip_init() at:
http://www.spinics.net/lists/arm-kernel/msg203686.html

Includes mach-omap2 fixes from Igor Grinberg.

Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
49e67de364ea7b2dd69066c95990e686d4de6154 17-Nov-2012 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Unused empty "ACK" calls for IRQ-chips removed

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Olof Johansson <olof@lixom.net>
197926108cc837474f8807678d6220bdce281620 17-Nov-2012 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Add FIQ interrupt handling

CLPS711X-target CPU can have a several FIQ interrupts. With this patch
we adds handling for a one which will be used for ALSA PCM later.
Since FIQ have a separate handler we only add "mask" and "unmask" calls
which will used for enable/disable_irq functions.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Olof Johansson <olof@lixom.net>
99f04c8f69753e4032059eeb0c21197948e459f7 17-Nov-2012 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Implement usage "MULTI_IRQ_HANDLER" kernel option for a platform

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Olof Johansson <olof@lixom.net>
6cb1b145b912721f7a00f3fb5938765b34558b08 10-Oct-2012 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: make all virtual addresses definition via one macro

This patch make all virtual addresses definition via one macro.
This modification allows to avoid warning "BUG: mapping for 0x80000000
at 0xff000000 out of vmalloc space".

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
74fde6de4f33e6d6bc3120ad517b8a4e4eae1851 10-Oct-2012 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: rework IRQ sybsustem initialization

Reworked IRQ subsystem to be able to use some interrupts
with "End of interrupt" handler.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4a8355c4c34f55aecd204604f02e179eaee15502 10-Oct-2012 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: convert to clockevents

This patch converts CLPS711X-platform to use modern clockevent API.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
61ae48c3cb6bcffd1c7e18164c3d103eb62f06aa 21-Aug-2012 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Added simple clock framework

Modern CPUs from CLPS711X-line can operate at frequencies other than 73 MHz.
This patch adds simple clock framework for handling all possible CPU rates.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
8ee8ef2996df477aa1623bd213b1548ab1b9c07c 13-Mar-2012 Bryan Wu <bryan.wu@canonical.com> ARM: mach-clps711x: retire custom LED code of P720T machine

Add tigger based LED driver into board file of P720T.
Remove old LED driver file.

Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
0da47184eafe0eb3ddb1340a70f8a150b477b6a0 16-Jul-2012 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Remove the setting of the time

This patch fixes "bug: interrupts were enabled early" due to
do_settimeofday() which used in common code for clps711x-platform.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
0573a2bb885848af67127b77dbebb900d0ae19b9 15-May-2012 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Cleanup IRQ handling

This patch contains two changes:
- Removed unused definitions from mach/irqs.h
- Do not mask interrupts in ack procedure, because we have separate
intX_mask procedure for do it and actually these 2 functions are
called sequentially

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
304b2c684e42af5b72d643322f783d88538dc817 06-May-2012 Alexander Shiyan <shc_work@mail.ru> ARM: clps711x: Using a single definition for the PHYS and VIRT registers offset

Using a single definition for the physical and virtual address register for all
variants boards clps711x. This patch also includes the use of a single function
clps_read/write in some units.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
9f97da78bf018206fb623cd351d454af2f105fe0 28-Mar-2012 David Howells <dhowells@redhat.com> Disintegrate asm/system.h for ARM

Disintegrate asm/system.h for ARM.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Russell King <linux@arm.linux.org.uk>
cc: linux-arm-kernel@lists.infradead.org
71e256c54d67f55536bae184bb579c682714a95a 02-Aug-2011 Nicolas Pitre <nicolas.pitre@linaro.org> ARM: mach-clps711x: move special idle code out of line

... and hook it to arm_pm_idle.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
6c00071268b19f92d29e5bec873a12380afd9199 05-Nov-2011 Russell King <rmk+kernel@arm.linux.org.uk> ARM: restart: clps711x: use new restart hook

Hook these platforms restart code into the new restart hook rather
than using arch_reset().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
3a083227a45cbbf5d29e6fe7c093af9e09905d4d 05-Nov-2011 Russell King <rmk+kernel@arm.linux.org.uk> ARM: clps711x: consolidate irq/mm/time code into a single file

The separate files for clps711x which contain maybe one or two data
structures or functions is an inefficient use of files, and encourages
further small files as other changes happen. Collapse down these into
a single core.c file.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>