t;> linuxppc-dev@lists.ozlabs.org; Gala Kumar-B11780; Li Yang-R58472
>> Subject: Re: [PATCH v2 2/2] powerpc/mpic: add global timer support
>>
>> On 08/13/2012 09:15 PM, Wang Dongsheng-B40534 wrote:
>>>
>>>
>>>> -Original Message-
>>
Dongsheng-B40534
> >> Cc: Wood Scott-B07421; b...@kernel.crashing.org; pau...@samba.org;
> >> linuxppc-dev@lists.ozlabs.org; Gala Kumar-B11780; Li Yang-R58472
> >> Subject: Re: [PATCH v2 2/2] powerpc/mpic: add global timer support
> >>
> >> On 08/13/
t;> linuxppc-dev@lists.ozlabs.org; Gala Kumar-B11780; Li Yang-R58472
>> Subject: Re: [PATCH v2 2/2] powerpc/mpic: add global timer support
>>
>> On 08/13/2012 09:00 PM, Wang Dongsheng-B40534 wrote:
>>>
>>>
>>>> -Original Message-
>>>&
Dongsheng-B40534
> >> Cc: Wood Scott-B07421; b...@kernel.crashing.org; pau...@samba.org;
> >> linuxppc-dev@lists.ozlabs.org; Gala Kumar-B11780; Li Yang-R58472
> >> Subject: Re: [PATCH v2 2/2] powerpc/mpic: add global timer support
> >>
> >> On 08/13/2012 01:1
gsheng-B40534
> >> Cc: b...@kernel.crashing.org; pau...@samba.org; linuxppc-
> >> d...@lists.ozlabs.org; Gala Kumar-B11780; Li Yang-R58472
> >> Subject: Re: [PATCH v2 2/2] powerpc/mpic: add global timer support
> >>
> >> On 08/10/2012 12:54 AM, dongsheng.
t;> linuxppc-dev@lists.ozlabs.org; Gala Kumar-B11780; Li Yang-R58472
>> Subject: Re: [PATCH v2 2/2] powerpc/mpic: add global timer support
>>
>> On 08/13/2012 01:18 AM, Wang Dongsheng-B40534 wrote:
>>>>> + p = of_get_property(np, "available-ranges"
ct: Re: [PATCH v2 2/2] powerpc/mpic: add global timer support
>
> On 08/13/2012 01:18 AM, Wang Dongsheng-B40534 wrote:
> >>> + p = of_get_property(np, "available-ranges", &len);
> >>> + if (p && len % (2 * sizeof(u32)) != 0)
On 08/13/2012 01:18 AM, Wang Dongsheng-B40534 wrote:
>>> + p = of_get_property(np, "available-ranges", &len);
>>> + if (p && len % (2 * sizeof(u32)) != 0) {
>>> + pr_err("%s: malformed fsl,available-ranges property.\n",
>>> + np->full_name);
>>> + r
sts.ozlabs.org; Gala Kumar-B11780; Li Yang-R58472
>> Subject: RE: [PATCH v2 2/2] powerpc/mpic: add global timer support
>>
>>
>>
>>> -Original Message-
>>> From: Wood Scott-B07421
>>> Sent: Saturday, August 11, 2012 3:40 AM
>
..@lists.ozlabs.org; Gala Kumar-B11780; Li Yang-R58472
>> Subject: Re: [PATCH v2 2/2] powerpc/mpic: add global timer support
>>
>> On 08/10/2012 12:54 AM, dongsheng.w...@freescale.com wrote:
>>> +static const struct of_device_id mpic_timer_ids[] = {
>>> + { .comp
-dev@lists.ozlabs.org;
> Wood Scott-B07421
> Subject: RE: [PATCH v2 2/2] powerpc/mpic: add global timer support
>
>
>
> > -Original Message-
> > From: Tabi Timur-B04825
> > Sent: Saturday, August 11, 2012 9:10 PM
> > To: Wang Dongsheng-B40534
> >
> -Original Message-
> From: Tabi Timur-B04825
> Sent: Saturday, August 11, 2012 9:10 PM
> To: Wang Dongsheng-B40534
> Cc: b...@kernel.crashing.org; pau...@samba.org; Wood Scott-B07421; Gala
> Kumar-B11780; linuxppc-dev@lists.ozlabs.org
> Subject: Re: [PATCH v2 2
> -Original Message-
> From: Wood Scott-B07421
> Sent: Saturday, August 11, 2012 4:38 AM
> To: Wang Dongsheng-B40534
> Cc: b...@kernel.crashing.org; pau...@samba.org; linuxppc-
> d...@lists.ozlabs.org; Gala Kumar-B11780; Li Yang-R58472
> Subject: Re: [PATCH v2 2
ists.ozlabs.org; Gala Kumar-B11780; Li Yang-R58472
> > Subject: Re: [PATCH v2 2/2] powerpc/mpic: add global timer support
> >
> > On 08/10/2012 12:54 AM, dongsheng.w...@freescale.com wrote:
> > > +static const struct of_device_id mpic_timer_ids[] = {
> -Original Message-
> From: Wood Scott-B07421
> Sent: Saturday, August 11, 2012 3:40 AM
> To: Wang Dongsheng-B40534
> Cc: b...@kernel.crashing.org; pau...@samba.org; linuxppc-
> d...@lists.ozlabs.org; Gala Kumar-B11780; Li Yang-R58472
> Subject: Re: [PATCH v2 2
On Fri, Aug 10, 2012 at 12:54 AM, wrote:
> From: Wang Dongsheng
> +EXPORT_SYMBOL_GPL(mpic_request_timer);
Make these EXPORT_SYMBOL. No need for a GPL restriction.
--
Timur Tabi
Linux kernel developer at Freescale
___
Linuxppc-dev mailing list
Linu
On 08/10/2012 12:54 AM, dongsheng.w...@freescale.com wrote:
> +static int group_get_freq(struct group_priv *priv)
> +{
> + if (priv->flags & FSL_GLOBAL_TIMER) {
> + ccbfreq = fsl_get_sys_freq();
> + priv->timerfreq = ccbfreq;
> + } else {
> + priv->timerf
On Aug 10, 2012, at 2:40 PM, Scott Wood wrote:
> On 08/10/2012 12:54 AM, dongsheng.w...@freescale.com wrote:
>> +static const struct of_device_id mpic_timer_ids[] = {
>> +{ .compatible = "open-pic,global-timer", },
>> +{ .compatible = "fsl,global-timer", },
>> +{},
>> +};
>> +
>> +sta
On 08/10/2012 12:54 AM, dongsheng.w...@freescale.com wrote:
> +static const struct of_device_id mpic_timer_ids[] = {
> + { .compatible = "open-pic,global-timer", },
> + { .compatible = "fsl,global-timer", },
> + {},
> +};
> +
> +static int __init mpic_timer_init(void)
> +{
> + struc
From: Wang Dongsheng
The MPIC global timer is a hardware timer inside the Freescale PIC comply
to Open-PIC standard. When the timer is timeout of the specified interval,
the hardware timer generates an interrupt. The driver currently is only
tested on fsl chip, but it can potentially support othe
20 matches
Mail list logo