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 - Publicly Logged on https://irclog.whitequark.org/linux-amlogic
vagrantc has quit [Quit: leaving]
Elpaulo has joined #linux-amlogic
niceplace has quit [Quit: ZNC 1.7.3 - https://znc.in]
niceplace has joined #linux-amlogic
Barada has joined #linux-amlogic
_whitelogger has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
Barada has quit [Quit: Barada]
yann has quit [Ping timeout: 246 seconds]
warpme_ has joined #linux-amlogic
ldevulder_ has joined #linux-amlogic
ldevulder has quit [Ping timeout: 264 seconds]
chewitt has quit [Quit: Adios!]
ldevulder_ is now known as ldevulder
_whitelogger has joined #linux-amlogic
<warpme_> hi *
<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
<narmstrong> this enabled suspend
<narmstrong> the vrtc has been merged recently
<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
<warpme_> it will be interesting to play with this…. will http://lkml.iu.edu/hypermail/linux/kernel/1611.0/01583.html patchset go with 5.3-rc8?
<narmstrong> you can try to rebase it, but instead rebase on https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git/log/?h=v5.4/integ since it contains the vrtc driver, you'll only need to add the DT node for vrtc
<warpme_> right. but I prefer to go with mainline as currently I have single kernel working on rpi3/s905/s912/rk33xx/h6. So backporting will require: 1\meson_gx_pm.c changes from above msq; 2\vrtc like in https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git/commit/?h=v5.4/integ&id=fb7694e614f0817cf0937a4e89fc86255b1b06ab ?
<narmstrong> yep
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-amlogic
random_yanek has quit [Ping timeout: 244 seconds]
random_yanek has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-amlogic
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-amlogic
Barada has quit [Quit: Barada]
ldts has left #linux-amlogic [#linux-amlogic]
ldts has joined #linux-amlogic
yann has quit [Ping timeout: 246 seconds]
chewitt has joined #linux-amlogic
chewitt has quit [Quit: Zzz..]
sputnik_ has joined #linux-amlogic
chewitt has joined #linux-amlogic
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?
<Tartarus> I have jumper wires around
<Tartarus> but nothing with a more fine point
<wens> oh right.. bga pins :(
<chewitt> Tartarus: exactly which board?
<Tartarus> So, oops, s905w not x
<Tartarus> But close enough
<chewitt> there's probably a reset button on it somewhere
<Tartarus> There is
<Tartarus> But U-Boot is crashing before we check if the button is pressed
<chewitt> if it has an analogue audio out port it's sometimes at the bottom of the socket .. unbend a paperclip
<chewitt> u have uart log?
<Tartarus> Sure, moment
<chewitt> did you write a new image to emmc?
<chewitt> or it just fcuked up on its own?
<Tartarus> Yeah, I'm attempting to put something very different on the eMMC and messed it up
<Tartarus> (I've got another one of these boxes coming and I know what I need to try differently next time in the table)
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic