Re: [rtc-linux] Re: [PATCH] Add support for pt7c4338 (rtc device) in rtc-ds1307 driver

2011-06-03 Thread Grant Likely
On Mon, May 30, 2011 at 08:57:45PM +0400, Anton Vorontsov wrote: > On Mon, May 30, 2011 at 02:29:58PM +, Tabi Timur-B04825 wrote: > > On Mon, May 30, 2011 at 3:24 AM, Wolfram Sang wrote: > > > > > The first place where this should be mentioned is the datasheet of the > > > pt-chip, so you mig

Re: [rtc-linux] Re: [PATCH] Add support for pt7c4338 (rtc device) in rtc-ds1307 driver

2011-05-30 Thread Anton Vorontsov
On Mon, May 30, 2011 at 02:29:58PM +, Tabi Timur-B04825 wrote: > On Mon, May 30, 2011 at 3:24 AM, Wolfram Sang wrote: > > > The first place where this should be mentioned is the datasheet of the > > pt-chip, so you might ask the producer to add this information (don't > > expect much to happe

Re: [rtc-linux] Re: [PATCH] Add support for pt7c4338 (rtc device) in rtc-ds1307 driver

2011-05-30 Thread Wolfram Sang
> > IIRC I asked you explicitly for the differences between the chips. If > > there are none, you can use the driver directly, right? :) > > Yes. The device tree node for the PT7C4338 device should just say > >/* The board has a PT7C4338, which is compatible with the DS1307 */ >compatib

Re: [rtc-linux] Re: [PATCH] Add support for pt7c4338 (rtc device) in rtc-ds1307 driver

2011-05-30 Thread Tabi Timur-B04825
On Mon, May 30, 2011 at 3:24 AM, Wolfram Sang wrote: > The first place where this should be mentioned is the datasheet of the > pt-chip, so you might ask the producer to add this information (don't > expect much to happen, though). It's true that the data sheet does not mention that it's identic

Re: [PATCH] Add support for pt7c4338 (rtc device) in rtc-ds1307 driver

2011-05-30 Thread Wolfram Sang
Hi, Priyanka, > Yes, It is possible to directly use platform device 'ds1307' in device > tree. Great, thanks for testing. > But I have one query of how to capture the information that pericom, > pt7c4338 device is compatible with dallas, ds1307. Can it be done in > somewhere in some document or

RE: [PATCH] Add support for pt7c4338 (rtc device) in rtc-ds1307 driver

2011-05-29 Thread Jain Priyanka-B32167
nka-B32167 > Cc: a.zu...@towertech.it; a...@linux-foundation.org; linuxppc- > d...@lists.ozlabs.org; rtc-li...@googlegroups.com; p_gortma...@yahoo.com > Subject: Re: [PATCH] Add support for pt7c4338 (rtc device) in rtc-ds1307 > driver > > On Thu, May 26, 2011 at 12:33:29PM +0530, Priya

Re: [PATCH] Add support for pt7c4338 (rtc device) in rtc-ds1307 driver

2011-05-26 Thread Wolfram Sang
On Thu, May 26, 2011 at 12:33:29PM +0530, Priyanka Jain wrote: > PT7C4338 chip is being manufactured by Pericom Technology Inc. > It is a serial real-time clock which provides: > 1)Low-power clock/calendar. > 2)Programmable square-wave output. > It has 56 bytes of nonvolatile RAM. > Its register s