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*
<smaeul> plaes: here is jack detection for A64: https://github.com/smaeul/linux/commits/patch/sun8i-codec-3-jack
<smaeul> but it cannot be merged in this form (it is doing card driver functions in a codec driver; maintainers will ask for a machine driver, and that's a lot of work)
<smaeul> Ashleee: great! so we know that's a decent workaround, but we don't know if the timer is still going backward within a core, or if it is out of sync between cores
<anarsoul> smaeul: why is it a card driver job?
<smaeul> because it is accessing card-level widgets. the "Headphone Jack" and "Headset Microphone" names come from the simple-audio-card in the DT
<anarsoul> apart from mic bias it just seems to be reporting jack status
<anarsoul> moreover it's a codec thing, so having a machine-specific driver for it doesn't sound right
<smaeul> it's also reaching into the analog codec driver to control "HBIAS" (because jackdet and micdet enable bits are in the analog codec)
<smaeul> so assuming it is acceptable, it would need support from sun8i-codec-analog (A33) to not give errors at runtime
<smaeul> I may send it as an RFC if I'm feeling lucky :)
<smaeul> (or feel free to, they're not even my patches originally)
<anarsoul> I'll need to deal with my backlog of patches first
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
montjoie has quit [Ping timeout: 256 seconds]
montjoie has joined #linux-sunxi
<apritzel> smaeul: did you get notified about my TF-A push? I'd rather ask before touching any gerrit buttons these days ;-)
<apritzel> a bit rough on the edges, but I need to start somewhere
apritzel has quit [Ping timeout: 264 seconds]
kaspter has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
Asara_ has joined #linux-sunxi
Asara has quit [Read error: Connection reset by peer]
tuxd3v has quit [Ping timeout: 256 seconds]
hanetzer- has joined #linux-sunxi
hanetzer has quit [Read error: Connection reset by peer]
victhor has quit [Remote host closed the connection]
Asara_ is now known as Asara
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #linux-sunxi
sunshavi has quit [Read error: Connection reset by peer]
sunshavi has joined #linux-sunxi
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 264 seconds]
ChriChri_ is now known as ChriChri
_whitelogger has joined #linux-sunxi
TheSeven has quit [Ping timeout: 260 seconds]
[7] has joined #linux-sunxi
asdf28 has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 256 seconds]
JohnDoe_71Rus has joined #linux-sunxi
ganbold has quit [Read error: Connection reset by peer]
ganbold has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
apritzel has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
cnxsoft1 has quit [Ping timeout: 264 seconds]
apritzel has quit [Ping timeout: 256 seconds]
chewitt has quit [Quit: Zzz..]
cnxsoft has quit [Ping timeout: 260 seconds]
cnxsoft has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
liushuyu has quit [Quit: WeeChat 2.8]
liushuyu has joined #linux-sunxi
cmeerw has joined #linux-sunxi
kaspter has quit [Ping timeout: 264 seconds]
kaspter has joined #linux-sunxi
chewitt has joined #linux-sunxi
cmeerw has quit [Ping timeout: 260 seconds]
AneoX has joined #linux-sunxi
ldevulder_ is now known as ldevulder
atsampson has quit [Remote host closed the connection]
atsampson has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 264 seconds]
camus is now known as kaspter
iamfrankenstein has joined #linux-sunxi
apritzel has joined #linux-sunxi
buZz has quit [Ping timeout: 260 seconds]
camus has joined #linux-sunxi
hlauer has joined #linux-sunxi
kaspter has quit [Ping timeout: 246 seconds]
camus is now known as kaspter
vagrantc has quit [Quit: leaving]
iamfrankenstein has quit [Quit: iamfrankenstein]
victhor has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 246 seconds]
buZz has joined #linux-sunxi
buZz is now known as Guest7364
lkcl has quit [Ping timeout: 246 seconds]
Guest7364 has quit [Changing host]
Guest7364 has joined #linux-sunxi
Guest7364 is now known as buZz
lkcl has joined #linux-sunxi
pmp-p has quit [Ping timeout: 240 seconds]
akaWolf1 has quit [Ping timeout: 240 seconds]
pmp-p has joined #linux-sunxi
akaWolf has joined #linux-sunxi
eduardas has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
DrFrankensteinUK has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
DrFrankensteinUK has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
asdf28 has quit [Ping timeout: 264 seconds]
megi has quit [Quit: WeeChat 3.0]
megi has joined #linux-sunxi
eduardas_ has joined #linux-sunxi
eduardas has quit [Ping timeout: 246 seconds]
eduardas_ has quit [Client Quit]
eduardas has joined #linux-sunxi
<plaes> anarsoul: any ideas which modules/options should I enable to get a64-olinuxino audio working?
<plaes> I have these enabled, but card does not appear :(
asdf28 has joined #linux-sunxi
<wens> missing drivers?
<plaes> yeah, but which ones? :)
<wens> SND_SUN50I_CODEC_ANALOG, SND_SUN8I_CODEC, SND_SUN4I_I2S
<plaes> even the CONFIG_SND_SUN8I_CODEC is not obvious
<plaes> I2S even for analog?
* plaes checks...
<wens> plaes: it's internally coupled through I2S
<wens> same as HDMI lol
<plaes> well, make arm64 defconfig and then go to the sunxi sound menuconfig
<plaes> it's totally not obvious :D
<wens> IIRC there's a tool that takes a DTB, then goes through all the drivers and tells you which Kconfig options to enable
<plaes> o_O
<plaes> &dai { status = "enabled" }; ??
<wens> plaes: yeah, and that one ...
<plaes> :(
<gediz0x539> wens: whoa, what tool is this?
<plaes> ok, some success now :)
kaspter has quit [Quit: kaspter]
<plaes> it would be nicer if driver complains about missing dai...
<wens> gediz0x539: can't remember :(
<KotCzarny> include or1k compiler with crust package, problem solved
<KotCzarny> ;)
<bauen1> having gcc-10 with or1k would be useful just so i can compile crust without another major hurdle
<apritzel> bauen1: it's not too hard to compile a stage 1 cross compiler yourself
<apritzel> (throwing in a libc is where it gets nasty)
<bauen1> apritzel: i've compiled gcc often enough, that i like avoid it when possible :D
<bauen1> so crust is also responsible for proper power-off / reboot, that explains why my initial gentoo test just kind of hanged after poweroff
<apritzel> bauen1: poweroff should work without crust
<apritzel> at least if you have a PMIC
<KotCzarny> no pmic no poweroff
<KotCzarny> without pmic most you can get is fake-off
<apritzel> KotCzarny: yeah, we do this for H5 boards without a PMIC in Trusted firmware
kaspter has joined #linux-sunxi
<apritzel> bauen1: what board is this? Pine H64?
<bauen1> apritzel: yes
<apritzel> bauen1: Re: OR1K cross-compiler: but yeah, I hear you. distros should provide toolchains
<apritzel> bauen1: have you tried https://toolchains.bootlin.com ?
<plaes> nowadays it's quite easy to spin up a container (lxd or whatever), and install all the fun stuff
<apritzel> bauen1: so poweroff works on my Pine H64, from U-Boot at least (CMD_POWEROFF)
netlynx has joined #linux-sunxi
lucascastro has quit [Remote host closed the connection]
<apritzel> bauen1: ... and from Linux as well. Keep in mind that the green LED stays on, as it just signals voltage on the power connector (it's not behind the PMIC)
lucascastro has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
andy25225 has quit [Ping timeout: 240 seconds]
andy25225 has joined #linux-sunxi
cmeerw has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
chewitt_ has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 260 seconds]
chewitt_ has quit [Ping timeout: 256 seconds]
tuxd3v has joined #linux-sunxi
chewitt has joined #linux-sunxi
victhor has quit [Remote host closed the connection]
Asara has quit [Ping timeout: 264 seconds]
Asara has joined #linux-sunxi
eduardas has quit [Quit: Konversation terminated!]
victhor has joined #linux-sunxi
apritzel has quit [Ping timeout: 256 seconds]
<mirko> anyone driving ws2812 / sk6812 led strips with spi-sun6i? i'm having the issue that one color (in my case green) of the very first led of whatever strip i use is always on at full brightness. i've read similar reports with use of neopixel libs which got fixed by some weird seemingly unrelated changes probably affecting timing..
dhewg has quit [Ping timeout: 256 seconds]
apritzel has joined #linux-sunxi
<MoeIcenowy> linux-sunxi.org skin breaks
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
dhewg has joined #linux-sunxi
aballier has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
macc24_ has quit [Ping timeout: 246 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 5.0.1, revision: 5.0.1+git-7433-0df9f22f2, build type: debug, sources date: 20160102, built on: 2019-12-08 19:19:20 UTC 5.0.1+git-7433-0df9f22f2 http://www.kvirc.net/]
ldevulder has quit [Ping timeout: 260 seconds]
macc24 has joined #linux-sunxi
macc24 has quit [Excess Flood]
macc24 has joined #linux-sunxi
hanetzer- is now known as hanetzer
lucascastro has quit [Ping timeout: 256 seconds]
lucascastro has joined #linux-sunxi
apritzel has quit [Ping timeout: 260 seconds]
lucascastro has quit [Remote host closed the connection]
lucascastro has joined #linux-sunxi
jstein has joined #linux-sunxi
lucascastro has quit [Ping timeout: 264 seconds]
apritzel has joined #linux-sunxi
asdf28 has quit [Ping timeout: 246 seconds]
lucascastro has joined #linux-sunxi
lucascastro has quit [Ping timeout: 240 seconds]
lucascastro has joined #linux-sunxi
lucascastro has quit [Remote host closed the connection]
lucascastro has joined #linux-sunxi
diego71 has quit [Ping timeout: 264 seconds]
hlauer has quit [Ping timeout: 256 seconds]
vpeter has quit [Ping timeout: 240 seconds]
qschulz has quit [Remote host closed the connection]
vpeter has joined #linux-sunxi
qschulz has joined #linux-sunxi
sunshavi has quit [Ping timeout: 264 seconds]