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
uwe_ has quit [Ping timeout: 248 seconds]
Yong has joined #linux-sunxi
uwe_ has joined #linux-sunxi
Andy-D__ has quit [Ping timeout: 240 seconds]
perr has joined #linux-sunxi
kloczek has quit [Remote host closed the connection]
kloczek has joined #linux-sunxi
<MoeIcenowy> ElBarto: I mean datasheets, not user manuals
<MoeIcenowy> and they're available at dl.linux-sunxi.org
apritzel has quit [Ping timeout: 240 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
Yong has quit [Remote host closed the connection]
kloczek has quit [Read error: Connection reset by peer]
kloczek has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 260 seconds]
<wens> Net147: uh, just fix up the set_mux function and add support for a10/a20?
ninolein has joined #linux-sunxi
<wens> DRM will handle binding an encoder to a crtc
<wens> encoder = hdmi, crtc = tcon
ninolein_ has quit [Ping timeout: 276 seconds]
<Net147> wens: but I want to try running HDMI on tcon1 instead of tcon0
<wens> Net147: with modetest you can specify which crtc you want the encoder to be bound to
<wens> but otherwise, DRM handles it for you
<wens> Net147: I'm assuming you want to test that you got the muxing right, plus the second pipeline works?
kloczek has quit [Read error: Connection reset by peer]
<Net147> wens: yes
pg12 has quit [Ping timeout: 248 seconds]
<Net147> wens: can I do that by modifying the DT? perhaps by removing all the nodes for the first pipeline?
<Net147> wens: I remember you said that the mux requires the first tcon though
pg12 has joined #linux-sunxi
<Net147> wens: modetest says "no device found". is there a particular branch that adds sun4i-drm support?
kloczek has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
xes has joined #linux-sunxi
<wens> Net147: the first tcon needs to be enabled
<wens> so the first pipeline needs to be enabled (in the DT) at all times
<wens> Net147: modetest -M sun4i-drm ?
<wens> ok? looks good
<Net147> strange it doesn't show any frame buffers
<Net147> it's on tcon1, how would I switch to tcon0 now using modetest
<Net147> there is only 1 encoder shown
<wens> modetest -s to set/test a mode, you will get test color bars
<Net147> *I mean it is on tcon0, how would I switch to tcon1
<wens> and see syntax of modetest -s, you can force it to use a particular crtc
<wens> as I mentioned, in normal operation, DRM will pick a suitable crtc for each encoder, you normally don't force it
<wens> Net147: so please try playing with modetest
<Net147> wens: modetest -s 33@28:1360x768 shows multi colored test image correctly, modetest -s 33@31:1360x768 shows screen filled with single color
<Net147> wens: HDMI monitor is getting signal with right resolution for both
<wens> mux gone wrong?
<Net147> well without the mux the monitor gets no signal
cnxsoft has joined #linux-sunxi
<Net147> sometimes the color is different
<Net147> but the color only changes when switching
<Net147> if I flip the HDMI source bit then I get no signal with either tcon
<Net147> so the mux does seem to be doing something right
luoyi_ has joined #linux-sunxi
<luoyi_> can anyone have a look on http://linux-sunxi.org/User_talk:LuoYi#H3_I2S_Problem. does this is a already known problem or a new found one ?
<Net147> wens: I do find the terminology used in the DT a bit confusing. it may have been clearer if tcon0 and tcon1 in the DT were called lcdc0 and lcdc1. in A31 user manual, TCON0 and TCON1 refers to channel 0 and channel 1 of the LCDC.
<Net147> mripard: do you think tcon0/tcon1 in the DT should have been called lcdc0/lcdc1?
_whitelogger has joined #linux-sunxi
<wens> Net147: it doesn't help that allwinner uses the term interchangeably
<wens> luoyi_: sounds like your dac might be interpreting the i2s stream incorrectly
<luoyi_> wens: you mean the problem is with dac ?
<wens> luoyi_: both sides need to agree on the format, something ASOC should handle for you if the drivers are properly written
<luoyi_> dac is a es9023
<wens> luoyi_: the dac also needs to know there are 2 samples per cycle, and map to left/right channels
<luoyi_> 2 samples per cycle <----- looks like the lrck take care of it
<wens> I don't see a driver for that one
<luoyi_> es9023 is just like a pcm5102
<luoyi_> OK. let me try to exchange the dac and see the result
<wens> there's also a mode select in the H3's I2S block
<luoyi_> wens: wow
<luoyi_> you are so right
<wens> the block is much more complicated as it supports not just I2S but also PCM and TDM
<luoyi_> wens: after I change the dac to pcm5102, the left & right channel work correctly now
<wens> :)
Yong has joined #linux-sunxi
TheSeven has quit [Ping timeout: 258 seconds]
lurchi__ has quit [Read error: Connection reset by peer]
lurchi_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
[7] has joined #linux-sunxi
Yong has quit [Ping timeout: 240 seconds]
<luoyi_> wens: can I clean the code and try to mainline the i2s driver in 4.13 ?
<wens> what do you mean
<wens> luoyi_: codekipper is already working on it
<luoyi_> OK.
<luoyi_> my work is just based on codekipper's , and I doesn't see code update for some time
<wens> luoyi_: he just sent a patch series 3 days ago?!
<wens> have you tried that?
<luoyi_> no, I don't see that
<luoyi_> the mail list ?
<wens> yes
kloczek has quit [Remote host closed the connection]
lkcl has joined #linux-sunxi
IgorPec has joined #linux-sunxi
techping has joined #linux-sunxi
jernej has joined #linux-sunxi
jernej has quit [Ping timeout: 260 seconds]
lkcl has quit [Read error: Connection timed out]
JohnDoe_71Rus has joined #linux-sunxi
techping has quit [Remote host closed the connection]
BenG83 has quit [Quit: Leaving]
nvz has quit [Quit: leaving]
jernej has joined #linux-sunxi
BenG83 has joined #linux-sunxi
apritzel has joined #linux-sunxi
willmore has quit [Ping timeout: 248 seconds]
willmore has joined #linux-sunxi
Andy-D__ has joined #linux-sunxi
jstein_ has joined #linux-sunxi
gaby has quit [Ping timeout: 260 seconds]
jstein_ is now known as jstein
gaby has joined #linux-sunxi
nvz has joined #linux-sunxi
nvz has quit [Quit: leaving]
jernej has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-sunxi
LargePrime has quit [Ping timeout: 276 seconds]
jernej has joined #linux-sunxi
LargePrime has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
leviathan_ has joined #linux-sunxi
marble_visions has joined #linux-sunxi
BenG83_ has joined #linux-sunxi
dev1990 has joined #linux-sunxi
BenG83 has quit [Ping timeout: 248 seconds]
dev1990 has quit [Client Quit]
chomwitt has joined #linux-sunxi
apritzel has quit [Ping timeout: 260 seconds]
Mr__Anderson has joined #linux-sunxi
|Jeroen| has joined #linux-sunxi
rej has quit [Quit: Obviously a major malfunction.]
rej has joined #linux-sunxi
netlynx has joined #linux-sunxi
lurchi__ is now known as lurchi_
xes_ has joined #linux-sunxi
Andy-D__ has quit [Ping timeout: 240 seconds]
xes has quit [Ping timeout: 240 seconds]
dev1990 has joined #linux-sunxi
montjoie has quit [Ping timeout: 276 seconds]
<ElBarto> MoeIcenowy: ah thanks, didn't know about dl.linux-sunxi.org
montjoie has joined #linux-sunxi
<ElBarto> mripard: beh, I feel stupid to not even test this channel :)
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
IgorPec has joined #linux-sunxi
chlorine has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
chomwitt has quit [Ping timeout: 258 seconds]
lurchi_ is now known as lurchi__
<MoeIcenowy> ssvb: did you remember I added A33 data to your tinymembench?
<MoeIcenowy> Today I found that the tablet I used to do the benchmark only installed a 8-bit memory chip...
<MoeIcenowy> should this note be added to the page?
<MoeIcenowy> oh you're not here.
perr has quit [Quit: Leaving]
apritzel has joined #linux-sunxi
<ElBarto> apritzel: do you have plan to upstream your allwinner branch to arm-trusted-firmware ?
phipli has joined #linux-sunxi
lurchi__ is now known as lurchi_
mbyzhang has joined #linux-sunxi
mbyzhang has quit [Ping timeout: 260 seconds]
apritzel has quit [Ping timeout: 240 seconds]
chomwitt has joined #linux-sunxi
willmore has quit [Ping timeout: 260 seconds]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
IgorPec has joined #linux-sunxi
|Jeroen| has quit [Quit: dada]
BenG83_ has quit [Ping timeout: 255 seconds]
xes__ has joined #linux-sunxi
BenG83 has joined #linux-sunxi
xes_ has quit [Ping timeout: 260 seconds]
jstein has quit [Remote host closed the connection]
jernej has quit [Ping timeout: 248 seconds]
yann has joined #linux-sunxi
xes__ is now known as xes
yann has quit [Ping timeout: 240 seconds]
yann has joined #linux-sunxi
nvz has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
pmpp has quit [Quit: No Ping reply in 180 seconds.]
pmpp has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
pmpp has quit [Ping timeout: 260 seconds]
pmpp has joined #linux-sunxi
apritzel has joined #linux-sunxi
pmpp has quit [Quit: No Ping reply in 180 seconds.]
pmpp has joined #linux-sunxi
lemonzest has joined #linux-sunxi
<Net147> MoeIcenowy: wens: I got HDMI to run on tcon1 - https://github.com/net147/linux/commit/e4afe8c52c458874c22d927e304b33e70bb9c0b9 and https://github.com/net147/linux/commit/ca5c9321577429d3f0f85fc4df614acb3bcd4a46. there seems to be an undocumented OUT_SEL mux value for LCD1 in DEBE_MODCTL_REG (A20 user manual only has mux value to output to LCD0 - which is documented as "LCD")...
apritzel has quit [Ping timeout: 240 seconds]
apritzel has joined #linux-sunxi
xes has quit [Quit: WeeChat 1.8]
lurchi_ is now known as lurchi__
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 276 seconds]
lurchi__ is now known as lurchi_
xes has joined #linux-sunxi
Andy-D__ has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
Andy-D__ has quit [Ping timeout: 248 seconds]
apritzel has quit [Ping timeout: 260 seconds]
marble_visions has quit [Quit: Page closed]
IgorPec has quit [Ping timeout: 248 seconds]
Yong has joined #linux-sunxi
Yong has quit [Remote host closed the connection]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
kelvan has quit [Remote host closed the connection]
kelvan has joined #linux-sunxi
Keziolio has quit [Ping timeout: 258 seconds]
Keziolio has joined #linux-sunxi
Keziolio has joined #linux-sunxi
Keziolio has quit [Changing host]
nvz has quit [Ping timeout: 268 seconds]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
<Putti> Net147, is the check " /* Only 2 TCONs */" for debugging purposes? Or what was the reason behind it?
<Net147> Putti: there are only 2 TCONs on A20
Andy-D__ has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 268 seconds]
<Putti> Net147, okay. I was thinking if the code will be used by other allwinner chips then maybe they can have more than two tcons and it would be useful not to have that restriction
<Net147> Putti: it won't. the mux function is for sun7i only.
<Net147> Putti: it is only called for "allwinner,sun7i-a20-display-engine" compatible in tcon
<Putti> alright
jernej has joined #linux-sunxi
<Net147> just trying to get my head around configuring the outputs with DRM. by default /dev/fb0 is set up for all outputs in mirrored mode.
chlorine has joined #linux-sunxi
yann has quit [Ping timeout: 246 seconds]
chlorine has quit [Ping timeout: 240 seconds]
apritzel has joined #linux-sunxi
p_rossak has quit [Remote host closed the connection]
p_rossak has joined #linux-sunxi
Andy-D_ has joined #linux-sunxi
<wens> Net147: oh right... I had that fixed for A31
IgorPec has joined #linux-sunxi
Andy-D__ has quit [Ping timeout: 255 seconds]
<wens> hmm, it's not the same thing
<wens> this is what I did for the A31
<wens> though I'm guessing the A10/A20 display pipeline is wired differently
leviathan_ has quit [Read error: Connection reset by peer]
p_rossak has quit [Remote host closed the connection]
scream has joined #linux-sunxi
p_rossak has joined #linux-sunxi
leviathan_ has joined #linux-sunxi
p_rossak has quit [Remote host closed the connection]
p_rossak has joined #linux-sunxi
lemonzest has quit [Quit: Quitting]
lemonzest has joined #linux-sunxi
jernej has quit [Ping timeout: 248 seconds]
lkcl has quit [Read error: Connection reset by peer]
pmpp_ has joined #linux-sunxi
pmpp has quit [Disconnected by services]
pmpp_ is now known as pmpp
lkcl has joined #linux-sunxi
lurchi_ is now known as lurchi__
lkcl has quit [Ping timeout: 276 seconds]
Andy-D__ has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 248 seconds]
hp197 has quit [Ping timeout: 260 seconds]
lkcl has joined #linux-sunxi
aballier has quit [Ping timeout: 268 seconds]
aballier has joined #linux-sunxi
jernej has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
apritzel has quit [Ping timeout: 248 seconds]
hp197 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 255 seconds]
Mr__Anderson has quit [Remote host closed the connection]
Andy-D_ has joined #linux-sunxi
Andy-D__ has quit [Ping timeout: 240 seconds]
lkcl has quit [Ping timeout: 240 seconds]
willmore has joined #linux-sunxi
jernej has quit [Ping timeout: 260 seconds]
Gerwin_J_ has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 258 seconds]
Gerwin_J_ is now known as Gerwin_J
iamfrankenstein has quit [Quit: iamfrankenstein]
jstein has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 4.9.2, revision: git-7099-gca80ee628, build type: debug, sources date: 20160102, built on: 2017-03-12 14:49:35 UTC git-7099-gca80ee628 http://www.kvirc.net/]
apritzel has joined #linux-sunxi
leviathan_ has quit [Remote host closed the connection]
willmore has quit [Quit: Leaving]
lurchi__ is now known as lurchi_
lemonzest has quit [Quit: Quitting]
lurchi_ has quit [Remote host closed the connection]
lurchi_ has joined #linux-sunxi
ganbold has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
xes has quit [Ping timeout: 240 seconds]
scream has quit [Remote host closed the connection]
nvz has joined #linux-sunxi
xes has joined #linux-sunxi
lurchi_ has quit [Remote host closed the connection]
lurchi_ has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
lurchi_ has quit [Remote host closed the connection]
lurchi_ has joined #linux-sunxi