<jernej>
DarkNeutrino: I only have OrangePi Zero2 and T95 box. Aren't OPP tables same?
apritzel has joined #linux-sunxi
<DarkNeutrino>
Not really. There are 4 variants of h616. 2 of them have higher mA to account for the worse chips and i also need to check the boost clocks which h616 supports
apritzel_ has joined #linux-sunxi
<jernej>
this sounds similar to H6, where there are 3 bins and driver selects correct OPP table based on the bin
<jernej>
I just looked at dumped DT from T95 and there are two OPP tables combined into one
<DarkNeutrino>
yep that looks to be with the revisions as well. lovely. tho there are also boost clocks. i saw one opp table that contained them. have to find itn
<DarkNeutrino>
since we will need ths and sid before tho i will add it to bindings and add their configs to drivers. then we can add opp tables. tho i havent found a table for gpu yet. which you mentioned you also wanted
apritzel_ has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has quit []
apritzel has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
Guest3599 has quit [Ping timeout: 480 seconds]
ungeskriptet[m] has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel has joined #linux-sunxi
<apritzel>
DarkNeutrino: with boost clocks you mean rates beyond 1.5 GHz?
<DarkNeutrino>
yep h616 supports those via turbo mode
<DarkNeutrino>
so they are disabled normally but once you enable turbo mode they will activate and cpu will scale beyond 1.5Ghz
<apritzel>
"once you enable turbo mode"> who does that? and when?
<DarkNeutrino>
nobody does it. its up to user
<DarkNeutrino>
they do not get activated automatically
<apritzel>
so is there already kernel code to let users activate "advanced" OPPs?
<DarkNeutrino>
yea. let me check the file you can write 1 to enable it. dont remember the path from head
<DarkNeutrino>
- turbo-mode: Marks the OPP to be used only for turbo modes. Turbo mode is available on some platforms, where the device can run over its operating frequency for a short duration of time limited by the device's power, current and thermal limits.
<DarkNeutrino>
and the file ....
<DarkNeutrino>
is /sys/devices/system/cpu/cpufreq/boost
<DarkNeutrino>
write 1 to that and you will activate the "advanced" opp tables
<DarkNeutrino>
at least thats the normal cpufreq-dt driver
<DarkNeutrino>
im wondering if to use that one and adjust opp tables to account for the other binned chips or do it the h6 way where we read the efuse value and adjust opp according to that
<apritzel>
have you figured out what the opp-supported-hw value means? Is that just some kind of bin indicator?
<DarkNeutrino>
yes
<DarkNeutrino>
there are 4 bins
<DarkNeutrino>
2 of those use the opp table with bumped up mA but same clocks
<apritzel>
bumped up mA? And why do bins 1 and 2 only provide one OPP?
<DarkNeutrino>
wdym provide 1 opp ?
<apritzel>
I mean in this table that jernej linked to
<DarkNeutrino>
as for the bumped up mA. thats kinda obvious no? the chip is not stable at those clocks with lower power so they added a bit more to it, to make it stable
<apritzel>
you mean voltage?
<DarkNeutrino>
omg i say mA.... my bad. mV
<DarkNeutrino>
as for the 1 2 bin no clue
<apritzel>
right, that somewhat confused me ;-)
<DarkNeutrino>
yea sorry :)
<DarkNeutrino>
its as if the first and second bin didnt have scaling
<DarkNeutrino>
so they just run at 1 set speed
<apritzel>
yeah, still kind of odd
<apritzel>
do you have an idea what bins are out there?
<apritzel>
have you tried to read the value on your boards?
<DarkNeutrino>
didnt have the chance yet no
<HackerKkillinghisLGA775cpuPent>
<ungeskriptet[m]> "Hi all, does someone know if the..." <- maybe
<DarkNeutrino>
mainly cause the kernel provided by biqu is kinda meh and they didnt even bother with the bins
<DarkNeutrino>
they dont even read the value from the efuse
<HackerKkillinghisLGA775cpuPent>
test
<DarkNeutrino>
HackerKkillinghisLGA775cpuPent: test works
<HackerKkillinghisLGA775cpuPent>
HackerKkillinghisLGA775cpuPent: ungeskriptet pls took a look of this
<jernej>
DarkNeutrino: post it and see? :)
grming has joined #linux-sunxi
<DarkNeutrino>
thats... not a bad point. will add the thermal table and etc and will post
<jernej>
DarkNeutrino: fyi, if SID is same as in A64, as your commits suggests, then you should add compatible pair (first h616 specific, then a64 one) in bindings and you don't need any driver changes.
JohnDoe_71Rus has joined #linux-sunxi
<DarkNeutrino>
gotcha
cnxsoft has quit []
chewitt has quit [Quit: Zzz..]
evadot has quit [Quit: leaving]
evadot has joined #linux-sunxi
grming has quit [Quit: Konversation terminated!]
adjtm has joined #linux-sunxi
adjtm has quit []
JohnDoe_71Rus has quit []
apritzel has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel has joined #linux-sunxi
vagrantc has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel has quit [Read error: Connection reset by peer]
chewitt has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
apritzel_ has joined #linux-sunxi
apritzel_ has quit [Remote host closed the connection]
apritzel_ has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Remote host closed the connection]
apritzel_ has quit [Read error: Connection reset by peer]
grming has joined #linux-sunxi
grming has quit [Quit: Konversation terminated!]
apritzel has joined #linux-sunxi
grming has joined #linux-sunxi
DarkNeutrino has quit [Remote host closed the connection]