ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | Wiki at http://linux-rockchip.info | Logs at http://irclog.whitequark.org/linux-rockchip | ML at http://groups.google.com/group/linux-rockchip
ganbold_ has joined #linux-rockchip
markm has quit [Ping timeout: 246 seconds]
markm has joined #linux-rockchip
Tony_ has joined #linux-rockchip
<Tony_> Astralix|away,
<Tony_> Uboot for rk3188.
<Tony_> In my experience, u-boot is not support DTS well, so kernel can handle it by itself.
cnxsoft has joined #linux-rockchip
hoge has joined #linux-rockchip
levd has joined #linux-rockchip
naobsd has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 250 seconds]
naobsd has quit [Ping timeout: 240 seconds]
hoge has quit [Quit: Page closed]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 244 seconds]
naobsd has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 246 seconds]
Astralix` has joined #linux-rockchip
Astralix|away has quit [Ping timeout: 264 seconds]
cnxsoft1 has joined #linux-rockchip
npcomp_ has joined #linux-rockchip
FreezingAlt has joined #linux-rockchip
FreezingCold has quit [Ping timeout: 245 seconds]
cnxsoft has quit [Ping timeout: 240 seconds]
npcomp has quit [Ping timeout: 240 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 264 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 240 seconds]
ganbold_ has quit [Remote host closed the connection]
ganbold_ has joined #linux-rockchip
RayFlower_ has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 245 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 265 seconds]
cnxsoft has joined #linux-rockchip
cnxsoft1 has quit [Ping timeout: 256 seconds]
ganbold_ has quit [Ping timeout: 255 seconds]
Omegamoon has joined #linux-rockchip
ganbold_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Quit: RayFlower_]
selfbg has joined #linux-rockchip
levd1 has quit [Quit: levd1]
Hencke has joined #linux-rockchip
apritzel has joined #linux-rockchip
nighty-_ has joined #linux-rockchip
ganbold_ has quit [Ping timeout: 255 seconds]
markm has quit [Ping timeout: 252 seconds]
naobsd has quit [Remote host closed the connection]
markm has joined #linux-rockchip
Tony_ has quit [Remote host closed the connection]
nighty-_ has quit [Ping timeout: 272 seconds]
nighty-_ has joined #linux-rockchip
naobsd has joined #linux-rockchip
michael_panickin has joined #linux-rockchip
field^Mop has joined #linux-rockchip
<michael_panickin> mmind00: Ok, I have understand the problem of the phy
<michael_panickin> http://pastebin.com/daRviAF0
<michael_panickin> somenthing like this should work
<naobsd> michael_panickin: which dts are you using?
<michael_panickin> The correct one, the code is wrong
<michael_panickin> of reset sequence
<michael_panickin> in my view
<michael_panickin> I need 20ms
<michael_panickin> to have a sane operative phisical
<michael_panickin> so it means that this should work with msec
<michael_panickin> and not microsec
<michael_panickin> so my patch just put the minimal to 1 ms
<michael_panickin> It's a timing problem because I have tested now on 3.19 with the correct dts and it works apart on time to reset the phy
<michael_panickin> Can you check pastbin?
<naobsd> I saw pastebin
<michael_panickin> And you are not agree ;)
<michael_panickin> I have only written, I need to retest again
<naobsd> I don't say agree or not agree
<michael_panickin> right now my phy get work with a small hack
<michael_panickin> after reset
<naobsd> I don't understand well
<michael_panickin> with a msleep of 30 ms
<michael_panickin> after reset
<michael_panickin> the phy
<michael_panickin> take time to be stable
<michael_panickin> in mdio bus
<michael_panickin> reset is ok
<michael_panickin> last timing is around 100000 us
<naobsd> 20ms or 30ms, which point? delay[012]
<michael_panickin> on dts
field^Mop has quit [Ping timeout: 244 seconds]
<naobsd> which dts?
<naobsd> I cannot see 100000us in https://git.kernel.org/cgit/linux/kernel/git/mmind/linux-rockchip.git/commit/?h=v4.1-armsoc/dts&id=f36abc869886ac91f88c72d21835497686228558
<michael_panickin> ARM: dts: rockchip: enable gmac on rk3288-firefly
<michael_panickin> snps,reset-delays-us = <0 10000 1000000>;
<naobsd> I see. then, it works with patch?
<naobsd> you said you need 20ms or 30ms, then you modified one of these values?(which one?)
<michael_panickin> I think so, I need to retest. Because I'm in Taipei now and I flight today.
<michael_panickin> udelay of large value
<michael_panickin> are wrong
<michael_panickin> I'm not sure that even it wait correclty
<michael_panickin> so large value
<michael_panickin> should be implemeted using msleep or
<michael_panickin> so first change to make it works was called mdelay of 30ms
<michael_panickin> before mdio scan
<michael_panickin> because I have found out that just add some print during scan
<michael_panickin> let it enumerated
<michael_panickin> so it means that phy get time to be ready but I'm quite sure that try to udelay
<michael_panickin> for 1000000 is wrong and it's not precise
<michael_panickin> so I have re-implemented the function that use msleep instead of udleay
<michael_panickin> git grep udleay in Documentation
<naobsd> only patch for code is needed, no need to change delay value to 20ms or 30ms. is my understanding right?
<michael_panickin> Yes
<michael_panickin> But I need to retest it
<michael_panickin> on 4.1
<michael_panickin> I have rebase my dac hardware
<michael_panickin> on 4.1
<michael_panickin> branch
<michael_panickin> to check if it works correctlry
naobsd has quit [Quit: naobsd]
selfbg has quit [Quit: Leaving]
ssvb has quit [Ping timeout: 252 seconds]
ssvb has joined #linux-rockchip
ssvb has quit [Ping timeout: 245 seconds]
naobsd has joined #linux-rockchip
ssvb has joined #linux-rockchip
markm has quit [Ping timeout: 246 seconds]
michael_panickin has quit [Ping timeout: 256 seconds]
lerc has quit [Ping timeout: 246 seconds]
RayFlower_ has joined #linux-rockchip
<Astralix`> Haben wir eine USB VID?
<Astralix`> ups wrong chat
markm has joined #linux-rockchip
ssvb has quit [Ping timeout: 256 seconds]
markm has quit [Ping timeout: 252 seconds]
field^Mop has joined #linux-rockchip
RayFlower_ has quit [Quit: RayFlower_]
markm has joined #linux-rockchip
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
michael_panickin has joined #linux-rockchip
ganbold_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
field^Mop has quit [Ping timeout: 255 seconds]
npcomp_ is now known as npcomp
michael_panickin has quit [Ping timeout: 256 seconds]
field^Mop has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
GriefNorth has joined #linux-rockchip
michael_panickin has joined #linux-rockchip
ssvb has joined #linux-rockchip
arokux has quit [Remote host closed the connection]
arokux has joined #linux-rockchip
michael_panickin has quit [Ping timeout: 256 seconds]
cnxsoft has quit [Quit: cnxsoft]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
GriefNorth has quit [Quit: Leaving]
field^Mop has quit [Ping timeout: 256 seconds]
Astralix` is now known as Astralix|away
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
eebrah has quit [Quit: Lost terminal]
eebrah_ has joined #linux-rockchip
rperier has quit [Ping timeout: 250 seconds]
rperier has joined #linux-rockchip
apritzel has quit [Ping timeout: 264 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
GriefNorth has joined #linux-rockchip
rperier has quit [Changing host]
rperier has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
premoboss has quit [Remote host closed the connection]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
apritzel has joined #linux-rockchip
c0d3z3r0 has left #linux-rockchip [#linux-rockchip]
FreezingAlt is now known as FreezingCold
apritzel has quit [Ping timeout: 264 seconds]
lerc has joined #linux-rockchip
GriefNorth has quit [Ping timeout: 250 seconds]
Jabader has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
field^Mop has joined #linux-rockchip
Jabader has quit [Ping timeout: 246 seconds]
field^Mop has quit [Ping timeout: 264 seconds]
akaizen_ has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
field^Mop has joined #linux-rockchip
akaizen has quit [Ping timeout: 256 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
Omegamoon has left #linux-rockchip [#linux-rockchip]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
naobsd has quit [Quit: naobsd]
akaizen has joined #linux-rockchip
field^Mop has quit [Ping timeout: 245 seconds]
markm has quit [Ping timeout: 272 seconds]
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
markm has joined #linux-rockchip
RayFlower_ has quit [Read error: Connection reset by peer]
RayFlower_ has joined #linux-rockchip
akaizen has quit [Read error: Connection reset by peer]
FreezingCold has quit [Remote host closed the connection]
ganbold_ has quit [Ping timeout: 255 seconds]
FreezingCold has joined #linux-rockchip