RE: [PATCH 2/2] ARM: at91/pm: add ultra Low-power mode 1(ULP1) support

2015-10-22 Thread Yang, Wenyou
hael Turquette; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org; linux-...@vger.kernel.org > Subject: Re: [PATCH 2/2] ARM: at91/pm: add ultra Low-power mode 1(ULP1) > support > > Hello Wenyou, > > On 15/10/2015 at 11:41:07 +0800, Wenyou Yang wrote : >

Re: [PATCH 2/2] ARM: at91/pm: add ultra Low-power mode 1(ULP1) support

2015-10-15 Thread Alexandre Belloni
Hello Wenyou, On 15/10/2015 at 11:41:07 +0800, Wenyou Yang wrote : > +#define ULP0_MODE 0x00 > +#define ULP1_MODE 0x11 Those are not used. > +static void at91_config_ulp1_wkup_source(void) > +{ > + if (at91_pmc_read(AT91_PMC_VERSION) >= SAMA5D2_PMC_VERSION) { > + at91_p

Re: [PATCH 2/2] ARM: at91/pm: add ultra Low-power mode 1(ULP1) support

2015-10-15 Thread Michael Turquette
Quoting Wenyou Yang (2015-10-14 20:41:07) > The Ultra Low-power mode 1(ULP1) is introduced by SAMA5D2. > > In the ULP1 mode, all the clocks are shut off, inclusive the embedded > 12MHz RC oscillator, so as to achieve the lowest power consumption > with the system in retention mode and able to resu