Can lx2160ardb rtc0 support wakeup ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can lx2160ardb rtc0 support wakeup ?

ソリューションへジャンプ
1,032件の閲覧回数
minwang1
Contributor II

Hello,

There are 2 RTCs on lx2160ardb: rtc0 and rtc1. We can see rtc1 support wakealarm, but rtc0 doesn't. Can rtc0 support wakeup by adding attribute 'wakeup-source' in rtc@51 node of the dts? Full log see attachment.

root@lx2160ardb:~# ls /sys/class/rtc -l
total 0
lrwxrwxrwx 1 root root 0 Nov 29 08:58 rtc0 -> ../../devices/platform/soc/2040000.i2c/i2c-1/1-0051/rtc/rtc0
lrwxrwxrwx 1 root root 0 Nov 29 08:58 rtc1 -> ../../devices/platform/soc/2800000.timer/rtc/rtc1
root@lx2160ardb:~# ls /sys/class/rtc/rtc0
date dev device hctosys max_user_freq name power range since_epoch subsystem time timestamp0 uevent
root@lx2160ardb:~# ls /sys/class/rtc/rtc1
alarmtimer.2.auto date dev device hctosys max_user_freq name power since_epoch subsystem time uevent wakealarm

Thanks,

MinWang@WindRiver

0 件の賞賛
返信
1 解決策
956件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

rtc0 doesn't support wakeup.

rtc0 is used to set the system time.

rtc1 is FlexTimer (FTM), can support wake-up source and PWM.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
957件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

rtc0 doesn't support wakeup.

rtc0 is used to set the system time.

rtc1 is FlexTimer (FTM), can support wake-up source and PWM.

0 件の賞賛
返信
905件の閲覧回数
minwang1
Contributor II
Thanks for your answer. But I want to know why rtc0 can't support wakeup. Could you please give us more explanation?
0 件の賞賛
返信
876件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

rtc0 is not a FlexTimer (FTM). Only FlexTimer can support wakeup source.

0 件の賞賛
返信