[PATCH 05/12] mach-davinci: add support for the PSC (Power and Sleep Controller)

Sascha Hauer s.hauer at pengutronix.de
Tue Jun 26 15:02:50 EDT 2012


On Tue, Jun 26, 2012 at 11:51:47AM +0200, Jan Luebbe wrote:
> Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
> ---
>  arch/arm/mach-davinci/Makefile |    1 +
>  arch/arm/mach-davinci/psc.c    |   85 ++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 86 insertions(+)
>  create mode 100644 arch/arm/mach-davinci/psc.c
> 
> +
> +/* Works on Always On power domain only (no PD argument) */
> +void lpsc_on(unsigned int id)

better give global functions a clear prefix like davinci_*

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list