sh: hwblk base implementation
authorMagnus Damm <damm@igel.co.jp>
Fri, 3 Jul 2009 10:08:05 +0000 (10:08 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 4 Jul 2009 15:28:39 +0000 (00:28 +0900)
commit79714acbab080ad351acf4bba9a2bbc21d65c93c
tree4cf6385ccefa0e47e753f78bc4bce1d1fd8b0861
parent746a99a5af60ee676afa2ba469ccd1373493c7e7
sh: hwblk base implementation

This patch is the hwblk base implementation, containing
structures and shared functions dealing with hardware blocks.

A each processor model should provide a list of hwblks and
describe which module stop bit that is associated with each
hwblck and how the hwblks are grouped together into areas.

The shared code keeps track of the usage count for each
hwblk and the areas. Fallback implementations for processor
specific code are also kept as weak symbols.

The clock framework, the runtime pm code and cpuidle will
all tie into this hwblk implementation.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/hwblk.h [new file with mode: 0644]
arch/sh/kernel/cpu/Makefile
arch/sh/kernel/cpu/hwblk.c [new file with mode: 0644]
arch/sh/kernel/time.c