mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
vagrantc has quit [Quit: leaving]
diederik has quit [Ping timeout: 252 seconds]
diederik has joined #linux-rockchip
stikonas has quit [Quit: Konversation terminated!]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
dsimic has quit [Ping timeout: 252 seconds]
dsimic has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
dsimic has quit [Ping timeout: 246 seconds]
dsimic has joined #linux-rockchip
krei-se has quit [Ping timeout: 248 seconds]
krei-se has joined #linux-rockchip
smaeul has joined #linux-rockchip
smaeul_ has quit [Ping timeout: 260 seconds]
<naoki> oh I forgot to add Fixes tag for rfkill patch...
<naoki> can I add tag by reply to myself ;)
System_Error has quit [Ping timeout: 260 seconds]
System_Error has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 255 seconds]
<naoki> oops
hexdump0815 has joined #linux-rockchip
Daanct12 has joined #linux-rockchip
raster has joined #linux-rockchip
Daanct12 has quit [Ping timeout: 276 seconds]
mps has quit [Ping timeout: 244 seconds]
warpme has joined #linux-rockchip
Daanct12 has joined #linux-rockchip
<naoki> mmind00: hmm... how can I use dual-role type-C USB port? I can use it as host if I add dr_mode = "host", but I cannot use it as host without it
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #linux-rockchip
Stat_headcrabbed has joined #linux-rockchip
<naoki> dsimic: I (temporary?) lost your last mail due to XXXX e-mail server in that country :(
<naoki> dsimic: there was cover letter in v1, I forgot to send it in v2 XD
<a3f> a1batross, that sounds like debugging output from a routine setting SD/MMC clock.
<a3f> 400kHz is the initial frequency for the SD/MMC probe
<a3f> naoki, did you try dr_mode = "otg"?
<dsimic> naoki: regarding the additional Fixes tag, maybe it would be better to submit the next version of the patch
<qschulz> naoki: look into lore.kernel.org/linux-rockchip and you can get an mbox from there to be able to reply to dsimic
<naoki> a3f: I'm not talking about how to use dr_mode. (btw "otg" is default"
<qschulz> naoki: the default for dr_mode should be otg except if overridden in some DTS IIRC
<naoki> dsimic: about Fixes, yes
<naoki> qschulz: yes, I just did it :) thanks
<qschulz> naoki: it could be an issue with the ID pin then
<qschulz> naoki: either HW level or missing some configuration in the DT
<dsimic> naoki: how do you send patches, so cover letters can be lost? :) I'm just curious
<dsimic> I write cover letters as branch descriptions, which makes it rather impossible for them to become lost (unless there's some bug or misconfiguration in Git, of course)
<qschulz> dsimic: i can highly recommend b4
<qschulz> this is also MUCH more beginner friendly than git-send-email and the likes
<qschulz> handles versioning series, diffing between versions, etc...
<dsimic> qschulz: I see, but I currently have no need for b4, my "manual" approach works great for me, after spending many days on defining Git aliases, etc. :)
<naoki> dsimic: https://github.com/RadxaNaoki/linux/commits/rk3588s-rock-5/ I updated last 2 commits to use vbus_typec
<dsimic> naoki: I prefer to see patches on the mailing list :)
<naoki> I'll send it with cover letter ;)
<dsimic> great, thanks
<qschulz> dsimic: I was fine with my workflow too but the fact that b4 tags the current commit after sending it, manages the versions for me, handles adding people to Cc/To and allows to run checkpatch on all patches... :)
<dsimic> qschulz: I see, it surely comes with quite a few benefits
<qschulz> dsimic: also, it's not kernel-specific though it is mostly used there
<naoki> my manual approach seems to be trash lol
<qschulz> but Buildroot has support for it too, U-Boot as well, and Yocto is getting there
<dsimic> sure, it shouldn't be specific to any project
<qschulz> naoki: hence why b4 was born, try it!
<naoki> noted!
<dsimic> perhaps b4 is better for someone who doesn't want to spend days on defining Git aliases, etc., ehich I specifically wanted to do, to learn Git better that way, but that surely isn't everyone's cup of tea :)
<qschulz> dsimic: it lowers the barrier of entry drastically
<qschulz> also, you can send mails without a mail server, which should help get rid of issues of people not being able to send patches via e.g. gmail or their corporate accounts
<dsimic> also, I contributed to Git, and chances are high you're all running a bit of my code in Git whenever you run it, because I fixed some bug in the Git configuration parsing, and that code gets executed very early in each Git invocation :)
<naoki> https://github.com/RadxaNaoki/linux/commit/c73320ffc1f291e70592359100d78777ab3e1973 this is what I'm trying to use dual-role typec, I referred rock-5-itx.dts
<qschulz> (you need a token though, and I haven't tested this workflow yet)
<dsimic> hmm, a token for what?
<qschulz> sending mails without a mail server with b4
<dsimic> what does it use instead?
<naoki> I'm using my own smtp server :D
<qschulz> naoki: is the wifi+bt chip on rock-5t soldered or is it on an m.2?
<naoki> qschulz: soldered
<dsimic> perhaps M.2, I'd guess?
<qschulz> naoki: ok, then the rfkill is fine
<dsimic> ah, wrong guess :/
<qschulz> because on m.2, the pins for Bluetooth and WiFi enabling aren't specified by the standard
<qschulz> and I vaguely recall they could be different on some modules I checked
<dsimic> qschulz: that web API that b4 can use to send patches is quite neat, because many people have troubles setting up SMTP to send patches
<dsimic> I like that it exists as an additional option, but I won't use it :)
<dsimic> it should help a lot people who simply don't want to get into all the steps required to set all up manually, so to speak
<naoki> "because on m.2, the pins for Bluetooth and WiFi enabling aren't specified by the standard" I wonder why rock-5b.dts has rfkill node ;) but at least that's true for Radxa A8 module
<naoki> s/true/right/
<dsimic> also, s/m.2/M.2/, if we want to be pedantic :)
<dsimic> I'm not really sure that the support for SDIO WiFi+BT chips on M.2 modules is backed by some formal standard at all
<dsimic> AFAIK (and IIRC), it's just left as a slightly undefined option
<qschulz> you have W_DISABLE1# and W_DISABLE2# but that';s basically it
<dsimic> thus, I think that defining support for rfkill in board dts files is fine, because there's no formal standard to start with
<qschulz> dsimic: well that's exactly the reason for NOT adding them
<qschulz> because then you could need to rfkill bluetooth to be able to use the WiFi
<qschulz> depending on which m.2 module you insert
<dsimic> hmm, but in that case we shouldn't have support for SDIO modules at all, except in per-module DT overlays
<qschulz> I honestly do not know what should be done exactly
<dsimic> the safest option would be to have per-module DT overlays for supported and tested SDIO modules
<qschulz> we've used GPIO hogs on Jaguar for example
<qschulz> which means they cannot ever be disable, which is bad
<dsimic> s/SDIO modules/M.2 SDIO modules/
<qschulz> dsimic: yeah but that's not really reasonable
<qschulz> dsimic: ah, or you just provide two DTBO
<qschulz> one with W_DISABLE1 = rfkill BT+W_DISABLE2 = rfkill WiFi and the other one with those swapped
<dsimic> yeah, but that's the only 100% safe option, if I'm right that M.2 SDIO modules aren't strictly backed by a formal standard
<dsimic> if we could provide just two DT overlays, that would be even better
<naoki> git format-patch -o ~/ --cover-letter --subject-prefix="PATCH v3" --break-rewrites foo..bar
<naoki> vi ~/0000*
<naoki> ...
<qschulz> naoki: you can remove subject-prefix and use -v 3 instead
<naoki> what!?
<dsimic> naoki: I'd suggest that you learn a bit about using branch descriptions as cover letters
<naoki> oh! "-v"!
<qschulz> naoki: ah also, b4 stores your cover letter as an empty commit directly in the branch (there's another option as well), so you don't have to keep your cover letter somewhere to update it between versions
<naoki> I need to learn more about git things
<naoki> ^and b4
<dsimic> naoki: see https://git-scm.com/docs/git-branch#Documentation/git-branch.txt-branchltnamegtdescription , for example
<qschulz> naoki: b4 prep -n my-series-name; <do commits>; b4 prep --edit-cover; b4 prep --auto-to-cc; b4 prep --check; b4 send
<dsimic> qschulz: why doesn't b4 use branch descriptions for cover letters?
<dsimic> qschulz: nice, it supports different options, including branch descriptions
<naoki> qschulz: it seems that's magic spell
<naoki> my todo list is growing faster
<naoki> s/list/stack/
<dsimic> mine is growing faster than it's shrinking :)
<dsimic> BTW, I still need to go through the channel backlog for the last week or so :/
<qschulz> dsimic: if nobody pinged you, there's no need :D
<naoki> let's discard least recently used entries
<qschulz> the same as going on holidays and taking all mails > /dev/null
<dsimic> nah, I don't work that way, I like to read what others wrote regardless :)
<qschulz> yeah me too
<qschulz> at least there's less activity generally over the Christmas holidays, so starting work again in January isn't that painful
<dsimic> IDK, I don't follow that usual pattern, but that's just me :)
<dsimic> I have to go AFK...
<naoki> (here is average workaholic Japanese...)
<dsimic> I see nothing wrong with that :)
<qschulz> naoki: yeah, i don't know how you folks do it...
<qschulz> 10 days a year is crazy
raster has quit [Quit: Gettin' stinky!]
dsimic has quit [Ping timeout: 245 seconds]
dsimic has joined #linux-rockchip
<naoki> (please don't ask how to send patch email...)
<naoki> btw rfkill label prop is optional
<qschulz> naoki: yeah but then how do you know which rfkill to toggle for enabling/disabling WiFi or BT?
<naoki> we can use node name
<qschulz> it's the same issue
<naoki> IDK which is nicer ;)
<qschulz> how do you know which rfkill is associated with which part of the wifi+bt module?
franoosh has quit [Remote host closed the connection]
franoosh has joined #linux-rockchip
Stat_headcrabbed has quit [Remote host closed the connection]
Stat_headcrabbed has joined #linux-rockchip
psydroid has joined #linux-rockchip
Daanct12 has quit [Quit: WeeChat 4.4.3]
Daanct12 has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
naoki has quit [Quit: naoki]
Daanct12 has quit [Quit: WeeChat 4.4.3]
mps has joined #linux-rockchip
Perflosopher has quit [Quit: The Lounge - https://thelounge.chat]
sjoerd has quit [Quit: Ping timeout (120 seconds)]
sjoerd has joined #linux-rockchip
franoosh has quit [Changing host]
franoosh has joined #linux-rockchip
Perflosopher has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
franoosh has quit [Ping timeout: 260 seconds]
warpme_ has joined #linux-rockchip
alpernebbi has quit [Ping timeout: 252 seconds]
alpernebbi has joined #linux-rockchip
warpme has joined #linux-rockchip
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
psydroid has quit [Ping timeout: 260 seconds]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme_ has joined #linux-rockchip
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
psydroid has joined #linux-rockchip
stikonas has joined #linux-rockchip
warpme_ has joined #linux-rockchip
alpernebbi has quit []
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 255 seconds]
kevery1 is now known as kevery
Stat_headcrabbed has quit [Read error: Connection reset by peer]
Stat_headcrabbe1 has joined #linux-rockchip
Stat_headcrabbe1 is now known as Stat_headcrabbed
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
naoki has joined #linux-rockchip
franoosh has joined #linux-rockchip
LordKalma has quit [Read error: Connection reset by peer]
LordKalma has joined #linux-rockchip
dustinm` has quit [Quit: Leaving]
dustinm` has joined #linux-rockchip
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
franoosh has quit [Remote host closed the connection]
psydroid has quit [Remote host closed the connection]
<naoki> does anyone know how to use CONFIG_OF_OVERLAY=y?
<naoki> I cannot make directory under /sys/kernel/config/device-tree :(
urja has quit [Read error: Connection reset by peer]