mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
Hypfer6 has quit [Ping timeout: 252 seconds]
Hypfer6 has joined #linux-rockchip
gnuiyl has quit [Remote host closed the connection]
gnuiyl has joined #linux-rockchip
<naoki> RFGCM
stikonas has quit [Quit: Konversation terminated!]
detlevc has quit [Quit: Ping timeout (120 seconds)]
sre has quit [Quit: Ping timeout (120 seconds)]
sre has joined #linux-rockchip
detlevc has joined #linux-rockchip
kevery has quit [Ping timeout: 244 seconds]
kevery has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
Daanct12 has joined #linux-rockchip
Daanct12 has quit [Client Quit]
Daanct12 has joined #linux-rockchip
krei-se has quit [Ping timeout: 246 seconds]
krei-se has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery has joined #linux-rockchip
kevery has quit [Quit: kevery]
kevery has joined #linux-rockchip
kevery has quit [Quit: kevery]
kevery has joined #linux-rockchip
<naoki> my brain is dead...
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 276 seconds]
kevery1 is now known as kevery
Daanct12 has quit [Ping timeout: 248 seconds]
hexdump0815 has quit [Ping timeout: 244 seconds]
hexdump0815 has joined #linux-rockchip
Daanct12 has joined #linux-rockchip
asriel has quit [Quit: Don't drink the water. They put something in it to make you forget.]
Danct12 has quit [Quit: ZNC 1.9.1 - https://znc.in]
Danct12 has joined #linux-rockchip
MyNetAz has quit [Read error: Connection reset by peer]
MyNetAz has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery has joined #linux-rockchip
raster has joined #linux-rockchip
chewitt has joined #linux-rockchip
kevery has quit [Quit: kevery]
kevery has joined #linux-rockchip
franoosh has quit [Ping timeout: 264 seconds]
kevery has quit [Read error: Connection reset by peer]
kevery has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
ldevulder has joined #linux-rockchip
warpme has joined #linux-rockchip
gnuiyl has quit [Remote host closed the connection]
<naoki> I noticed u-boot/include/configs/evb_rk3588.h is strange... it includes rk3588_common.h BEFORE "#define ROCKCHIP_DEVICE_SETTINGS ..."
<naoki> evb_rk3308.h, evb_rk3568.h, and evb_rk3588.h are wrong
<naoki> (and my ROCK 5C patch too...)
gnuiyl has joined #linux-rockchip
<qschulz> wens: they already are aliased
gnuiyl has quit [Ping timeout: 244 seconds]
gnuiyl has joined #linux-rockchip
gnuiyl has quit [Remote host closed the connection]
gnuiyl has joined #linux-rockchip
<naoki> oh...? it can be compiled...
gnuiyl has quit [Remote host closed the connection]
gnuiyl has joined #linux-rockchip
<naoki> btw why there is no stdin in ROCKCHIP_DEVICE_SETTINGS...?
gnuiyl has quit [Remote host closed the connection]
gnuiyl has joined #linux-rockchip
gnuiyl has quit [Remote host closed the connection]
<diederik> I recall the convention of sorting node properties alphabetically (with a few exceptions), but I can't find the official reference for it?
<CounterPillow> there is no official reference to my knowledge, it's just what Heiko prefers for the rockchip tree
<diederik> I did find https://docs.kernel.org/6.12/devicetree/bindings/dts-coding-style.html#order-of-properties-in-device-node but it doesn't say so for the properties. A bit above it does say so for node names
<mmind00> diederik: "it doesn't say so for the properties"? ... that paragraph is about properties
<mmind00> diederik: do I need more coffee?
<diederik> Hahaha! I was just about to say something similar wrt me LOL
<diederik> but the paragraph I linked does NOT say anything about alpha-numerically ordering
<diederik> thus node *names* yes, but not properties *inside* a node
<mmind00> diederik: interesting :-) ... then yes it is not nailed down centrally ... so just do it anyway ;-)
<diederik> I would ofc, but I was looking for an official justification to make that remark on https://lore.kernel.org/linux-rockchip/01020193ad040150-e0cf3371-115b-469e-840e-4fa97af5b207-000000@eu-west-1.amazonses.com/ (in its example)
<diederik> As I guess most will use the example in the binding as starting point, it would be useful to get it correct/preferred there
<mmind00> the justification in all cases is, that it's hard to read when properties are sorted "randomly" ... when you're past "power-domains" you generally don't expect "pinctrl" to turn up later
<mmind00> so it's not "wrong" in that example, but re-sorting would make it easier to parse by people
<diederik> don't get me wrong, I completely agree with that. But the "Reviewed-by" list is rather large ... and includes Rob Herring ...
<mmind00> most reviewed-bys are from @collabora.com ... don't know how nitpicky they are with each other ;-)
<diederik> yeah, I noticed that too ;-) Hence me highlighting Rob
<diederik> I'll just formulate it as a question then
kevery has quit [Read error: Connection reset by peer]
kevery has joined #linux-rockchip
<diederik> CounterPillow: thanks :)
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 272 seconds]
kevery1 is now known as kevery
<diederik> Found a spelling mistake as well ;-P
<diederik> The devisibility by 4 and the IRQ issue (wrt DSI2 controller) are 2 different things, right?
<mmind00> diederik: yep ... as Andy said in v3 ... the div-by-4 is a vop-thing
<mmind00> and the irq a result of that
<diederik> which means they are connected ... which makes it odd that I have that problem on a PineTab2 with its 1280x800 resolution
<mmind00> diederik: but with that pile of other error messages you had, there seems to be a lot more wrong ;-)
<diederik> yeah, that too ;-)
<diederik> what is odd that I only saw those error msgs recently for the first time
FergusL has quit [Quit: The Lounge - https://thelounge.chat]
FergusL has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
naoki has quit [Quit: naoki]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dsimic has quit [Ping timeout: 244 seconds]
dsimic has joined #linux-rockchip
ldevulder has joined #linux-rockchip
MyNetAz has quit [Read error: Connection reset by peer]
MyNetAz has joined #linux-rockchip
warpme has joined #linux-rockchip
chewitt_ has joined #linux-rockchip
chewitt has quit [Ping timeout: 265 seconds]
chewitt_ has quit [Client Quit]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<qschulz> to answer myself, the deterministic way to use the "new" gpio interface is by using the name of the gpiochip and not the index, i.e. for Rockchip boards: gpioX and neither /dev/gpiochipX nor gpiochipX
Daanct12 has quit [Quit: WeeChat 4.4.4]
warpme has joined #linux-rockchip
<CounterPillow> Drinking game: open a rockchip TRM and take a shot whenever some hardware block has a scale or blit functionality tacked on
<jakllsch> heh
<CounterPillow> Right now I can think of: RGA2, RGA3, rkvdec2, probably Hantro, probably rkdjpeg, rkisp, and the VOP
<mps> is Radxa 5B (RK5588) board supported in mainline kernel?
<mmind00> CounterPillow: you rigged the question to maximize the number of drinks ;-)
<jakllsch> 5588?
<jakllsch> 3588?
<CounterPillow> mps: yes, but please use the latest released kernel
<phh> CounterPillow: i wasn't aware there was rga 2 & 3. what do they do differently? (or it's two instances of a RGA?)
<mps> CounterPillow: yes, 3588
<CounterPillow> phh: two different IPs altogether I think, don't remember the specifics
<phh> at least you don't count VOPB VOPL (VOPM?)
<CounterPillow> phh: right, I could count those separately too :D
<mps> CounterPillow: I don't have this board but would like to enable for it all needed drivers/options for alpine kernel
<CounterPillow> mps: afaik diederik (or am I misremembering?) had a script to find all the needed drivers for a specific device tree which would tell you what options to enable
<mps> CounterPillow: would be nice to download this script
<phh> (just checked, rk3588 has one big VOP, two middle, one small)
<mps> diederik: thank you very much
<diederik> It's a *very* crude script and it'll give you an initial list, which you then should suppliment with the rest
<diederik> it has several 'defects' like not taking into account alternative compatibles
<diederik> but the script itself should give you enough clues to make it work for you
<mps> diederik: why you check debian kernel
<diederik> Because Debian is awesome and The Universal Operating System?
<diederik> I use Debian and I used that script to figure out what needed to get enabled in the Debian kernel
<mps> diederik: ok, thanks
<diederik> but if you don't care about that, then I guess you can stript that out of the script
<diederik> s/stript/strip/
<mps> I run it using kernel.org tree but don't get any output
cp- has quit [Read error: Connection reset by peer]
<robmur01> diederik: you know the kernel itself has scripts/dtc/dt_to_config? ;)
<diederik> robmur01: I did not know that, I'll have a look! Thanks :)
ldevulder has quit [Quit: Leaving]
<diederik> I just noticed I was doing the same thing manually over and over again, so I codified what I did
<diederik> 1212 line ... and in perl ... there's a very high chance that's a lot better then mine ;-P
<mps> diederik: ah, it works with proper DTS
<diederik> initial run of that scripts and it find a LOT ... which you don't need
<diederik> Ha! It has a similar 'disclaimer' as I posted earlier: good to use as a start, but don't blindly use/trust it
<mps> heh, right
<mps> anyway could be of the help
<diederik> that is its goal :)
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<qschulz> wens: I don't have such message on my RK3588 Jaguar with an NVMe on it
detlevc has quit [Changing host]
detlevc has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
stikonas has joined #linux-rockchip
crabbedhaloablut has quit []
crabbedhaloablut has joined #linux-rockchip
naoki has joined #linux-rockchip
naoki has quit [Quit: naoki]
<mmind00> wens: hmm, could be the addition of the pcie smmu be the culprit?
<mmind00> i.e. next contains a patch that enables the pcie arm smmu on the rk3588
warpme_ has joined #linux-rockchip
<mmind00> wens: in theory you should see messages like https://paste.debian.net/1339237/ in your kernel log?
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
psydroid has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
psydroid has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
naoki has joined #linux-rockchip
<naoki> Kwiboo: how can I see log_debug() messages?
MyNetAz has quit [Read error: Connection reset by peer]
<Kwiboo> naoki: same as debug(), and possible also if you build with LOG and low enough LOGLEVEL or similar, I always just use #define LOG_DEBUG at top of file :-)
<naoki> Kwiboo: ok :D
MyNetAz has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip