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
<Xogium>
marex: to be fair I didn't have that many problems with this SoC and board. The only thing my defconfig was lacking was optee support, and that was the multi_v7_defconfig. It's just that I failed to spot that tee was enabled but I did something wrong so optee wasn't. Seeed caused me way more trouble than st in this project
<Xogium>
probably helps also that I'm sticking to the st versions of softwares and not going full mainline
ungeskriptet6 has joined #armlinux
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
ungeskriptet has quit [Ping timeout: 255 seconds]
ungeskriptet6 is now known as ungeskriptet
smoothdev has joined #armlinux
<Xogium>
javierm: hello :) I use your awesome interface for finding out what's wrong with defered devices. It did explain for some of them, i.e gave a reason like not ready, but some of them have no reason at all beside their name. What does that mean ?
smoothdev has quit [Ping timeout: 264 seconds]
smoothdev has joined #armlinux
nsaenz has joined #armlinux
smoothdev has quit [Ping timeout: 264 seconds]
smoothdev has joined #armlinux
headless has joined #armlinux
nsaenz has quit [Remote host closed the connection]
<marex>
Xogium: I went fully mainline, but then had to backport 484 patches on top of secure optee-os which runs with highest privilege level to make it work at all ... I'm not sure how I feel about it
<marex>
Xogium: I also had to add many kernel patches to get even basic things working
smoothdev has quit [Quit: smoothdev]
<marex>
Xogium: and uh ... then ... at some point, ST updated the optee-os and tfa release , I updated ... and not even my recovery system kernel booted anymore, because something changed in the optee-os ...
<marex>
I was afraid something like that might happen with such massive firmware depenency ... and it did ... sigh ... so for now, the platform is uninteresting
<Xogium>
marex: I do understand. I'm not saying it's good practice. Just sharing how it has been for me so far
<marex>
the most sad of this all is, that I do not even need or want the extra SBoM components (optee / tfa) for the deployment, they were just unconditionally forced onto me and are useless and harmful, which is real bad
<marex>
with mp15, they were not needed, and with mp13 this was purely a bad decision to enforce it like that
<Xogium>
I have to stick to non mainline at least until the mainline things get improved by st contributions and other folks, because I rely on the low power, suspend to ram and all of those things
<Xogium>
yeah. I don't like the way this was handled, for sure. But for my use of the mp15 I needed to move to tf-a anyway, cause I use barebox bootloader
<Xogium>
and I just honestly didn't feel like building u-boot then barebox so I could get u-boot spl only
<marex>
Xogium: just use u-boot, that provides all the PSCI interface etc.
<marex>
Xogium: as for the contributions, I think that was also blocked by the SCMI stuff, since that was not ready and everything else depended on it, sigh
<Xogium>
marex: tbh I kind of don't like u-boot
<Xogium>
I much prefer barebox ;)
Guest88 has joined #armlinux
headless has quit [Quit: Konversation terminated!]
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
smoothdev has joined #armlinux
Guest88 has quit [Quit: Client closed]
heat has joined #armlinux
cbeznea has joined #armlinux
cbeznea_ has quit [Ping timeout: 240 seconds]
<Xogium>
here's a fun question for y'all. I'm working on the dt and I noticed seeed did what I would presume is a bad thing (they added a &pinctrl section in the dts)
<Xogium>
it has a lot of duplicated labels if you include the base stm32mp13-pinctrl.dtsi
<Xogium>
so I'm removing those (making absolutely sure they are in fact the same pinmux). The problem is i2c1 in seeed and st things doesn't match, and I wonder how I have to deal with this
<Xogium>
same for uart4, interesting
<Xogium>
so how do I deal with different uartand i2c pinmux ?
<Xogium>
*uart and
<Xogium>
should I just rename those nodes and keep the &pinctrl section in my dts ?
<Xogium>
fwiw I just removed about 200 lines of duplicated work from the dts, identical pinmux, and only kept the i2c1, uart4 and usbotg_hs nodes
<ukleinek>
broonie: are spi drivers supposed to call spi_master_suspend() in their remove callback?
<ukleinek>
broonie: context is spi-ti-qspi which returns an error if spi_master_suspend() fails. This might be bad, as some cleanups are skipped then.
<broonie>
ukleinek: not off hand - I’d need to look again but doesn’t sound sensible
<broonie>
That’s almost certainly a bug
<ukleinek>
FTR: That's the only spi platform driver in next that doesn't use .remove_new
headless has joined #armlinux
<Xogium>
I really can't figure this pinmux thing out... What's one supposed to do when the pinmux for some devices is different on a per-board basis ? Surely not add a &pinctrl section into the dts itself ?
<Forty-Bot>
that's exactly what you do
<Xogium>
really ?
<Forty-Bot>
what else?
<Xogium>
I don't know
<Xogium>
but how do I then avoid duplicate labels ?
<Forty-Bot>
be imaginative
<Xogium>
I included the vendor stm32mp13-pinctrl.dtsi
<Forty-Bot>
you can also /delete-node/ if you are out of ideas
headless has quit [Quit: Konversation terminated!]
<Xogium>
I'm confused honestly. It wasn't me doing it, seeed did that, and I don't really know how to deal with this. They didn't include the dtsi, they prefered duplicating entire portion of it instead, even the ones that do match the dtsi
<Xogium>
so it kind of confused me
<Forty-Bot>
you can do that too, but it's generally brittler
<Xogium>
yeah and duplicate work's bad
<ukleinek>
Xogium: or use a your-device-b node
<Xogium>
ukleinek: how do you mean ?
<Xogium>
here i2c1 pins are different for example
<ukleinek>
Xogium: than add a &pinctrl { i2c1-a { ... }; }; or something like that
<Xogium>
I see
<Xogium>
this is the first time I see a &pinctrl section in a dts file. I thought these were reserved to dtsi only for some reason
<Xogium>
but it makes sense
<ukleinek>
Xogium: i2c1-1 would be the right name
<ukleinek>
or call it i2c1-local to be sure to not conflict with later additions to stm32mp13-pinctrl.dtsi
<Xogium>
yeah. I just don't want conflict :)
<Xogium>
I'll try that
<ukleinek>
or add i2c1-1 to stm32mp13-pinctrl.dtsi
<ukleinek>
Xogium: &pinctrl is quite usual (for some SoCs more than for others)
<Xogium>
I see
smoothdev has quit [Quit: smoothdev]
<Xogium>
I wasn't at all sure it was proper given the track record of seeed so far ;)
<Xogium>
thank you both
<ukleinek>
Xogium: i.e. I think every imx dts has an &iomuxc
<Xogium>
right, I see them now
<Xogium>
that's my problem ;) I tend to hyperfocus on what I do and check only this specific SoC vendor
smoothdev has joined #armlinux
smoothdev has quit [Ping timeout: 258 seconds]
smoothdev has joined #armlinux
<Xogium>
that's 200 lines less in the dts ;)
headless has joined #armlinux
cbeznea has quit [Ping timeout: 244 seconds]
amitk has quit [Ping timeout: 240 seconds]
prabhakarlad has joined #armlinux
headless has quit [Quit: Konversation terminated!]