[PATCH][v3] Add support for RTC device: pt7c4338 in rtc-ds1307.c

Subsystems: real time clock (rtc) subsystem, the rest

STALE5540d

3 messages, 3 authors, 2011-06-16 · open the first message on its own page

[PATCH][v3] Add support for RTC device: pt7c4338 in rtc-ds1307.c

From: Priyanka Jain <hidden>
Date: 2011-06-16 04:05:33

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 <redacted>
---
 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

Re: [PATCH][v3] Add support for RTC device: pt7c4338 in rtc-ds1307.c

From: Timur Tabi <hidden>
Date: 2011-06-16 15:38:25

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 <redacted>
Acked-by: Timur Tabi <redacted>

-- 
Timur Tabi
Linux kernel developer at Freescale

Re: [PATCH][v3] Add support for RTC device: pt7c4338 in rtc-ds1307.c

From: Wolfram Sang <hidden>
Date: 2011-06-16 19:43:00

On Thu, Jun 16, 2011 at 10:38:11AM -0500, Timur Tabi wrote:
Priyanka Jain wrote:
quoted
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 <redacted>
Acked-by: Timur Tabi <redacted>
Reviewed-by: Wolfram Sang <redacted>

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help