ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
prabhakarlad has quit [Quit: Client closed]
heat has quit [Remote host closed the connection]
heat_ has joined #armlinux
derjanni_ has joined #armlinux
derjanni has quit [Ping timeout: 256 seconds]
apritzel has quit [Ping timeout: 268 seconds]
shailangsa has quit [Ping timeout: 264 seconds]
mraynal has quit [Quit: WeeChat 3.0]
mraynal has joined #armlinux
shailangsa has joined #armlinux
alpernebbi has quit [Ping timeout: 260 seconds]
alpernebbi has joined #armlinux
Tokamak_ has quit [Ping timeout: 248 seconds]
elastic_dog has joined #armlinux
heat has joined #armlinux
heat_ has quit [Read error: Connection reset by peer]
jclsn has quit [Ping timeout: 252 seconds]
jclsn has joined #armlinux
amitk has joined #armlinux
amitk has quit [Ping timeout: 265 seconds]
gordea has quit [Quit: gordea]
hanetzer has quit [Ping timeout: 264 seconds]
hanetzer has joined #armlinux
hanetzer has quit [Ping timeout: 260 seconds]
hanetzer has joined #armlinux
heat has quit [Read error: Connection reset by peer]
heat_ has joined #armlinux
heat_ has quit [Ping timeout: 256 seconds]
amitk has joined #armlinux
amitk_ has joined #armlinux
apritzel has joined #armlinux
apritzel has quit [Ping timeout: 265 seconds]
guillaume_g has joined #armlinux
cleger has joined #armlinux
iivanov has joined #armlinux
matthias_bgg has joined #armlinux
sszy has joined #armlinux
linusw_ has joined #armlinux
strudl- has quit [Quit: got milk?]
strudl has joined #armlinux
frieder has joined #armlinux
apritzel has joined #armlinux
prabhakarlad has joined #armlinux
<jclsn>
Can someone explain to me what the nodes with a preceding & mean in device trees?
<jclsn>
I assume it is an address to point to
monstr has joined #armlinux
<geertu>
jclsn: It's a reference to another node
<jclsn>
Think it is called phandle
<jclsn>
Right?
<geertu>
If it is used in a property, it
<geertu>
s indeed
<geertu>
's indeed called a phandle
<jclsn>
Okay
<geertu>
It can also be used outside a property
<geertu>
label_a: node_a {
<geertu>
Typically you use in a base (SoC-specific) DTS:
<geertu>
foo = "xxx";
<geertu>
and add/override properties in node_a in the board DTS:
<geertu>
}
<geertu>
&label_a {
<geertu>
bar = "yyy";
<geertu>
}
<jclsn>
And why are there some names with dashes or underscores?
<jclsn>
Sometimes you have
<jclsn>
pwm_backlight: pwm-backlight { ...
<geertu>
Actually underscores are discouraged for node names (so I should have written node-a)
<geertu>
"pwm-backlight" is the node name, and will appear as such in the DTB
<jclsn>
The other one is a label I guess. Why is that needed?
<geertu>
"pwm_backlight" is the label, and any reference to it will be replaced by a number.
<jclsn>
Why not reference the node name directly
<jclsn>
?
<geertu>
While you can reference the node name directly, it's fragile. E.g. you need to specify the full path in case of nested nodes
<jclsn>
Ah okay so a label is like a variable containing the full path
<geertu>
The labels can also help when reusing .dtsi. E.g. a board can be attached to two different systems, providing a different backlight node, while both can provide the label to abstract that
apritzel has quit [Ping timeout: 255 seconds]
<jclsn>
I just realized I should compile the blobs by hand to get more information. The compiler actually tells you a few things
<jclsn>
I just tried uncompiling the blob and it gave me some information about what could be wrong
<geertu>
Yes, dtc -O dts can help a lot
<geertu>
Same for scripts/dtc/dtx_diff
<jclsn>
Also looking at one source file instread of three or four includes
apritzel has joined #armlinux
<jclsn>
It would be so nice if there were a language server for device trees
<lag>
Anyone know where I might be able to find Pavel Machek?
<ukleinek>
lag: I'm not aware of him doing irc, so I'd resort to mail.
<lag>
ukleinek: Will do, thanks
<krzk>
lag: no progress in co-maintenance of LEDs?
amitk has quit [Ping timeout: 265 seconds]
sudeepholla has quit [Ping timeout: 265 seconds]
<mvaittin>
Hmm.. LEDs getting "new" maintenance blood? That Sounds Great!
sudeepholla has joined #armlinux
agherzan has left #armlinux [#armlinux]
<jclsn>
I can't get it to work. Can someone send me an integration for the sn65dsi83 on the imx8mm?
<jn>
jclsn: perhaps share the current non-working state of your DT?
<jclsn>
You mean the complete dts file?
<jn>
yea (or maybe strip out some unneeded things)
<jclsn>
There might be some remnants from it. The mainline driver is different though.
<jn>
for which kernel version is the decompiled DT?
matthias_bgg has quit [Read error: Connection reset by peer]
<jn>
(http://ix.io/4hgT has been through dtc, so i'm calling it decompiled)
cbeznea has joined #armlinux
<jclsn>
jn: 5.15
<jn>
hmm, i don't have your fork of 5.15, so it's a bit difficult to evaluate
<jn>
or is that 5.15 (close to) mainline?
<jn>
(in that case i'd suggest updating to 6.0 at least, unless you specifically can't have that)
<jclsn>
jn: 5.15. is part of that Yocto release
<jn>
i suspect you could probably supply your own kernel version, but fair enough
<jn>
in any case, two more relevant questions in debugging this are: 1. which driver supports compatible = "distec,zw-t070ywha-05cp"? 2. how does it fail?
iivanov has quit [Remote host closed the connection]
iivanov has joined #armlinux
<jn>
mainline 5.15 does not support "distec,zw-t070ywha-05cp", not sure if yocto has any patches in that area
<lag>
krzk: Nope :(
<lag>
krzk: I just send him a private mail - hopefully we can resolve this soon
<lag>
s/send/sent/
torez has joined #armlinux
lag has quit [Ping timeout: 268 seconds]
matthias_bgg has joined #armlinux
lag has joined #armlinux
lag has quit [Read error: No route to host]
prabhakarlad has quit [Quit: Client closed]
strudl has quit [Quit: got milk?]
strudl has joined #armlinux
lag has joined #armlinux
plappermaul has joined #armlinux
prabhakarlad has joined #armlinux
fvincenzo has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
frieder has quit [Remote host closed the connection]