Re: [PATCH v2] powerpc/rcpm: add RCPM driver

2015-06-12 Thread Paul Bolle
Just a nit. On Thu, 2015-06-11 at 14:32 +0800, yuantian.t...@freescale.com wrote: > --- /dev/null > +++ b/arch/powerpc/sysdev/fsl_rcpm.c > +int fsl_rcpm_init(void) This is used only through early_initcall(). I took the cargo cult approach of looking at the other uses of early_initcall() in arch/

[PATCH v2] powerpc/rcpm: add RCPM driver

2015-06-10 Thread Yuantian.Tang
From: Tang Yuantian There is a RCPM (Run Control/Power Management) in Freescale QorIQ series processors. The device performs tasks associated with device run control and power management. The driver implements some features: mask/unmask irq, enter/exit low power states, freeze time base, etc. S