buzzmarshall has quit [Quit: Konversation terminated!]
elastic_dog has quit [Ping timeout: 252 seconds]
elastic_dog has joined #linux-amlogic
ldevulder has joined #linux-amlogic
rockosov has joined #linux-amlogic
naoki has quit [Quit: naoki]
Daanct12 has joined #linux-amlogic
Danct12 has quit [Ping timeout: 255 seconds]
naoki has joined #linux-amlogic
doppo has quit [Read error: Connection reset by peer]
doppo has joined #linux-amlogic
ldevulder has quit [Read error: Connection reset by peer]
ldevulder has joined #linux-amlogic
chewitt has joined #linux-amlogic
psi50 has joined #linux-amlogic
<psi50>
Hi!
<psi50>
I noticed that rtc-meson-vrtc does not support set_time. I think it would be possible to make this work by implementing LEGACY_SCPI_CMD_SET_RTC and LEGACY_SCPI_CMD_GET_RTC support in arm_scpi.
<psi50>
Has anybody looked into this?
<xdarklight>
psi50: not sure if anyone has looked into this yet. I'd start by checking if Amlogic's SCPI firmware actually implements _{GET_SET}_RTC. my understanding is that Amlogic implemented their SCPI firmware based on a non-released SCPI specification. also not all commands are mandatory in the specification. so before working on the Linux driver side I think it's best to check the firmware side
<narmstrong>
psi50: the VRTC is a pure "virtual" rtc to trigger wake up events
<narmstrong>
it's has no HW RTC (HW time storage) capabilities, only wake after a certain amount of seconds
<psi50>
narmstrong: So that would mean there is no work planned to make the system store the date when a warm reboot is performed? Currently "hwclock -w" returns -EINVAL.
<narmstrong>
psi50: unless there's a RTC on board, no it's not supported by the SoC
<psi50>
narmstrong: Okay, thank you! I was just looking at some patches from the vendor kernel which used these SET_RTC and GET_RTC commands which is why I was curious if anything is planned for this or not.
<narmstrong>
psi50: perhaps vendor has a Optee TA that can store the time, but I'm not aware of that