ARM: 6336/1: U8500 PRCMU driver

Add an initial driver for communicating with the Power, Reset and
Clock Management Unit (PRCMU) firmware in U8500.
This initial version supports AB8500 communication only.

Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com>
Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Linus Walleij 2010-08-19 12:36:01 +01:00 committed by Russell King
parent 008f8a2f7f
commit e3726fcf26
5 changed files with 339 additions and 1 deletions

View file

@ -0,0 +1,15 @@
/*
* Copyright (C) STMicroelectronics 2009
* Copyright (C) ST-Ericsson SA 2010
*
* License Terms: GNU General Public License v2
*
* PRCMU f/w APIs
*/
#ifndef __MACH_PRCMU_H
#define __MACH_PRCMU_H
int prcmu_abb_read(u8 slave, u8 reg, u8 *value, u8 size);
int prcmu_abb_write(u8 slave, u8 reg, u8 *value, u8 size);
#endif /* __MACH_PRCMU_H */