On 07/31/2012 09:31 AM, Kumar Gala wrote: > > On Jul 31, 2012, at 2:58 AM, Wang Dongsheng-B40534 wrote: > >> >> >>> -----Original Message----- >>> From: Kumar Gala [mailto:ga...@kernel.crashing.org] >>> Sent: Friday, July 27, 2012 9:14 PM >>> To: Wang Dongsheng-B40534 >>> Cc: b...@kernel.crashing.org; pau...@samba.org; Wood Scott-B07421; >>> linuxppc-dev@lists.ozlabs.org >>> Subject: Re: [PATCH] powerpc/fsl: mpic timer driver >>> >>> >>> On Jul 27, 2012, at 1:20 AM, <dongsheng.w...@freescale.com> >>> <dongsheng.w...@freescale.com> wrote: >>> >>>> From: Wang Dongsheng <dongsheng.w...@freescale.com> >>>> >>>> Global timers A and B internal to the PIC. The two independent groups >>>> of global timer, group A and group B, are identical in their >>> functionality. >>>> The hardware timer generates an interrupt on every timer cycle. >>>> e.g >>>> Power management can use the hardware timer to wake up the machine. >>>> >>>> Signed-off-by: Wang Dongsheng <dongsheng.w...@freescale.com> >>>> Signed-off-by: Li Yang <le...@freescale.com> >>> >>> How much of this is FSL specific vs openpic? OpenPIC spec's timer >>> support (only a single group). >>> >> [Wang Dongsheng] Yes, OpenPIC only a single group timer. >> FSL: add more register, features and group. >> This patch only to support FSL chip. >> "mpic_timer.c" -> "fsl_mpic_timer.c" >> I will modify the description of the patch. how about? > > I'd rather we support both, can we not use the MPIC_FSL flag to deal with FSL > specific behavior?
The device this driver binds against is "fsl,mpic-global-timer". We don't have a binding for ordinary OpenPIC timers, and inferring them from the basic OpenPIC node will cause AMP headaches. Let someone who cares about ordinary OpenPIC drivers add support. :-) -Scott _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev