[PATCH 0/7] share sa1100 rtc driver to arch-mmp

Robert Jarzmik robert.jarzmik at free.fr
Wed Feb 22 11:38:04 EST 2012


Haojian Zhuang <haojian.zhuang at gmail.com> writes:

> I can remove the rtc-pxa support entirely. I still want to leave this
> since this may be the only one choice in the future silicons.
>
> Since some boards with pxa27x/pxa3xx are accessing RCNR (the old rtc
> wrapper) directly, I use rtc-sa1100 to keep consistently. In pxa95x,
> nobody is using the old rtc wrapper directly. So I only use it in
> pxa95x.

No, I don't agree there.

The PXA RTC silicon support 2 different set of registers to access time :
 - RCNR (rtc-sa1100)
 - RYCR/RDCR (rtc-pxa)

The rtc-pxa driver was created to provide support for boards using the RYCR/RDCR
rather than RCNR.

Therefore I'm against removing rtc-pxa, unless there is a driver for pxa, which
provides RTC using RYCR/RDCR registers.

We had that discussion a long time ago, in [1].

Cheers.

--
Robert

[1] Linux Arm Kernel Mailing List, 2008/09/30
    http://lists.arm.linux.org.uk/lurker/message/20080930.193554.96feb95f.en.html



More information about the linux-arm-kernel mailing list