RE: [PATCH] omap: dmtimer: Enable autoidle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>-----Original Message-----
>From: ext Kevin Hilman [mailto:khilman@xxxxxx]
>Sent: 15 February, 2011 01:29
>To: Kristo Tero (Nokia-MS/Tampere)
>Cc: linux-omap@xxxxxxxxxxxxxxx
>Subject: Re: [PATCH] omap: dmtimer: Enable autoidle
>
>Tero Kristo <tero.kristo@xxxxxxxxx> writes:
>
>> This will save some power.
>>
>> Signed-off-by: Tero Kristo <tero.kristo@xxxxxxxxx>
>
>Please report which platforms this was tested with.

Tested only on OMAP3.

Should this be changed to apply only on that one? I don't know about OMAP4, but I think this should work on OMAP2 at least based on spec.


>
>Also, please Cc linux-arm-kernel.
>
>Thanks,
>
>Kevin
>
>> ---
>>  arch/arm/plat-omap/dmtimer.c |    1 +
>>  1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-
>omap/dmtimer.c
>> index 1d706cf..949becc 100644
>> --- a/arch/arm/plat-omap/dmtimer.c
>> +++ b/arch/arm/plat-omap/dmtimer.c
>> @@ -341,6 +341,7 @@ static void omap_dm_timer_reset(struct
>omap_dm_timer *timer)
>>  	l = omap_dm_timer_read_reg(timer, OMAP_TIMER_OCP_CFG_REG);
>>  	l |= 0x02 << 3;  /* Set to smart-idle mode */
>>  	l |= 0x2 << 8;   /* Set clock activity to perserve f-clock on idle
>*/
>> +	l |= 0x1 << 0;   /* Set autoidle */
>>
>>  	/*
>>  	 * Enable wake-up on OMAP2 CPUs.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux