Project

General

Profile

RTC linux driver used MityARM 335x?

Added by Anonymous about 12 years ago

Hi,

I'd like to find out which driver code is used for the MityARM 335x RTC. I believe the supplied linux uses the TPS65910 RTC via the I2C interface.
Can someone point me to the correct file(s)?

thanks,
-Ed


Replies (4)

RE: RTC linux driver used MityARM 335x? - Added by Tim Iskander about 12 years ago

Ed
Actually, the code in the linux tree on our git repository is for the on-board RTC (drivers/rtc/rtc-omap.c). We are working on the driver for the RTC function of the 65910 (which is part of an MFC driver).

cheers
/Tim

RE: RTC linux driver used MityARM 335x? - Added by Michael Williamson about 12 years ago

Wanted to comment here.

There is an on-board 32KHz clock that is fed first to the TPS65910. The TPS65910 then forwards this same clock to the RTC input clock on the AM3359. So, you should see that RTC clock functioning if you try to read it or set it. The driver for the 65910 RTC capabilities is not yet complete, so setting the alarm and reading the time via I2C from the TPS65910 via the multifunction device layer is not yet supported.

-Mike

RE: RTC linux driver used MityARM 335x? - Added by Anonymous about 12 years ago

Thanks for the info!

Looks like I can just use the StarterWare RTC code for this then. Already working.

I see it's not battery-backed with the dev kit.

-ed

RE: RTC linux driver used MityARM 335x? - Added by Michael Williamson about 12 years ago

It may be possible to battery back it with proper commands to the PMIC, let me check in on this...

-Mike

    (1-4/4)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)