RE: [PATCH v2.0 1/2] pm: at91: add the PM initialization for the sama5d3 and sama5d4

2015-03-17 Thread Yang, Wenyou
Hi Sylvain, > -Original Message- > From: Sylvain Rochet [mailto:sylvain.roc...@finsecur.com] > Sent: 2015年3月16日 18:21 > To: Yang, Wenyou > Cc: Ferre, Nicolas; li...@arm.linux.org.uk; > linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org;

RE: [PATCH v2.0 1/2] pm: at91: add the PM initialization for the sama5d3 and sama5d4

2015-03-17 Thread Yang, Wenyou
Hi Sylvain, -Original Message- From: Sylvain Rochet [mailto:sylvain.roc...@finsecur.com] Sent: 2015年3月16日 18:21 To: Yang, Wenyou Cc: Ferre, Nicolas; li...@arm.linux.org.uk; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; alexandre.bell...@free-electrons.com;

Re: [PATCH v2.0 1/2] pm: at91: add the PM initialization for the sama5d3 and sama5d4

2015-03-16 Thread Sylvain Rochet
Hello Wenyou, On Mon, Mar 09, 2015 at 11:57:08AM +0800, Wenyou Yang wrote: > To get the mpddrc peripheral id from the PM initialization, > which will be used to disable mpddrc'c clock during suspending. > +void __init sam5d3_pm_init(void) > +{ > + at91_dt_ramc(); > +

Re: [PATCH v2.0 1/2] pm: at91: add the PM initialization for the sama5d3 and sama5d4

2015-03-16 Thread Sylvain Rochet
Hello Wenyou, On Mon, Mar 09, 2015 at 11:57:08AM +0800, Wenyou Yang wrote: To get the mpddrc peripheral id from the PM initialization, which will be used to disable mpddrc'c clock during suspending. +void __init sam5d3_pm_init(void) +{ + at91_dt_ramc(); + at91_pm_data.uhp_udp_mask

[PATCH v2.0 1/2] pm: at91: add the PM initialization for the sama5d3 and sama5d4

2015-03-08 Thread Wenyou Yang
To get the mpddrc peripheral id from the PM initialization, which will be used to disable mpddrc'c clock during suspending. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/generic.h |4 arch/arm/mach-at91/include/mach/sama5d3.h |1 +

[PATCH v2.0 1/2] pm: at91: add the PM initialization for the sama5d3 and sama5d4

2015-03-08 Thread Wenyou Yang
To get the mpddrc peripheral id from the PM initialization, which will be used to disable mpddrc'c clock during suspending. Signed-off-by: Wenyou Yang wenyou.y...@atmel.com --- arch/arm/mach-at91/generic.h |4 arch/arm/mach-at91/include/mach/sama5d3.h |1 +