public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* Re: [PATCH] RTC updates for Amiga
       [not found] <1046634024.1620.22.camel@kars.perseus.home>
@ 2009-03-18 14:29 ` Geert Uytterhoeven
  0 siblings, 0 replies; only message in thread
From: Geert Uytterhoeven @ 2009-03-18 14:29 UTC (permalink / raw)
  To: Kars de Jong; +Cc: Linux/m68k mailing list

	Hi Kars,

On Sun, 2 Mar 2003 (yeah, that's a long time ago), Kars de Jong wrote:
> I got tired of my Amiga locking up every time when hwclock got run (see
> http://lists.linux-m68k.org/pipermail/linux-m68k/2002-January/000730.html for details) even with CONFIG_GEN_RTC_X=y in my .config, so I decided to look at the OKI website for the datasheet of the MSM6242RS clock (the one used in A2000 / A1200).

While looking into creating separate rtc-msm6242 (`A2000 RTC') and rtc-rp5c01
(`A3000 RTC') drivers, as per current RTC policy, I browsed through the various
Amiga schematics to identify RTC chips.

Surprisingly, I discovered a Ricoh RP5C01 (not an Oki MSM6242) on the A1200
schematics:
http://www.symbolengine.com/index.php/2007/04/21/amiga-1200-schematics-in-pdf-format/
Hence does arch/m68k/amiga/config.c:amiga_identify() handle the A1200
incorrectly?

It also seems the CDTV has a builtin MSM6242, while the CD32 hasn't any RTC,
like A1000/A500/A600. So ideally, we have to probe for RTC presence. I guess
for the MSM6242 we can use the existing loop (timeout = no MSM6242). What about
the RP5C01?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-18 14:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1046634024.1620.22.camel@kars.perseus.home>
2009-03-18 14:29 ` [PATCH] RTC updates for Amiga Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox