MIPS: Add CPC probe, access functions
authorPaul Burton <paul.burton@imgtec.com>
Wed, 15 Jan 2014 10:31:52 +0000 (10:31 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Mar 2014 20:25:23 +0000 (21:25 +0100)
commit9c38cf44712af95a5ec3937d63faaea9b43eab9a
tree46413cc814e083de0b54ea3ac69420917d15d1fa
parent9f98f3dd0c518d9de02aebe0c25712b17ab3358d
MIPS: Add CPC probe, access functions

This patch introduces code to probe for a MIPS Cluster Power Controller
& accessor functions to allow for easy register access. This support
code will be used by a subsequent patch.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6361/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/include/asm/mips-cpc.h [new file with mode: 0644]
arch/mips/kernel/Makefile
arch/mips/kernel/mips-cpc.c [new file with mode: 0644]