RE: [PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-16 Thread AnilKumar, Chimata
On Fri, Nov 16, 2012 at 11:43:36, AnilKumar, Chimata wrote: On Mon, Nov 12, 2012 at 15:17:48, AnilKumar, Chimata wrote: On Tue, Nov 06, 2012 at 11:15:34, Bedia, Vaibhav wrote: On Mon, Nov 05, 2012 at 15:12:27, AnilKumar, Chimata wrote: [...] +#define SHUTDOWN_TIME_SEC

RE: [PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-15 Thread AnilKumar, Chimata
On Mon, Nov 12, 2012 at 15:17:48, AnilKumar, Chimata wrote: On Tue, Nov 06, 2012 at 11:15:34, Bedia, Vaibhav wrote: On Mon, Nov 05, 2012 at 15:12:27, AnilKumar, Chimata wrote: [...] +#define SHUTDOWN_TIME_SEC2 +#define SECS_IN_MIN 60 +#define

RE: [PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-13 Thread AnilKumar, Chimata
+Mark On Mon, Nov 12, 2012 at 15:17:13, AnilKumar, Chimata wrote: On Tue, Nov 06, 2012 at 22:26:54, Cousson, Benoit wrote: Hi Anil, On 11/06/2012 06:07 AM, AnilKumar, Chimata wrote: On Mon, Nov 05, 2012 at 22:13:25, Cousson, Benoit wrote: Hi Anil / Colin, On 11/05/2012 10:42

Re: [PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-13 Thread Mark Brown
On Wed, Nov 14, 2012 at 05:01:45AM +, AnilKumar, Chimata wrote: +Mark ...without any words as to why I'm being added or what the content in the message is? signature.asc Description: Digital signature

RE: [PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-13 Thread AnilKumar, Chimata
On Wed, Nov 14, 2012 at 10:31:42, AnilKumar, Chimata wrote: +Mark On Mon, Nov 12, 2012 at 15:17:13, AnilKumar, Chimata wrote: On Tue, Nov 06, 2012 at 22:26:54, Cousson, Benoit wrote: Hi Anil, On 11/06/2012 06:07 AM, AnilKumar, Chimata wrote: On Mon, Nov 05, 2012 at 22:13:25,

Re: [PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-13 Thread Mark Brown
On Wed, Nov 14, 2012 at 05:50:46AM +, AnilKumar, Chimata wrote: On Wed, Nov 14, 2012 at 10:31:42, AnilKumar, Chimata wrote: *Please* cut out irrelevant context from your mails. Details regarding how PMIC PWR_EN is connected to RTC module OK... but what am I expected to do with this

RE: [PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-12 Thread AnilKumar, Chimata
On Tue, Nov 06, 2012 at 22:26:54, Cousson, Benoit wrote: Hi Anil, On 11/06/2012 06:07 AM, AnilKumar, Chimata wrote: On Mon, Nov 05, 2012 at 22:13:25, Cousson, Benoit wrote: Hi Anil / Colin, On 11/05/2012 10:42 AM, AnilKumar Ch wrote: From: Colin Foe-Parker colin.foepar...@logicpd.com

RE: [PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-12 Thread AnilKumar, Chimata
On Tue, Nov 06, 2012 at 11:15:34, Bedia, Vaibhav wrote: On Mon, Nov 05, 2012 at 15:12:27, AnilKumar, Chimata wrote: [...] +#define SHUTDOWN_TIME_SEC 2 +#define SECS_IN_MIN60 +#define WAIT_AFTER (SECS_IN_MIN - SHUTDOWN_TIME_SEC)

Re: [PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-06 Thread Benoit Cousson
Hi Anil, On 11/06/2012 06:07 AM, AnilKumar, Chimata wrote: On Mon, Nov 05, 2012 at 22:13:25, Cousson, Benoit wrote: Hi Anil / Colin, On 11/05/2012 10:42 AM, AnilKumar Ch wrote: From: Colin Foe-Parker colin.foepar...@logicpd.com Add system power off control to rtc driver which is the

[PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-05 Thread AnilKumar Ch
From: Colin Foe-Parker colin.foepar...@logicpd.com Add system power off control to rtc driver which is the in-charge of controlling the BeagleBone system power. The power_off routine can be hooked up to pm_power_off system call. System power off sequence:- * Set PMIC STATUS_OFF when

Re: [PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-05 Thread Benoit Cousson
Hi Anil / Colin, On 11/05/2012 10:42 AM, AnilKumar Ch wrote: From: Colin Foe-Parker colin.foepar...@logicpd.com Add system power off control to rtc driver which is the in-charge of controlling the BeagleBone system power. The power_off routine can be hooked up to pm_power_off system call.

RE: [PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-05 Thread AnilKumar, Chimata
On Mon, Nov 05, 2012 at 22:13:25, Cousson, Benoit wrote: Hi Anil / Colin, On 11/05/2012 10:42 AM, AnilKumar Ch wrote: From: Colin Foe-Parker colin.foepar...@logicpd.com Add system power off control to rtc driver which is the in-charge of controlling the BeagleBone system power. The

RE: [PATCH 2/4] rtc: OMAP: Add system pm_power_off to rtc driver

2012-11-05 Thread Bedia, Vaibhav
On Mon, Nov 05, 2012 at 15:12:27, AnilKumar, Chimata wrote: [...] +#define SHUTDOWN_TIME_SEC2 +#define SECS_IN_MIN 60 +#define WAIT_AFTER (SECS_IN_MIN - SHUTDOWN_TIME_SEC) +#define WAIT_TIME_MS (SHUTDOWN_TIME_SEC * 1000) +