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
scosu_ has joined #armlinux
scosu has quit [Ping timeout: 246 seconds]
shailangsa has quit [Ping timeout: 268 seconds]
shailangsa has joined #armlinux
amitk has joined #armlinux
ChanServ has quit [shutting down]
ChanServ has joined #armlinux
CrashTestDummy2 has joined #armlinux
CrashTestDummy3 has quit [Ping timeout: 268 seconds]
iivanov has joined #armlinux
guillaume_g has joined #armlinux
frieder has joined #armlinux
frieder has quit [Ping timeout: 246 seconds]
frieder has joined #armlinux
Pali has joined #armlinux
sszy has joined #armlinux
frieder has quit [Ping timeout: 258 seconds]
frieder has joined #armlinux
matthias_bgg has joined #armlinux
djrscally has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
monstr has joined #armlinux
luispm has joined #armlinux
mixfix41 has joined #armlinux
pg12 has quit [Ping timeout: 246 seconds]
shoragan[m] has quit [Quit: Bridge terminating on SIGTERM]
psydroid has quit [Quit: Bridge terminating on SIGTERM]
mvaittin has quit [Quit: Bridge terminating on SIGTERM]
a3f has quit [Quit: Bridge terminating on SIGTERM]
sha has quit [Quit: Bridge terminating on SIGTERM]
<ukleinek>
broonie: ah, it might work with spi-mux as module ...
<ukleinek>
scosu: hey, long time no read
<scosu>
ukleinek: true, and long time no see ;)
<broonie>
ukleinek: In any case, it does look like a bug.
headless has joined #armlinux
<marex>
ukleinek: spi mux has its share of issues
<ukleinek>
broonie: I guess the problem started to appear with ddf75be47ca748f8b12d28ac64d624354fddf189
<broonie>
Proably.
matthias_bgg has quit [Read error: Connection reset by peer]
<marex>
ukleinek: just out of curiosity, how is your spi mux wired exactly ?
matthias_bgg has joined #armlinux
<marex>
ukleinek: I recall that if you had GPIO expander on SPI nCS0 , which controlled the mux , things were rather juicy
<marex>
sboyd_: hey, is there some way to specify, in DT, that I want clock to be kept enabled all the time at specific frequency (say a soc clock which are output on a pin, but have no consumer except for some external gizmo) ? I can imagine assigned-clock-rates is the frequency part, but what about the "keep the clock enabled" part ?
<marex>
I think I am looking for something like gpio-hog, except for clock
<ukleinek>
marex: the setup is pretty much Documentation/devicetree/bindings/spi/spi-mux.yaml, for now (i.e. prototype phase) with a single GPIO
<marex>
ukleinek: last time I tried, it was full of locking issues
<ukleinek>
marex: there is a locking issue, the one I identified is recursive use of spi_add_lock
<marex>
ukleinek: what is controlling your mux ?
<marex>
ukleinek: soc gpio or spi gpio expander ?
<ukleinek>
soc gpio
<marex>
oh, then that should be no problem
* ukleinek
can imagine the problems you get if you need spi to drive the spi mux
<marex>
ukleinek: it is juicy :)
<ukleinek>
marex: the motivation to use a spi-mux is that the imx8 has only one native CS and the native CS is useful in this scenario because we need CS_WORD
Nact has joined #armlinux
matthias_bgg has quit [Ping timeout: 255 seconds]
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
milkylainen_ has joined #armlinux
prabhakarlad has quit [Ping timeout: 246 seconds]
prabhakarlad has joined #armlinux
cmarinas has joined #armlinux
<ukleinek>
broonie, marex: I reverted ddf75be47ca748f8b12d28ac64d624354fddf189 now, it still triggers a lockdep splat
<ukleinek>
broonie: I'm convince that the goal of ddf75be47ca748f8b12d28ac64d624354fddf189 should better be reached using the refcounting provided by the device core instead.
<ukleinek>
s/convince/convinced/
<broonie>
I would have thought so too TBH.
<ukleinek>
the lockdep splat is about .io_mutex because there is no nesting annotation
headless has quit [Quit: Konversation terminated!]
* ukleinek
wonders about "Phone: (+49)-8142-66989-56 Email: marex@denx.de" in the commit log created by b4 for 20210718211143.143557-1-marex@denx.de
<ukleinek>
ah, that is picked up from the footer of Marek's reply, lol