Turl changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi
xLinuxBot has quit [Ping timeout: 264 seconds]
physis has quit [Remote host closed the connection]
naobsd has quit [Quit: naobsd]
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 260 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
khuey|aw1y is now known as khuey
robogoat has quit [Ping timeout: 244 seconds]
robogoat has joined #linux-sunxi
TheSeven has quit [Ping timeout: 256 seconds]
TheSeven has joined #linux-sunxi
robogoat has quit [Ping timeout: 248 seconds]
vishnup has joined #linux-sunxi
robogoat has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 240 seconds]
p1u3sch1 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
dlan has quit [Remote host closed the connection]
dlan has joined #linux-sunxi
dlan has quit [Changing host]
dlan has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
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..
premoboss has joined #linux-sunxi
<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]
<mripard> is the clock enabled ?
<mripard> the bus one that is
<sunxi_fan1> the overall setup up is described here: https://gist.github.com/aventuri/c40d08b946b0d1da5081/#file-sunxi-i2s-c
<sunxi_fan1> again this is still VERY raw.. :-)
<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> the clock i'm enabling is the "iis0_clk" present in the su7i-a20.dtsi here: https://github.com/jwrdegoede/linux-sunxi/blob/sunxi-wip/arch/arm/boot/dts/sun7i-a20.dtsi , that's indeed a bit different then the "codec_clk"
xLinuxBot has joined #linux-sunxi
<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]
FlorianH has joined #linux-sunxi
philectro has joined #linux-sunxi
Renard has joined #linux-sunxi
diego_r has quit [Ping timeout: 244 seconds]
enrico_ has quit [Quit: Bye]
gzamboni has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
leviathancn has quit [Ping timeout: 244 seconds]
leviathancn has joined #linux-sunxi
FlorianH has quit [Quit: WeeChat 0.4.2]
leviathancn has quit [Ping timeout: 252 seconds]
leviathancn has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
ricardocrudo has quit [Ping timeout: 264 seconds]
domidumont has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
steev_ is now known as steev
JohnDoe_71Rus has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
leviathancn has quit [Ping timeout: 240 seconds]
gzamboni has quit [Ping timeout: 244 seconds]
leviathancn has joined #linux-sunxi
dev1990 has joined #linux-sunxi
leviathancn has quit [Ping timeout: 248 seconds]
leviathancn has joined #linux-sunxi
gzamboni has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 252 seconds]
p1u3sch1 has joined #linux-sunxi
domidumont has joined #linux-sunxi
leviathancn has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
domidumont has quit [Ping timeout: 246 seconds]
bonbons has joined #linux-sunxi
premoboss has quit [Remote host closed the connection]
ricardocrudo has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
bits4me_ has joined #linux-sunxi
gzamboni has quit [Ping timeout: 264 seconds]
ricardocrudo_ has joined #linux-sunxi
Seppoz has quit []
ricardocrudo has quit [Ping timeout: 244 seconds]
leviathancn has joined #linux-sunxi
HeHoPMaJIeH has quit [Remote host closed the connection]
HeHoPMaJIeH has joined #linux-sunxi
kelvan has quit [Read error: Connection reset by peer]
gzamboni has joined #linux-sunxi
kelvan has joined #linux-sunxi
ricardocrudo__ has joined #linux-sunxi
premoboss has joined #linux-sunxi
ricardocrudo_ has quit [Ping timeout: 244 seconds]
dev1990 has quit [Quit: Konversation terminated!]
khuey|away is now known as khuey
ricardocrudo__ has quit [Remote host closed the connection]
bits4me_ has quit [Quit: Page closed]
bits4me has quit [Quit: Page closed]
FR^2 has quit [Quit: Leaving]
arossdotme has quit [Ping timeout: 256 seconds]
arossdotme has joined #linux-sunxi
paulk-collins has quit [Quit: Quitte]
robogoat has joined #linux-sunxi