narmstrong changed the topic of #linux-amlogic to: Amlogic mainline kernel development discussion - our wiki http://linux-meson.com/ - ml linux-amlogic@lists.infradead.org - official channel moved from Freenode - publicly logged on https://libera.irclog.whitequark.org/linux-amlogic
gis has joined #linux-amlogic
Daanct12 has joined #linux-amlogic
Daanct12 has quit [Ping timeout: 260 seconds]
Daanct12 has joined #linux-amlogic
naoki has quit [Quit: naoki]
naoki has joined #linux-amlogic
Daanct12 has quit [Ping timeout: 246 seconds]
Daanct12 has joined #linux-amlogic
Daanct12 has quit [Quit: Leaving]
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
<psi50> Just for reference, I was referring to this commit, which adds the RTC functionality: https://github.com/StreamUnlimited/linux/commit/6ed1001786e90dd46d92d0cdf83606cd8b8a6530
<narmstrong> psi50: yep, I think those SCPI commands a for newer SoCs, I mean newer than G12B/SM1
<chewitt> "This is the Amlogic virtual Real Time Clock driver, which only has alarm function." <= from Kconfig
<chewitt> the dts entries are only setting the registers for alarm/timer and the base dateTime to increment from 1/1/1970
buzzmarshall has joined #linux-amlogic
psi50 has quit [Quit: Client closed]
buzzmarshall has quit [Quit: Konversation terminated!]
buzzmarshall has joined #linux-amlogic
vagrantc has joined #linux-amlogic
ldevulder has quit [Read error: Connection reset by peer]
ldevulder has joined #linux-amlogic
vagrantc has quit [Quit: leaving]
JohnnyonFlame has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
zkrx has quit [*.net *.split]
montjoie has quit [*.net *.split]
steev has quit [*.net *.split]
steev_ has joined #linux-amlogic
montjoie has joined #linux-amlogic
zkrx has joined #linux-amlogic
steev_ is now known as steev