linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][v3] Add support for RTC device: pt7c4338 in rtc-ds1307.c
@ 2011-06-16  4:05 Priyanka Jain
  2011-06-16 15:38 ` Timur Tabi
  0 siblings, 1 reply; 3+ messages in thread
From: Priyanka Jain @ 2011-06-16  4:05 UTC (permalink / raw)
  To: akpm, w.sang, cbouatmailru, a.zummo, benh, galak, grant.likely,
	b04825, linuxppc-dev, rtc-linux, p_gortmaker
  Cc: Priyanka Jain

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 set is same as that of rtc device: DS1307.


Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
---
 Change for v3:
	 Incorporting Timur Tabi's comments to drop Kconfig and copyright
         changes 

 Change for v2:
	 Incorporting Andrew Morton's comments to shorten patch by using
         hunk: { "pt7c4338", ds_1307 }

 Changes :
	 This patch will supersede patch:
		"RTC driver(Linux) for PT7C4338 chip"
	 Incorporting Wolfram Sang's comments to reuse ds1307 driver.

 drivers/rtc/rtc-ds1307.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c
index 4724ba3..b2005b4 100644
--- a/drivers/rtc/rtc-ds1307.c
+++ b/drivers/rtc/rtc-ds1307.c
@@ -149,6 +149,7 @@ static const struct i2c_device_id ds1307_id[] = {
 	{ "ds1340", ds_1340 },
 	{ "ds3231", ds_3231 },
 	{ "m41t00", m41t00 },
+	{ "pt7c4338", ds_1307 },
 	{ "rx8025", rx_8025 },
 	{ }
 };
-- 
1.6.5.6

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH][v3] Add support for RTC device: pt7c4338 in rtc-ds1307.c
  2011-06-16  4:05 [PATCH][v3] Add support for RTC device: pt7c4338 in rtc-ds1307.c Priyanka Jain
@ 2011-06-16 15:38 ` Timur Tabi
  2011-06-16 19:42   ` Wolfram Sang
  0 siblings, 1 reply; 3+ messages in thread
From: Timur Tabi @ 2011-06-16 15:38 UTC (permalink / raw)
  To: Priyanka Jain; +Cc: a.zummo, rtc-linux, p_gortmaker, galak, akpm, linuxppc-dev

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 set is same as that of rtc device: DS1307.
> 
> 
> Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>

Acked-by: Timur Tabi <timur@freescale.com>

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][v3] Add support for RTC device: pt7c4338 in rtc-ds1307.c
  2011-06-16 15:38 ` Timur Tabi
@ 2011-06-16 19:42   ` Wolfram Sang
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2011-06-16 19:42 UTC (permalink / raw)
  To: Timur Tabi
  Cc: a.zummo, rtc-linux, p_gortmaker, Priyanka Jain, galak, akpm,
	linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

On Thu, Jun 16, 2011 at 10:38:11AM -0500, Timur Tabi wrote:
> 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 set is same as that of rtc device: DS1307.
> > 
> > 
> > Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
> 
> Acked-by: Timur Tabi <timur@freescale.com>

Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-16 19:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16  4:05 [PATCH][v3] Add support for RTC device: pt7c4338 in rtc-ds1307.c Priyanka Jain
2011-06-16 15:38 ` Timur Tabi
2011-06-16 19:42   ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).