From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp4.clb.oleane.net (smtp4.clb.oleane.net [213.56.31.20]) by ozlabs.org (Postfix) with ESMTP id F1C5667B47 for ; Fri, 7 Apr 2006 18:16:59 +1000 (EST) Received: from GEG2400 ([194.3.133.184]) (authenticated) by smtp4.clb.oleane.net with ESMTP id k378GpjD003883 for ; Fri, 7 Apr 2006 10:16:53 +0200 From: "Laurent Lagrange" To: Subject: RTC/I2C on 82xx with Linux 2.6.x Date: Fri, 7 Apr 2006 10:16:23 +0200 Message-ID: <003401c65a1b$915dac90$5201a8c0@GEG2400> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: <000001c642bd$1dc28fa0$5201a8c0@GEG2400> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello, I use a Linux 2.6.x on a custom 8270 board with a RTC on the I2C bus (rtc8564). I want to use it as the system date : - Is it possible ? - Do I need to initialize the "ppc_md" structure in the "platform_init" function with my own RTC functions ? - In that case, can I use the kernel I2C layer ? Thanks all Laurent