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
mraynal has quit [Read error: Connection reset by peer]
nsaenz has joined #armlinux
mraynal has joined #armlinux
nsaenz has quit [Ping timeout: 268 seconds]
Peng_Fan has joined #armlinux
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 265 seconds]
System_Error has quit [Ping timeout: 244 seconds]
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #armlinux
System_Error has joined #armlinux
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
arj has joined #armlinux
CounterPillow has quit [Quit: Bye.]
jfsimon has quit [Remote host closed the connection]
jfsimon has joined #armlinux
CounterPillow has joined #armlinux
arj has quit [Ping timeout: 260 seconds]
nsaenz has joined #armlinux
arj has joined #armlinux
System_Error has quit [Remote host closed the connection]
nsaenz has quit [Ping timeout: 265 seconds]
System_Error has joined #armlinux
arj has quit [Ping timeout: 265 seconds]
arj has joined #armlinux
arj has quit [Ping timeout: 276 seconds]
roshan_ has joined #armlinux
roshan_ has quit [Changing host]
roshan_ has joined #armlinux
Peng_Fan has quit [Quit: Connection closed for inactivity]
System_Error has quit [Remote host closed the connection]
arj has joined #armlinux
System_Error has joined #armlinux
monstr has joined #armlinux
arj has quit [Ping timeout: 252 seconds]
monstr has quit [Ping timeout: 252 seconds]
arj has joined #armlinux
Peng_Fan has joined #armlinux
arj has quit [Ping timeout: 244 seconds]
gclement has joined #armlinux
krzk has quit [Remote host closed the connection]
krzk has joined #armlinux
<mmind00> lag: do mfd devices say anything about exclusive use of sub-devices (one or the other, never at the same time) ?
<mmind00> code in question is the new Rockchip pwm block that can do either pwm-output or counter-input and it looks like the current proposed patch just reimplements a mfd ( https://lore.kernel.org/linux-rockchip/20250602-rk3576-pwm-v2-4-a6434b0ce60c@collabora.com/ )
<mmind00> in v1 of the series a rationale was given for that ( https://lore.kernel.org/all/13790724.uLZWGnKmhe@workhorse/ ) - though still this looks like mostly a MFD to me :-)
<lag> mmind00: Looks like an MFD to me
<lag> mmind00: Yes, you can use an MFD core driver to control state / manage single-use resources
<lag> "The most apt choice seems to be undocumented, so I'll opt to hand-roll my own implementation instead, and not document it" - nice!
clegoffic has joined #armlinux
<mmind00> lag: thanks a lot for the confirmation
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
bjoto` has joined #armlinux
bjoto has quit [Ping timeout: 268 seconds]
roshan_ has quit [Ping timeout: 276 seconds]
lpieralisi has joined #armlinux
arj has joined #armlinux
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
arj has quit [Ping timeout: 252 seconds]
roshan_ has joined #armlinux
headless has joined #armlinux
headless has quit [Ping timeout: 252 seconds]
headless has joined #armlinux
luispm has quit [Ping timeout: 276 seconds]
frieder has joined #armlinux
headless has quit [Quit: Konversation terminated!]
<linusw__> paulk: OK I will get to it.
grahamn has joined #armlinux
grahamn has quit [Quit: Leaving]
grahamn has joined #armlinux
luispm has joined #armlinux
roshan_ has quit [Ping timeout: 272 seconds]
atorgue has joined #armlinux
atorgue__ has quit [Read error: Connection reset by peer]
leoy has quit [Remote host closed the connection]
monstr has joined #armlinux
roshan_ has joined #armlinux
monstr has quit [Ping timeout: 252 seconds]
clegoffic has quit [Ping timeout: 272 seconds]
clegoffic has joined #armlinux
sszy has joined #armlinux
bangcat has joined #armlinux
clegoffic has quit [Quit: Client closed]
<CounterPillow> lag: I did not know it's the most apt choice, as it is undocumented.
roshan_ has quit [Quit: Leaving]
<CounterPillow> if you want people to use your shit maybe explain it somewhere other than a mailing list.
cbeznea_ has joined #armlinux
<CounterPillow> lag: I've even Cc'd you to ask about auxbus/platform bus/mfd in the cover letter with a big "AUXBUS/MFD/PLATFORM BUS DISCUSSION" paragraph as the second paragraph, since it appears you prefer answering the same questions over e-mail repeatedly for decades instead of documenting it in-tree. However, you did not respond.
<ukleinek> CounterPillow: he just explained it in irc! :-D *duck*
<CounterPillow> Yeah, to someone other than me ;)
HerbY_NL has joined #armlinux
HerbY_NL has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<lag> a) It's not "my shit" - it's a community project - I just help to look after it
<lag> b) I do not WANT you to use it - the less inept people I have to deal with, the better
<lag> c) This 20 year old subsystem is probably undocumented for a reason, most likely because it's simple enough to understand that documentation is not required d) If you _really_ can't live without documentation, write some - patches always welcome
<lag> CounterPillow: ^
<lag> s/ d)/\n d)/
Poltawer has joined #armlinux
xvmt has joined #armlinux
xvmt has quit [Remote host closed the connection]
sudeepholla_ has quit [Ping timeout: 248 seconds]
xvmt has joined #armlinux
<lag> CounterPillow: Also, I just looked up your mail - a) what makes you think I would find a hidden paragraph inside the cover letter of a random patch-set that looked like it had nothing to do with me? b) You added that paragraph to a submission containing your already authored solution - if you were confused about which API use, it wouldn't it have been better to send a mail with an appropriate subject line _before_ choosing?
<ukleinek> linusw__: would you support this patch even though it changes the return value of a direction_input request?: https://paste.debian.net/hidden/e3e09dff/
<ukleinek> ah, that triggers a WARN_ON, so probably not a good idea to drop it
lpieralisi has quit [Quit: Connection closed for inactivity]
gclement has quit [Ping timeout: 276 seconds]
headless has joined #armlinux
headless has quit [Read error: Connection reset by peer]
headless has joined #armlinux
HerbY_NL has joined #armlinux
HerbY_NL has quit [Client Quit]
headless_ has joined #armlinux
frieder has quit [Remote host closed the connection]
headless is now known as Guest1234
Guest1234 has quit [Killed (lead.libera.chat (Nickname regained by services))]
headless_ is now known as headless
sakman has quit [Quit: Leaving]
nsaenz has quit [Remote host closed the connection]
lvrp16 has quit [Ping timeout: 265 seconds]
lvrp16 has joined #armlinux
sakman has joined #armlinux
HerbY_NL has joined #armlinux
gclement has joined #armlinux
nsaenz has joined #armlinux
gclement has quit [Quit: Leaving.]
HerbY_NL has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
System_Error has quit [Ping timeout: 244 seconds]
sudeepholla_ has joined #armlinux
System_Error has joined #armlinux
bjoto` is now known as bjoto
HerbY_NL has joined #armlinux
HerbY_NL has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nsaenz_ has joined #armlinux
nsaenz has quit [Ping timeout: 252 seconds]
nsaenz_ has quit [Ping timeout: 268 seconds]
cbeznea_ has quit [Ping timeout: 245 seconds]
siak has joined #armlinux
<CounterPillow> lag: the code does not explain which of auxbus, platform bus and mfd is the right choice for a given device. That's the kind of thing documentation is good at: explaining high-level concepts to stop abuse of subsystems to fit a certain other thing. Pissing on my leg for not writing said documentation is funny because 1. I was in fact the very person who needed this documentation, so not in a good spot to be the one making authoritative
<CounterPillow> statements on the truth here, 2. I've already been spending a significant amount of time writing docs patches lately because none of you do it. I did not send you an e-mail with the appropriate subject line before choosing because I'd rather not be blocked on work by the common occurrence of people not responding.
Lucanis has joined #armlinux
Lucanis_ has joined #armlinux
Lucanis has quit [Ping timeout: 252 seconds]
HerbY_NL has joined #armlinux
siak_ has joined #armlinux
siak has quit [Remote host closed the connection]
HerbY_NL has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Poltawer has quit [Quit: WeeChat 4.6.3]
siak_ has quit [Remote host closed the connection]
headless has quit [Quit: Konversation terminated!]
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 252 seconds]
<Forty-Bot> I did a mutually-exclusive pwm/timer and I just differentiated the driver by making them check for #pwm-cells
<Forty-Bot> but I agree we are sorely in need of better docs
<Forty-Bot> IMO auxbus is more flexible than MFD, so if you need to coordinate between devices or have some special probe sequence it can adapt to that
<Forty-Bot> but it's... crustier
<CounterPillow> isn't auxbus newer?
<Forty-Bot> they're both at least a decade old at this point
<Forty-Bot> it's just that every new SoC comes with a set of registers where the hardware designers stuck all the miscellaneous stuff
<Forty-Bot> and that maps well onto the MFD abstraction
<Forty-Bot> so MFDs get more attention
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 252 seconds]
luispm has quit [Ping timeout: 260 seconds]
jfsimon has quit [Read error: Connection reset by peer]
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 245 seconds]
arj has joined #armlinux
arj has quit [Ping timeout: 248 seconds]