lkml.org 
[lkml]   [2008]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] add support for ST M41T94 SPI RTC (patch rev. 3)
> I have AT91SAM9260-based board, kernel is 2.6.26.3.

I'm using my RTC-patch with the same CPU. Custom AT91SAM9260 board,
external RTC because of AT's errata...

> M41T94 is connected on SPI channel 1, chip select 0. I've applied
> Kim's patch and added SPI device in board-sam9260ek.c

> { /* External RTC */
> .modalias = "rtc-m41t94",
> .chip_select = 0,
> .max_speed_hz = 2 * 1000 * 1000,
> .bus_num = 1,
> },

I'm using it with ".max_speed_hz = 1 * 1000 * 1000," instead of 2 MHz.
Can you try with slower speed? My patch (rev 3) and this small
ek_spi_devices[] modification should be enough.

I have it on bus = 0, chip_select = 1, so I've also removed dataflash
parts from ek_spi_devices[] (we're using NOR flash). But for you this
is not needed.

I also have a patch to add support for M41T94's watchdog timer. It's
not clean enough to be submitted upstreams yet. If you need it I can
email it to you.


\
 
 \ /
  Last update: 2008-10-02 19:35    [W:0.189 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site