yes Disable the RTC of the chip in the defconfig then the PMIC RTC becomes
the default rtc0
Or changing the order of the drivers in the Makefile should reverse
pmic rtc->rtc0
chip rtc ->rtc1

Usually hwclock opens you open the /dev/rtc0


Thanks,
Kavitha



On Thu, Jun 20, 2013 at 4:44 PM, Vishveshwar <vishveshwarb...@aim.com>wrote:

> On Monday, June 17, 2013 2:51:50 AM UTC+5:30, cha...@gmail.com wrote:
>>
>> Hi All,
>> I'm working on porting* android (2.3.3)* to some arm device and on that
>> device I have two different *Real Time Clocks (RTCs)*. First one comes
>> from processor and the second comes from PMIC.
>> In my system I see them in the path* /sys/class/rtc/rtc0* 
>> and*/sys/class/rtc/rtc1
>> *.
>>
>> On default Android system time is taken from the first RTC (rtc0). What
>> is more, setting time and date in Android Settings changes exactly that
>> clock.
>>
>> I want to switch it to the second clock. I know how to do it from one
>> direction - how to set system time from rtc1 (compile parameter for
>> kernel), but I don't know how to change RTC standing behind* Settings ->
>> Change Date and Time* option in user interface. In other words, I want
>> to change time and date from user interface of second RTC (rtc1, not rtc0
>> as in default).
>>
>
> Is it not possible to disable the processor RTC in kernel config? That way
> the PMIC RTC becomes default.
>
> -Vishveshwar
>
>>
>> How can I do it?
>>
>> Thanks for help.
>>
>> chaqi
>>
>>  --
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>
> ---
> You received this message because you are subscribed to the Google Groups
> "android-porting" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-porting+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to