[PATCH] fsl_soc : add support for m41t81 rtc chip

Philippe De Muyter phdm at macqel.be
Thu Apr 10 08:42:14 EST 2008


Hello everybody,

Here is small patch allowing to use a m41t81 rtc chip on a FSL_SOC based
board.

Signed-off-by: Philippe De Muyter <phdm at macqel.be>

--

I have removed the ifdef as pointed by Olof

--- a/arch/powerpc/sysdev/fsl_soc.c	2008-03-21 14:53:41.000000000 +0000
+++ b/arch/powerpc/sysdev/fsl_soc.c	2008-03-26 12:08:25.000000000 +0000
@@ -405,7 +405,8 @@
 	{"dallas,ds1339",  "rtc-ds1307",  "ds1339",},
 	{"dallas,ds1340",  "rtc-ds1307",  "ds1340",},
 	{"stm,m41t00",     "rtc-ds1307",  "m41t00"},
+	{"stm,m41t81",     "rtc-m41t80",  "m41t81"},
 	{"dallas,ds1374",  "rtc-ds1374",  "rtc-ds1374",},
 };
 
 static int __init of_find_i2c_driver(struct device_node *node,



More information about the Linuxppc-dev mailing list