rellla 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 - *only registered users can talk*
fALSO has quit [Remote host closed the connection]
fALSO has joined #linux-sunxi
return0e has quit [Remote host closed the connection]
return0e has joined #linux-sunxi
return0e has quit [Remote host closed the connection]
dddddd has quit [Remote host closed the connection]
tuxillo has quit [Ping timeout: 272 seconds]
tuxillo has joined #linux-sunxi
GrimKriegor has quit [Ping timeout: 246 seconds]
messpl has quit [Read error: Connection reset by peer]
GrimKriegor has joined #linux-sunxi
kaspter has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 252 seconds]
reinforce has quit [Quit: Leaving.]
t0dd1v has quit [Quit: Connection closed for inactivity]
jbrown has quit [Ping timeout: 252 seconds]
lurchi_ is now known as lurchi__
jbrown has joined #linux-sunxi
victhor has quit [Remote host closed the connection]
<wens> anarsoul: jack detection is tied to the HBIAS line. It senses current draw changes, like when you plug in a headset, mic ring is either tied to ground if the headset doesn't have a mic
<wens> or the mic would draw phantom power
<wens> also buttons on phone headsets would effect a resistor network on the mic line
<anarsoul> wens: that's fine, but yet code should be written for sun8i-codec and sun50i-codec-analog
<anarsoul> and I'm not sure how to tie them up
<anarsoul> as I said earlier, interrupt registers are in sun8i-codec
<anarsoul> and jack detection registers are in sun50i-codec-analog
<anarsoul> wens: btw, here're dot and png files for v4 series (I'll send it out in ~30 mins): https://www.dropbox.com/sh/2alg201i64969ay/AAD1MgFrFlyCBU-13p9V4U1Ya?dl=0
<wens> yeah, I'm not sure either, whole thing is messed up splitting up stuff randomly :(
<wens> anarsoul: btw, leave the "Mic" and "Headset Mic" widgets in sun8i-codec for now
<anarsoul> wens: OK
<wens> I'm assuming sun8i dts uses it :(
<anarsoul> no, it doesn't
<anarsoul> actually capture part is missing in a23/a33 dtsi
<anarsoul> probably patch was never merged up?
<wens> IIRC the original series didn't include dts changes, only driver changes
<anarsoul> oh, OK
<anarsoul> OK, v4 has been sent out
<wens> thanks. graphs look good to me
t0dd1v has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
leviathan has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 268 seconds]
selfbg has joined #linux-sunxi
deserter has joined #linux-sunxi
IgorPec has joined #linux-sunxi
t0dd1v has quit [Quit: Connection closed for inactivity]
koty0f has joined #linux-sunxi
IgorPec has quit [Ping timeout: 252 seconds]
deserter has left #linux-sunxi [#linux-sunxi]
deserter has joined #linux-sunxi
deserter has quit []
selfbg has quit [Ping timeout: 252 seconds]
clemens3 has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 272 seconds]
jaganteki has joined #linux-sunxi
clemens3 has quit [Ping timeout: 250 seconds]
f11f13 has joined #linux-sunxi
clemens3 has joined #linux-sunxi
diego_ has joined #linux-sunxi
IgorPec has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
yann has quit [Ping timeout: 252 seconds]
dev1990 has joined #linux-sunxi
indy has quit [Read error: Connection reset by peer]
selfbg has joined #linux-sunxi
ganbold has quit [Quit: Leaving]
indy has joined #linux-sunxi
ganbold has joined #linux-sunxi
m4ssi has joined #linux-sunxi
clemens3 has quit [Remote host closed the connection]
clemens3 has joined #linux-sunxi
msimpson has joined #linux-sunxi
return0e has joined #linux-sunxi
qeed has quit [Remote host closed the connection]
yann has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
tnovotny has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
matthias_bgg has joined #linux-sunxi
aalm has joined #linux-sunxi
airwind has joined #linux-sunxi
Andy-D has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
kevans91_ has joined #linux-sunxi
kevans91 has quit [Ping timeout: 268 seconds]
f0xx has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
enrico_ has joined #linux-sunxi
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
reinforce has joined #linux-sunxi
foxx_ has joined #linux-sunxi
f0xx has quit [Ping timeout: 272 seconds]
hitech95_ROG has joined #linux-sunxi
protoCall7 has joined #linux-sunxi
protoCall7 has quit [Client Quit]
aalm has quit [Ping timeout: 246 seconds]
foxx_ has quit [Ping timeout: 245 seconds]
dddddd has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
foxx_ has joined #linux-sunxi
hanetzer has quit [Ping timeout: 244 seconds]
afaerber has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
Andy-D has quit [Ping timeout: 250 seconds]
maciejjo has joined #linux-sunxi
Andy-D has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
afaerber has joined #linux-sunxi
hitech95__ has joined #linux-sunxi
hitech95_ROG has quit [Ping timeout: 252 seconds]
airwind has quit [Quit: airwind]
kevans91_ has quit [Quit: leaving]
kevans91 has joined #linux-sunxi
kevans91 has joined #linux-sunxi
kevans91 has quit [Changing host]
hitech95_ROG has joined #linux-sunxi
hitech95__ has quit [Ping timeout: 268 seconds]
The_Loko has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 250 seconds]
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
HeavyMetal has joined #linux-sunxi
qeed has joined #linux-sunxi
wasutton3_mobile has joined #linux-sunxi
jaganteki has quit [Ping timeout: 256 seconds]
Andy-D has quit [Remote host closed the connection]
selfbg has quit [Remote host closed the connection]
gzamboni has joined #linux-sunxi
jbrown has quit [Ping timeout: 276 seconds]
foxx_ has quit [Ping timeout: 244 seconds]
matthias_bgg has quit [Remote host closed the connection]
jbrown has joined #linux-sunxi
msimpson has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-sunxi
msimpson has joined #linux-sunxi
<plaes> hmm.. what driver can I use on Debian mainline for display on A20?
<plaes> I have 4.18 kernel but I cannot get X up :S
jaganteki has joined #linux-sunxi
f11f13 has quit [Quit: Leaving]
<plaes> [ 118.870] (EE) AddScreen/ScreenInit failed for driver 0
<anarsoul> mripard: hi
<anarsoul> mripard: any other comments on a64 audio series before I send out v5 with all the tags collected?
<anarsoul> (note that I don't have an ack from you for 2/9 - but I addressed your comments for v2)
aalm has joined #linux-sunxi
hitech95_ROG has quit [Ping timeout: 276 seconds]
<mripard> I'll look at the patch 2 then
<mripard> but I won't have time to do it tonight, it's most likely going to be tomorrow
<anarsoul> OK, I'll send v5 out tomorrow then
tllim has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
doppo_ has quit [Quit: Reconnecting]
doppo has joined #linux-sunxi
<anarsoul> mripard: could you also take a look at dts patches tomorrow? (7/9 - 9/9)
hanetzer has joined #linux-sunxi
Mandragor has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
koty0f has quit [Ping timeout: 252 seconds]
<plaes> ohh.. apparently 1920x1080 resolution was too big :S
Mandragor has joined #linux-sunxi
<plaes> mripard: ^^
<jernej> plaes: you did increase CMA size, right?
<jernej> default 16 MB is too low
aalm has quit [Read error: Connection reset by peer]
clemens3 has quit [Ping timeout: 272 seconds]
diego_ has quit [Ping timeout: 252 seconds]
msimpson has quit [Quit: Leaving]
tnovotny has quit [Remote host closed the connection]
diego_ has joined #linux-sunxi
<plaes> hmm.. nope :S
<plaes> I just used debian packages
<plaes> does it actually use CMA?
<wens> yes, the framebuffer is allocated from CMA
<wens> there should be a boot parameter to tweak the CMA size
<plaes> ok, thanks :)
<plaes> also, a while ago I complained about Lime2-eMMC rev K boards were not being able to boot from eMMC :)
<plaes> today I got confirmation from Olimex that indeed, the 16GB eMMC has a small HW issue :(
<plaes> but is there a way to show nicer error message when CMA allocation fails?
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
diego_ has quit [Ping timeout: 244 seconds]
diego_ has joined #linux-sunxi
AneoX_ has quit [Read error: Connection reset by peer]
AneoX has joined #linux-sunxi
gumblex_ has joined #linux-sunxi
yann has quit [Ping timeout: 250 seconds]
gumblex has quit [Ping timeout: 252 seconds]
m4ssi has quit [Remote host closed the connection]
diego_ has quit [Ping timeout: 252 seconds]
<jaganteki> jernej, anarsoul: did we conclude anything on PLL_MIPI
anarsoul|2 has joined #linux-sunxi
<anarsoul|2> jaganteki: try removing all the clk parents that can lead to broken configuration?
jaganteki has quit [Ping timeout: 256 seconds]
jaganteki has joined #linux-sunxi
jelly has quit [Read error: Connection reset by peer]
Nemo_bis has joined #linux-sunxi
jelly-home has joined #linux-sunxi
<jernej> jaganteki: Nothing much. Try to determine if PLL_MIPI is actually needed for MIPI
<jernej> if yes, you have to reference it in some way in DT
<jernej> if not, clk framework doesn't need to actually use it, as it is now
jelly-home is now known as jelly
<anarsoul|2> jernej: I'm still inclined into removing all the parents that can lead to broken configuration
<jernej> I'm not the one you have to convince
jaganteki_ has joined #linux-sunxi
<anarsoul|2> otherwise we'll have to improve clk framework heuristics for very little benefit
jaganteki has quit [Ping timeout: 256 seconds]
jaganteki_ has quit [Client Quit]
<jernej> besides, this might not be completely possible
vagrantc has joined #linux-sunxi
<jernej> some DTs, have clock parent phandles in DT
<jernej> for example, R40 HDMI PHY has phandle to PLL_VIDEO0 and PLL_VIDEO1
<jernej> how would you do this there?
jaganteki has joined #linux-sunxi
<anarsoul|2> I'm talking about doing something like this: https://gist.github.com/anarsoul/853d219d104eaf30e1ca3fbd14d82f75
<anarsoul|2> and probably we have to set limits for pll_video0 so hdmi phy works with it nevertheless
<jernej> that should be already done
<anarsoul|2> not in 4.19
<anarsoul|2> :)
<jernej> in 4.20
<anarsoul|2> yeah, my tree is 4.19-rc
<fALSO> clk patches :-D
<fALSO> i need those
* fALSO waiting for 4.20 rc something
<anarsoul|2> jernej: yeah, and we can set pll-video0 min and max limits to 297MHz
<jernej> absolutely not
<anarsoul|2> why?
<jernej> there are many resolutions which can't work with that base frequency
<anarsoul|2> I thought that hdmi phy clk is fixed
<jernej> in this case you will get only 16 possible pixel clocks
<jernej> no, it has to be the same as pixel clock
<anarsoul|2> oh
<fALSO> do you guys use any free-cloud-thingy to build the kernels ?
<jernej> PLL_MIPI has multiplier and divider, so actually you don't need fixed PLL_VIDEO0
<fALSO> my computer is getting SLOWER AND SLOWER
<anarsoul|2> jernej: so there's no way to get dual-head working on A64?
<jernej> check my previous line
<anarsoul|2> jernej: ok
<anarsoul|2> fALSO: I use my x230
<fALSO> thats no public :-P
<fALSO> not
<fALSO> my core2quad is taking a lot to build the kernels :(
<fALSO> gotta get some MONEYZ to upgrade
<anarsoul|2> fALSO: I think x230 is pretty cheap nowadays
<anarsoul|2> 149-300 USD depending on configuration
<vagrantc> anarsoul|2: i took a stab at updating the pinebook uboot patches, but didn't manage to get LCD output working
<vagrantc> not sure if it's worth pushing upstream without that...
<anarsoul|2> vagrantc: I'll take a look
* vagrantc should probably push those patches somewhere viewable
dev1990 has quit [Quit: Konversation terminated!]
dev1990 has joined #linux-sunxi
<jaganteki> jernej: like hdmi phy we can attach pll-mipi on DT and handle clk_ops on dphy driver separately?
s_frit has quit [Remote host closed the connection]
s_frit has joined #linux-sunxi
<jernej> not without good reason
<vagrantc> anarsoul|2: oh, i already did.
Hao has joined #linux-sunxi
<jernej> if PLL_MIPI is cruical for MIPI working, then yes
<jernej> jaganteki: but HDMI PHY has clock parents specified in DT for different reason
<jernej> clock gets created by HDMI PHY driver
<jernej> whereas in MIPI case, all clocks are already created by clock driver
<jaganteki> but PLL's must need by respective clk parents, what do you mean "if PLL_MIPI is actually needed for MIPI "
<jaganteki> is there any case PLL_MIPI doesn't for MIPI bus or anyothers
<jernej> just because PLL is named PLL_MIPI that doesn't mean it is strictly necessary for MIPI, just convinient
<jernej> unless you prove that by HW tests
yann has joined #linux-sunxi
<jaganteki> since the BSP is using it and altering dividers, can't we confirm it necessary
<anarsoul|2> jaganteki: just remove it from parents in mainline and check if it's working
<jernej> well, that's why spent many months on HDMI PHY testing a ton of stuff
Mr__Anderson has joined #linux-sunxi
<jaganteki> jernej, true
slopez has joined #linux-sunxi
random_yanek has quit [Quit: random_yanek]
clemens3 has joined #linux-sunxi
kozy has quit [Quit: No Ping reply in 180 seconds.]
<anarsoul|2> vagrantc: I'll update my u-boot branch once we get linux-4.20-rc1. I need dts changes from that version
<jaganteki> with 500Hz- 1.4 GHz
<jaganteki> I can see nkm = 10, 2, 11
<jaganteki> rate 540, parent 297
<jaganteki> not working
kozy has joined #linux-sunxi
random_yanek has joined #linux-sunxi
wasutton3_mobile has quit [Ping timeout: 268 seconds]
Hao has quit [Remote host closed the connection]
Hao has joined #linux-sunxi
<vagrantc> anarsoul|2: could just pull from linux-next?
<anarsoul|2> vagrantc: I don't think it's that urgent, 4.19 will be released in few days, and 4.20-rc1 few weeks after that
<vagrantc> anarsoul|2: it'd just push back to the next u-boot release
<vagrantc> e.g. 2019.01
<vagrantc> but sure
Hao has quit [Ping timeout: 245 seconds]
* vagrantc can try and take another stab at it
<anarsoul|2> vagrantc: but pull in pinebook dts from linux instead of patch 5
<anarsoul|2> (from linux-next is OK)
<anarsoul|2> and add anx6345 definitions to it from patch 5
<anarsoul|2> that should be 2 separate patches
<anarsoul|2> don't forget to address comments from v1 :)
Gerwin_J has joined #linux-sunxi
<vagrantc> anarsoul|2: i think i skipped some of the comments, sure
<anarsoul|2> feel free to ping me before sending it out, I can take a look and comment :)
dddddd has quit [Ping timeout: 246 seconds]
<anarsoul|2> and thanks a lot again for taking care of this
wasutton3_mobile has joined #linux-sunxi
<vagrantc> anarsoul|2: thanks for getting it to a point i could even consider trying :)
<anarsoul|2> vagrantc: btw, you should preserve authorship. Use git rebase -i to add fixups to the patches
<anarsoul|2> changes description of current version should go under '---'
<vagrantc> i was using patman, which i think handles the changes and all that by transforming the series-notes
f11f12 has joined #linux-sunxi
<vagrantc> but yeah, the authorship changing needs to be fixed
<vagrantc> just did that quick and dirty to get somethning testable
<anarsoul|2> vagrantc: and add your Signed-off-by line for each patch
<vagrantc> anarsoul|2: patman does that
<anarsoul|2> as I said earlier, patches 4-6 should be replaced with sync up from upstream linux
<anarsoul|2> and you'll need one extra patch to add anx6345 to pinebook dts
<vagrantc> makes sense
<vagrantc> actually, shouldn't the anx6345 .dts changes be added in an include file or something
dddddd has joined #linux-sunxi
<anarsoul|2> vagrantc: no?
<anarsoul|2> it should go into pinebook dts
<anarsoul|2> it's board-specific
aalm has joined #linux-sunxi
<vagrantc> i see a number of BOARD-u-boot.dtsi includes for things out of sync with upstream
<vagrantc> maybe that's for more specific issues
tllim has quit [Remote host closed the connection]
tllim has joined #linux-sunxi
hitech95_ROG has joined #linux-sunxi
buZz has quit [Ping timeout: 246 seconds]
adjtm has quit [Ping timeout: 246 seconds]
adjtm has joined #linux-sunxi
aalm has quit [Ping timeout: 268 seconds]
JohnDoe_71Rus has quit [Read error: No route to host]
lurchi_ is now known as lurchi__
netlynx has quit [Quit: Ex-Chat]
<vagrantc> gah. should've used series-changes instead of series-notes...
lurchi__ is now known as lurchi_
jaganteki has quit [Ping timeout: 256 seconds]
matthias_bgg has quit [Ping timeout: 252 seconds]
leviathan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<vagrantc> hah. i had dropped i2c support in my last patches. no wonder...
Putti has quit [Remote host closed the connection]
Putti has joined #linux-sunxi
Andy-D has joined #linux-sunxi
wasutton3_mobile has quit [Ping timeout: 244 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
Andy-D has quit [Read error: Connection reset by peer]
Andy-D has joined #linux-sunxi
diego_ has joined #linux-sunxi
hitech95_ROG has quit [Ping timeout: 272 seconds]
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-sunxi
victhor has joined #linux-sunxi
diego_ has quit [Ping timeout: 252 seconds]
diego_r has joined #linux-sunxi
duncan^ has joined #linux-sunxi
diego_r has quit [Ping timeout: 244 seconds]
The_Loko has quit [Remote host closed the connection]
AneoX_ has joined #linux-sunxi
buZz has joined #linux-sunxi
buZz is now known as Guest378
AneoX has quit [Ping timeout: 252 seconds]
Guest378 has quit [Changing host]
Guest378 has joined #linux-sunxi
Guest378 is now known as buZz
f11f12 has quit [Quit: f11f12]
muvlon has joined #linux-sunxi
tllim has quit [Quit: Leaving]
IgorPec has quit [Ping timeout: 252 seconds]
jbrown has quit [Ping timeout: 252 seconds]
jbrown has joined #linux-sunxi
clemens3 has quit [Ping timeout: 252 seconds]
<vagrantc> anarsoul|2: progress! i've got it partially working with slightly patched upstream pinebook.dts
<vagrantc> anarsoul|2: working, as in, once linux boots, the display works
<vagrantc> anarsoul|2: in u-boot the LCD flashes briefly and then goes dark until linux boots up
<anarsoul|2> vagrantc: I guess you're missing fixed regulator in config
<anarsoul|2> anyway, boot with serial connected and check what's going on
<vagrantc> i see output on the serial, but nothing obvious as to what's wrong
<vagrantc> i can even see the u-boot output on the LCD briefly
<anarsoul|2> then it's probably backlight
<anarsoul|2> check that you have CONFIG_DM_REGULATOR_FIXED=y in config
<vagrantc> yeah, have that
<anarsoul|2> check 'dm tree' output
<anarsoul|2> paste it somewhere and provide a link
<vagrantc> got it after adding the vdd_bl stuff from your original patches
<anarsoul|2> backlight is here
<anarsoul|2> that's weird
<vagrantc> is DM_I2C_GPIO needed for the panel/backlight/etc ?
RichardG867 has joined #linux-sunxi
Hao has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
<anarsoul|2> vagrantc: no
<anarsoul|2> vagrantc: what ATF are you using?
Andy-D has quit [Remote host closed the connection]
Andy-D has joined #linux-sunxi
<vagrantc> anarsoul|2: https://tracker.debian.org/pkg/atf-allwinner ... trying to track down exactly which tree/commit it's built from
<anarsoul|2> vagrantc: please use this: https://github.com/apritzel/arm-trusted-firmware/
<anarsoul|2> yeah, that should also work
<anarsoul|2> vagrantc: well, according to 'dm tree' backlight is on
<anarsoul|2> if screen is black try to light it up with flashlight (use your phone :)) in dark room
<anarsoul|2> if you see the text then backlight isn't working
<anarsoul|2> for some reason
<vagrantc> yup, shining a light on certain angles shows the screen
<anarsoul|2> OK
<vagrantc> probably my botched attempt at merging upstream
<vagrantc> upstream .dts
<anarsoul|2> vagrantc: I'll rebase my patches on u-boot master and see if it boots tonight
<vagrantc> anarsoul|2: you want a copy of my latest?
<anarsoul|2> nah, I'm good, thanks :)
<vagrantc> ok
<anarsoul|2> well, if you addressed comments for eMMC calibration I'd take it
<vagrantc> i took the lazy way on that
<vagrantc> just ifdef based on MACH_SUN50...
<anarsoul|2> that's the patch that causes most of the pain
<vagrantc> anarsoul|2: thanks!
return0e has quit [Remote host closed the connection]
Hao has quit [Ping timeout: 244 seconds]
_whitelogger has joined #linux-sunxi