From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.macqel.be (mail.macqel.be [194.78.208.39]) by ozlabs.org (Postfix) with ESMTP id AADA5DDF39 for ; Thu, 10 Apr 2008 08:22:55 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.macqel.be (Postfix) with ESMTP id 32914130D7E for ; Thu, 10 Apr 2008 00:22:54 +0200 (CEST) Received: from mail.macqel.be ([127.0.0.1]) by localhost (mail.macqel.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 96pdJHMYdsf5 for ; Thu, 10 Apr 2008 00:22:52 +0200 (CEST) Received: from frolo.macqel.be (frolo.macqel [10.1.40.73]) by mail.macqel.be (Postfix) with ESMTP id 42808130CFD for ; Thu, 10 Apr 2008 00:22:52 +0200 (CEST) Date: Thu, 10 Apr 2008 00:22:52 +0200 From: Philippe De Muyter To: linuxppc-dev@ozlabs.org Subject: [PATCH] fsl_soc : add support for m41t81 rtc chip Message-ID: <20080409222252.GA1006@frolo.macqel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 --- 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,10 @@ {"dallas,ds1339", "rtc-ds1307", "ds1339",}, {"dallas,ds1340", "rtc-ds1307", "ds1340",}, {"stm,m41t00", "rtc-ds1307", "m41t00"}, +#ifdef CONFIG_RTC_DRV_M41T80 + {"stm,m41t81", "rtc-m41t80", "m41t81"}, +#endif {"dallas,ds1374", "rtc-ds1374", "rtc-ds1374",}, }; static int __init of_find_i2c_driver(struct device_node *node,