philippe_fouquet has quit [Remote host closed the connection]
philippe_fouquet has joined #linux-sunxi
philippe_fouquet has quit [Remote host closed the connection]
JohnDoe_71Rus has joined #linux-sunxi
steev has quit [Ping timeout: 248 seconds]
steev has joined #linux-sunxi
arnd has quit [Ping timeout: 240 seconds]
mturquette has quit [Ping timeout: 248 seconds]
arnd has joined #linux-sunxi
mturquette has joined #linux-sunxi
reinforce has joined #linux-sunxi
xLinuxBot has joined #linux-sunxi
Netlynx has joined #linux-sunxi
sehraf has joined #linux-sunxi
philippe_fouquet has joined #linux-sunxi
ganbold has quit [Ping timeout: 255 seconds]
ganbold has joined #linux-sunxi
domidumont has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
FlorianH has joined #linux-sunxi
domidumont has joined #linux-sunxi
xLinuxBot has quit [Ping timeout: 256 seconds]
bits4me has joined #linux-sunxi
Renard has joined #linux-sunxi
lemonzest has joined #linux-sunxi
xLinuxBot has joined #linux-sunxi
diego_r has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
ricardocrudo has quit [Remote host closed the connection]
ricardocrudo has joined #linux-sunxi
ojn has quit [Ping timeout: 256 seconds]
jjardon has quit [Read error: Connection reset by peer]
arnd has quit [Read error: Connection reset by peer]
mturquette has quit [Read error: Connection reset by peer]
Tartarus has quit [Write error: Connection reset by peer]
steev has quit [Read error: Connection reset by peer]
paulk-aldrin has joined #linux-sunxi
<sunxi_fan1>
ccrisan: with regard to watchdog on sunxi, it's still broken on 4.0 and a "oneliner patch" floating since Dec 2014, has never been applied on the proper trees! https://groups.google.com/forum/#!topic/linux-sunxi/4mrNAbcClQ8 who knows why..
<mripard>
sunxi_fan1: because no one cared to submit it before 2 weeks ago.
<mripard>
that's why.
mturquette has joined #linux-sunxi
arnd has joined #linux-sunxi
ojn has joined #linux-sunxi
jjardon has joined #linux-sunxi
Tartarus has joined #linux-sunxi
kaspter has joined #linux-sunxi
steev_ has joined #linux-sunxi
steev_ has quit [Client Quit]
jjardon has quit []
<sunxi_fan1>
mripard: sorry, i don't really get how this one got sorted out; please help me understand! who did cared to submit and where? me i just "bumped up" the relevant thread that was going on in Dec 2014 and then dried out on linux-sunxi ML because there was some "SOB" step missing _AFAICS_.
<sunxi_fan1>
has that patch been finally filed upstream, somewhere. that would be really good news! :-)
<mripard>
sunxi_fan1: no SOB, no commit log, no-one relevant in the recipient list
steev_ has joined #linux-sunxi
<mripard>
if you don't mail the patch to the person that is supposed to merge it
<mripard>
there's not a single chance that it gets merged
<sunxi_fan1>
i suppose that's duty of the patch "owner", of course..
<sunxi_fan1>
has been this "paperwork" done somewhere two weeks ago, anyway? i didn't see any feedback on linux-sunxi ML.. maybe i lost some posts..
<sunxi_fan1>
great! sorry can't follow LKML.. it's way too huge volume of posts..
<sunxi_fan1>
as we are chatting, let me i get the chance
<sunxi_fan1>
.. sorry for the broken sentenc, .. let me get the chance to talk about the sunxi-i2s DAI driver using simple-audio-card..
philectro has joined #linux-sunxi
<sunxi_fan1>
i'm slowly progressing toward a working skeleton.. (i've been mainly chatting with people on #alsa-soc actually as i found topic i thought they were better dealt with there..)
<sunxi_fan1>
now i see i have some issues, more related to linux-sunxi.. for example "accessing the register space" ! :-)
<mripard>
what do you mean?
philectro has quit [Quit: Konversation terminated!]
<sunxi_fan1>
sorry was on a different task.. i mean i always read back a 0x0 when i try to access the register space of the I2S block: see: http://paste.debian.net/284058/
premoboss has quit [Remote host closed the connection]
<sunxi_fan1>
now just want to put the piece in place..
<sunxi_fan1>
with regard to clock, i got inspired by the sunxi-codec.c setup..
<sunxi_fan1>
where the clock are not there in the call..
<mripard>
sunxi_fan1: if you can't answer that question, you should consider going for an easier task
<sunxi_fan1>
on the other hand, i recently found the Freescale SAI very similar to my setup (simple card, i2s dai,dmaengine regmap ...) so i've been having a look at that implementation..
xLinuxBot_ has joined #linux-sunxi
<sunxi_fan1>
i mean: sound/soc/fsl/fsl_sai.c
<sunxi_fan1>
and indeed there i found using the: sai->regmap = devm_regmap_init_mmio_clk()
<sunxi_fan1>
let me tell you i really don't know the difference between the "_clk" version against the simple one.. i'm all ears (or pointer to docs..)
<mripard>
you haven't set the right bus clock in the device tree
<mripard>
so you don't enable the right one
xLinuxBot has quit [Ping timeout: 248 seconds]
cubeast has joined #linux-sunxi
<sunxi_fan1>
do you believe my wrong selection of "bus clock" can have a side effect on reading/writing the register space, or is that another "bug" lurking?
<mripard>
you probably have bugs lurking
<mripard>
but what you describe is the exact symptom of trying to access a device register whose clock is disabled
ganbold has quit [Ping timeout: 255 seconds]
ganbold has joined #linux-sunxi
premoboss has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
vishnup has quit [Quit: Leaving]
enrico_ has joined #linux-sunxi
xLinuxBot has joined #linux-sunxi
Black_Horseman has quit [Ping timeout: 256 seconds]
penghb has quit [Remote host closed the connection]
xLinuxBot_ has quit [Ping timeout: 252 seconds]
simosx has joined #linux-sunxi
<sunxi_fan1>
mripard: i'm sure i've plenty of bugs lurking, but i hope i can squash them sooner or later.. it's good to know the clock of the HW module can bring to such a behaviour as it is involved in enabling reading/writing of the register space. it makes sense now that i think about.. for power saving purposes and so on.
xLinuxBot has quit [Ping timeout: 248 seconds]
<sunxi_fan1>
now, i was thinking i could/should use the same init of regmap access as it was working on sunxi-codec.c so i'm going to have a deeper look at bus clocks ..
<sunxi_fan1>
i mean the row clocks="", in the former is 'clocks = <&pll2 0>, <&pll2 1>, <&pll2 2>, <&pll2 3>;', in the latter is 'clocks = <&pll2 0>;' is this difference calling for a more complex procedure for registration/activation? i'd like to understand better..
xLinuxBot has quit [Ping timeout: 248 seconds]
<mripard>
regmap has nothing to do with clocks
<mripard>
really.
<mripard>
so stop talking about regmap, it's just adding more confusions
<mripard>
the only issue you have here is that the bus clock for the i2s interface is disabled and you cannot read/write to the registers
<mripard>
and it's disabled because the clocks you set in the clocks property in your i2s node is wrong
<mripard>
it shouldn't be <&apb0_gates 0> but <&apb0_gates 6>
pmattern has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
<sunxi_fan1>
mripard: you got me on the right track, thanx. anyway, the right index, at least for my sun7i-a20.dtsi, was <&apb0_gates 3>.. now i can read the registers back (so i'm writing them too!) :-)
Net147 has quit [Ping timeout: 256 seconds]
Net147 has joined #linux-sunxi
Net147 has quit [Ping timeout: 246 seconds]
simosx has quit [Quit: Leaving]
Net147 has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
Renard has quit [Read error: Connection reset by peer]
Renard has joined #linux-sunxi
Renard has quit [Read error: Connection reset by peer]
Renard has joined #linux-sunxi
Renard has quit [Read error: Connection reset by peer]
Renard has joined #linux-sunxi
Renard has quit [Read error: Connection reset by peer]
Renard has joined #linux-sunxi
Renard has quit [Read error: Connection reset by peer]
Renard has joined #linux-sunxi
Renard has quit [Read error: Connection reset by peer]
Renard has joined #linux-sunxi
Renard has quit [Read error: Connection reset by peer]
Renard has joined #linux-sunxi
Renard has quit [Read error: Connection reset by peer]
Renard has joined #linux-sunxi
Renard has quit [Read error: Connection reset by peer]
Seppoz has joined #linux-sunxi
<mripard>
sunxi_fan1: but again
<mripard>
you should consider something simpler to get yourself some experience with all this before going after alsa
<mripard>
alsa, and ASoC and definitely not the simpler framework around
<mripard>
so having some experience in the driver development would help you a lot
khuey is now known as khuey|away
Seppoz has quit [Ping timeout: 256 seconds]
Seppoz has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Seppoz has quit [Remote host closed the connection]
Seppoz has joined #linux-sunxi
dlan has quit [Ping timeout: 255 seconds]
Guest72906 has joined #linux-sunxi
pekka30 has quit [Quit: Leaving.]
khuey|away is now known as khuey
pekka30 has joined #linux-sunxi
naobsd has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
cubeast has quit [Quit: Leaving]
Gerwin_J has joined #linux-sunxi
domidumont has joined #linux-sunxi
hipboi_ has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
leviathancn has quit [Ping timeout: 244 seconds]
Guest72906 has quit [Ping timeout: 248 seconds]
dlan has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
<montjoie>
hello I still search people with A10s, A31, A13 and A33 for testing my crypto driver on them.
jjardon has joined #linux-sunxi
khuey is now known as khuey|away
FlorianH has quit [Ping timeout: 256 seconds]
reinforce has quit [Quit: Leaving.]
FR^2 has joined #linux-sunxi
jjardon_ has joined #linux-sunxi
bgola_ has joined #linux-sunxi
paulk-aldrin has quit [Quit: Quitte]
ninolein has joined #linux-sunxi
vbmithr_ has joined #linux-sunxi
lioka_ has joined #linux-sunxi
robogoat_ has joined #linux-sunxi
bfree_ has joined #linux-sunxi
adj__ has joined #linux-sunxi
lioka has quit [Disconnected by services]
steev__ has joined #linux-sunxi
jjardon has quit [Ping timeout: 248 seconds]
bgola has quit [Ping timeout: 248 seconds]
steev_ has quit [Ping timeout: 248 seconds]
robogoat has quit [Ping timeout: 248 seconds]
ninolein_ has quit [Ping timeout: 248 seconds]
HeavyMetal has quit [Ping timeout: 248 seconds]
vbmithr has quit [Ping timeout: 248 seconds]
bfree has quit [Ping timeout: 248 seconds]
xenoxaos has quit [Ping timeout: 248 seconds]
FDCX_ has quit [Ping timeout: 248 seconds]
adj_ has quit [Ping timeout: 248 seconds]
doppo has quit [Ping timeout: 248 seconds]
HeavyMetal has joined #linux-sunxi
doppo has joined #linux-sunxi
xenoxaos has joined #linux-sunxi
lioka_ is now known as lioka
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
lioka has quit [Changing host]
lioka has joined #linux-sunxi
FDCX_ has joined #linux-sunxi
FlorianH has joined #linux-sunxi
jjardon_ is now known as jjardon
steev__ is now known as steev_
Gerwin_J has quit [Quit: Gerwin_J]
domidumont has quit [Ping timeout: 246 seconds]
pmattern has quit [Quit: Genug für heute.]
philippe_fouquet has quit [Remote host closed the connection]
sehraf has quit [Read error: Connection reset by peer]
leviathancn has joined #linux-sunxi
orly_owl has quit [Ping timeout: 264 seconds]
orly_owl has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
Nacho has quit [Remote host closed the connection]
Nacho has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
Nacho has quit [Remote host closed the connection]
Nacho has joined #linux-sunxi
alexxy[home] is now known as alexxy
fredy has quit [*.net *.split]
ccaione has quit [*.net *.split]
ccaione has joined #linux-sunxi
fredy has joined #linux-sunxi
FlorianH has quit [Ping timeout: 246 seconds]
Gerwin_J has joined #linux-sunxi
robogoat_ has quit [Ping timeout: 246 seconds]
gzamboni has quit [Read error: Connection reset by peer]