Re: [PATCH] rtc: add support for Freescale SNVS RTC

2012-04-13 Thread Ying-Chun Liu (PaulLiu)
(2012年03月22日 23:11), Shawn Guo wrote: > On Mon, Mar 19, 2012 at 09:04:29PM +0800, Ying-Chun Liu (PaulLiu) wrote: >> + >> +#define RTC_READ_TIME_47BIT _IOR('p', 0x20, unsigned long long) >> +/* blocks until LPSCMR is set, returns difference */ >> +#define RTC_WAIT_TIME_SET _IOR('p', 0x21, int64_t)

Re: [PATCH] rtc: add support for Freescale SNVS RTC

2012-03-22 Thread Shawn Guo
On Mon, Mar 19, 2012 at 09:04:29PM +0800, Ying-Chun Liu (PaulLiu) wrote: > From: "Ying-Chun Liu (PaulLiu)" > > This adds an RTC driver for the Low Power (LP) section of SNVS. > It hooks into the /dev/rtc interface and supports ioctl to complete RTC > features. This driver supports device tree bin

[PATCH] rtc: add support for Freescale SNVS RTC

2012-03-19 Thread Ying-Chun Liu (PaulLiu)
From: "Ying-Chun Liu (PaulLiu)" This adds an RTC driver for the Low Power (LP) section of SNVS. It hooks into the /dev/rtc interface and supports ioctl to complete RTC features. This driver supports device tree bindings. It only uses the RTC hw in non-secure mode. Signed-off-by: Anish Trivedi S