ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
grming has quit [Quit: Konversation terminated!]
ftg has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
cnxsoft has joined #linux-sunxi
Danct12 has joined #linux-sunxi
ftg has quit [Read error: Connection reset by peer]
JohnDoe_71Rus has joined #linux-sunxi
rubberduck has quit [Quit: https://quassel-irc.org - Komfortabler Chat. Überall. ]
rubberduck has joined #linux-sunxi
cnxsoft has quit []
Danct12 has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
gsz has joined #linux-sunxi
Danct12 has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
Danct12 has quit [Ping timeout: 480 seconds]
chewitt has joined #linux-sunxi
Danct12 has joined #linux-sunxi
gsz has quit [Quit: leaving]
Danct12 has quit [Remote host closed the connection]
apritzel_ has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
evgeny_boger has joined #linux-sunxi
junari has joined #linux-sunxi
junari_ has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
junari_ has quit [Remote host closed the connection]
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
junari has joined #linux-sunxi
szemzoa has joined #linux-sunxi
<junari> Been trying to get LPDDR3 to work. Today I discovered that the generated voltage is only 0.9 volts instead of 1.2. PMIC is AXP313A
<junari> Has anyone dealt with this pmic before?
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
rajkosto has joined #linux-sunxi
<apritzel> junari: is 0.9 the default reset voltage for that rail?
<apritzel> there is a datasheet out there, and we are quite far on a Linux driver
<apritzel> junari: it says AXP1530 on the tin, but is really about the AXP313A: https://lore.kernel.org/linux-devicetree/20221214190305.3354669-1-martin.botka@somainline.org/
<apritzel> junari: if all you need is to bump up the voltage for the DDR rail in the SPL, it should be fairly easy, look at what jernej did back then for the H616
<apritzel> U-Boot commit fbd37d8d2845
<MoeIcenowy> apritzel: the document title being wrong seems to be a common situation for AXP datasheets
<apritzel> MoeIcenowy: well, in this case the 1530 and 313 seem to be only similar, but not the same, as a few rails are slightly different
<MoeIcenowy> apritzel: my AXP818 datasheet self-identify as AXP288 ;-)
<MoeIcenowy> (AXP288 is an X-Power for not Allwinner but Intel
<apritzel> what's the difference between having an AXP for Intel or Arm chips? Just some specific customisation, for typical voltages?
evgeny_boger has quit [Quit: evgeny_boger]
grming has joined #linux-sunxi
rajkosto has quit [Remote host closed the connection]
rajkosto has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 480 seconds]
evgeny_boger has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
gsz has joined #linux-sunxi
rajkosto has quit [Quit: Leaving]
juri_ has quit [Ping timeout: 480 seconds]
juri_ has joined #linux-sunxi
<MoeIcenowy> apritzel: in addition AXP288 does not claim RSB at all, only AXP
<MoeIcenowy> sorry, only I2C
<MoeIcenowy> and it seems to claim no ACIN
<MoeIcenowy> only Vbus
<MoeIcenowy> the regulators inside it looks just the same with AXP81X
cnxsoft has quit []
junari_ is now known as junari
chewitt has quit [Quit: Zzz..]
<junari> apritzel: thanks for info. I followed the jernej's way for voltage set
<junari> But I ran into something weird
<junari> In the documentation for dcdc3 rail I can see 33+36 steps. 1200mv should match to 36 step but actually I get something about 950mv. When I read register after vendor spl I get 66 step
Daanct12 has quit [Remote host closed the connection]
<apritzel> ah, interesting! did you actually measure the voltage?
<apritzel> junari: the point is what you observes matches more the AXP1530 BSP rail, that Martin had in its Linux driver:
<apritzel> DCDC3: 0.5V-1.2V 10mV/step, 70 steps; 1.22V-1.86V 20mV/step, 32 steps
<junari> apritzel: I look with an oscilloscope, it can be inaccurate, but in general true
vagrantc has joined #linux-sunxi
<apritzel> 36 steps in your example should be 860mV, though, and the 66 steps from the vendor SPL should result in 1160mV
<apritzel> junari: that would be great
<apritzel> and your chip is definitely an AXP313a?
<junari> Can't be sure that my usb oscilloscope isn't off by a few tens of millivolts
<junari> apritzel: yes, I can see that it marked as AXP313A
<apritzel> junari: thanks, that very useful info! So it seems that the datasheet is wrong then, and the AXP1530 BSP code is closer to the truth
<junari> But vendor SPL tell that "[109657]DRAM_VCC set to 1200 mv"
<junari> Not 1160
<junari> Could this be some third option?
<apritzel> sure, who knows
<apritzel> it could be that the datasheet is wrong *and* the AXP1530 is still different
<apritzel> although this output is from software, so they could be just printing 1200, but actually lowered it in the code to 1.16V
<junari> Hmm... sometimes I get 66 or 68 after vendor spl
<junari> so you are probably right
grming has quit [Quit: Konversation terminated!]
<apritzel> junari: I would have believed you anyway ;-)
<apritzel> junari: so can you change the parameters in your SPL driver and see if it works with 70 (1200mV)?
<junari> apritzel: now I cannot measure the voltage, but at least it is possible to write 70 and read it after the next reboot
junari has quit [Ping timeout: 480 seconds]
ftg has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
grming has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
apritzel_ has quit [Ping timeout: 480 seconds]
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
apritzel_ has joined #linux-sunxi
hentai has quit [Remote host closed the connection]
hentai has joined #linux-sunxi
JohnDoe_71Rus has quit []
bauen1 has quit [Ping timeout: 480 seconds]
evgeny_boger has quit [Ping timeout: 480 seconds]
grming has quit [Ping timeout: 480 seconds]
grming has joined #linux-sunxi
jernej_ has quit [Ping timeout: 480 seconds]
jernej has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
apritzel_ has left #linux-sunxi [#linux-sunxi]
apritzel has joined #linux-sunxi
vagrantc has joined #linux-sunxi