Re: [PATCH] at91 pm: Compilation fix for at91sam926x

From: Michel Benoit
Date: Fri Aug 10 2007 - 06:00:40 EST


Hi Pierre,

I'm also using power management on the at91sam9260.

> About SDRAm self refresh mode on at91sam926x, in fact AT91_SDRAMC_SRR
> doesn't exist but the new register is AT91_SDRAMC_LPR. So for instance, you
> can replace at91_sys_write(AT91_SDRAMC_SRR, 1) by
> at91_sys_write(AT91_SDRAMC_LPR, AT91_SDRAMC_LPCB_SELF_REFRESH).

I have also made that change in pm.c. I've tested it with 2.6.20.4
and it seems to work.

> Currently I work on the power management on at91sam9260 so when I will
> finish my work, I could give you my files.

Please post your mods to the list when you are finished. I will
gladly help you test them.
Are you going to implement slow clock standby mode?

Michel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/