<warpme_>
just quic q: do we have any support for thermal sensors and/or DVFS on s905 familly?
<narmstrong>
warpme_: yes
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-amlogic
<warpme_>
narmstrong: great. I’m asking as on testing 5.3-rc8 mainine on 905w (tx3) I don’t see anything in /sys/class/thermal. Do I miss someting?
<repk>
and in /sys/class/hwmon ?
<narmstrong>
shoudl be in hwmon, if you want thermal you'll need to add a thermal zone in the DT like the vim2
<warpme_>
repk, narmstrong: qll. thx. let me play with this. I’ll report how it goes soon!
sputnik_ has quit [Ping timeout: 276 seconds]
Barada has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-amlogic
<khilman>
warpme_: the thermal driver isn't updstream yet, but if you try my `integ` branch, it's in there for broader testing, but only sets up thermal zones for a couple boards (e.g. odroid-n2)
<warpme_>
khilman: thx alot. I just added thermal zones to my tx3 mini and all seems to be working. You mentoin thermal driver. Will this thermal driver not using scpi interface?
<khilman>
on newer chips (g12[ab], sm1) thermal is no longer behind scpi
<warpme_>
indeed i see :-). Also I see some suspend related things :-) Is there currently any support for S3 on s905/912?
<narmstrong>
warpme_: nop, S905/s912 reuses standard PSCI functions for suspend, and overriding them is not allowed, thus it has been rejected
<khilman>
sorry, I misunderstood what soc you were on. I thought you were on a newer one.
<khilman>
narmstrong is right, for the older chips, there are firmware issues with how they implemented PSCI
<narmstrong>
```
<narmstrong>
this needs to go anywhere, it should live in the existing PSCI driver.
<narmstrong>
```
<narmstrong>
That is to say, NAK to other driver invoking PSCI functions.
<narmstrong>
While I am very much not happy with platform-specific extensions to PSCI, if
<warpme_>
right. If i’m reading correctly supported event to resume from s3 is rtc alarm only? (no usb)?
<narmstrong>
warpme_: it's hardcoded in the SCP fw loaded by the BL31
<khilman>
some GPIOs are also configured for wakeup (and hooked to buttons) but it's firmware specific which wakeup sources are configured.
<khilman>
but what we've seen so far, I think the VRTC is enabled for pretty much all platforms
yann has joined #linux-amlogic
<warpme_>
right - it looks like old small ir hw circuit (where long enough remote key press can triger gpio state change) is only solution for appliance resume from s3 by ir remote?…. but how then this tx3 box is resumed from s3 by red power button on original remote with origial android? I suspect onboard ir can trigger resume in scpi controler?
<narmstrong>
yes usually ir can wakeup
<narmstrong>
cec could, but we don't program the current logical address before going in suspend
return0e has quit [Read error: Connection reset by peer]
sputnik__ has joined #linux-amlogic
return0e has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 258 seconds]
vagrantc has joined #linux-amlogic
repk has quit [Ping timeout: 250 seconds]
repk has joined #linux-amlogic
niceplace has quit [Ping timeout: 240 seconds]
niceplace has joined #linux-amlogic
return0e has quit [Read error: Connection reset by peer]
sputnik__ has quit [Read error: Connection reset by peer]
return0e has joined #linux-amlogic
sputnik__ has joined #linux-amlogic
return0e_ has joined #linux-amlogic
return0e has quit [Ping timeout: 246 seconds]
ukleinek has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
sputnik__ has quit [Ping timeout: 268 seconds]
warpme_ has quit [Quit: warpme_]
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
Tartarus has joined #linux-amlogic
<Tartarus>
Hey all, I have an s905x based board that Ive managed to get into a fairly funky bricked state. The vendor U-Boot is crashing because it doesn't like the contents I flashed in, is there some way to force BL to drop into USB recovery mode?
<wens>
ground/short emmc pins?
<Tartarus>
is there often something exposed enough for that?