ChanServ changed the topic of #linux-msm to:
marvin24_ has joined #linux-msm
marvin24 has quit [Ping timeout: 480 seconds]
srini_ has joined #linux-msm
irungentoo has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
zstas has joined #linux-msm
jhovold has joined #linux-msm
srini_ has quit [Ping timeout: 480 seconds]
irungentoo has joined #linux-msm
<konradybcio> W=1 is useful together with a path
<konradybcio> so e.g. make ARCH=arm64 LLVM=1 -j16 drivers/soc/
mripard has quit [Remote host closed the connection]
srini_ has joined #linux-msm
pespin has joined #linux-msm
srini__ has joined #linux-msm
srini_ has quit [Ping timeout: 480 seconds]
mripard has joined #linux-msm
dliviu has quit [Remote host closed the connection]
dliviu has joined #linux-msm
srini_ has joined #linux-msm
srini__ has quit [Ping timeout: 480 seconds]
mgonzalez has joined #linux-msm
<mgonzalez> lumag: I've been working on the tdp158 submission, and I realize that despite all my efforts to explain how the device can be set up, I seem to be failing to get the message across to mripard ?
<mgonzalez> Would it help at all if I included code in the driver that queried the device over I2C to get the device ID? (This would prove that the driver & HW do handle I2C accesses)
<mripard> I would suggest to focus on being less antagonizing. It would help you, and it's not the first time we have that discussion.
<mripard> claiming you made efforts when you completely ignored mails from both lumag and I for example is a bit ridiculous
<mgonzalez> Iwhat?!
<mgonzalez> Oh because I have not replied yet?
<mgonzalez> No, I have read them several times to understand what the issue is
<mgonzalez> And I'm addressing them by changing the code and making a PoC
<mgonzalez> I was AFK for a week
<mgonzalez> The binding issue was low-hanging fruit since Conor had already stated he didn't mind one way or the other
<mripard> The binding is the only hanging fruit right now
<mgonzalez> No, I meant the reg property
<mgonzalez> And the PoC will address your other concern of backwards compat
<mgonzalez> And for the record, there is another similar device in mainline, I'm willing to bet it hasn't received the same scrutiny, but no matter, I'm getting close to a solution
<mgonzalez> mripard: read between the lines, adding I2C accesses in the driver wouldn't be useful?
<mgonzalez> s/read/reading
<mgonzalez> trying again: if I read between the lines, you're implying that adding I2C accesses in the driver would not bring anything?
<mgonzalez> Because all that matters is how to address the I2C vs pin strap issue?
<mgonzalez> mripard: I had not checked my email before sending my IRC message
<mgonzalez> It was not done as a sleight to you
<mgonzalez> s/sleight/slight
<aka_[m]> <konradybcio> "W=1 is useful together with a..." <- danke schön
ungeskriptet has quit [Quit: The Lounge - https://thelounge.chat]
krzk has quit [Remote host closed the connection]
krzk has joined #linux-msm
ungeskriptet has joined #linux-msm
srini_ has quit [Ping timeout: 480 seconds]
<mgonzalez> lumag: I think I have addressed all outstanding issues for tdp158?
<mgonzalez> I don't think it makes sense to add the platform driver stub if it's not used, it just makes the driver more complex for nothing
<mgonzalez> also, I don't think I should add the device query debug code?
<lumag> mgonzalez, as I wrote bindings are for the hardware, the driver is a separate topic. You don't have a device that uses pin-straps to configure TDP158. Also the straps and non-straps setup are mutually exclusive.
<mgonzalez> I don't know what to take away from that?
<mgonzalez> Basically what I'm saying is "what I proposed works, so I don't understand what mripard is asking for"
<mgonzalez> tfp410 handles pinstrap mode & I2C mode the same way I guess
<mgonzalez> lumag: except that they force some parameters when in I2C mode
<lumag> mgonzalez, again, forget about the driver when speaking about bindings.
<lumag> I know it's hard. I also fail to do it sometimes.
<mgonzalez> OK no driver, no driver, no driver
<lumag> Thanks :-)
<lumag> So, I looked at tf410. The bindings clearly specify that it is either I2C or it is the pin-strap mode (via the if).
<mgonzalez> device has same wires pinstrapped vs programmable
<mgonzalez> No, the if just sets some stuff for the driver
<mgonzalez> They cheated
<mgonzalez> Basically, they're saying "if we're in I2C mode, don't hardcode skew"
<mgonzalez> That's not saying "device must be pinstrapped or I2C"
<mgonzalez> Also there's no way to force reg to be absent in the pinstrapped mode
<lumag> It is implied via the else branch
<mgonzalez> So it's all fluff
<mgonzalez> I can write in the description that reg is required for I2C, and must be absent for pinstrapped
<lumag> I'd prefer a clear oneOf: with two cases, but it seems DT maintainers were fine with that if (or it's just nobody cared).
<mgonzalez> But it's not enforced by the compiler, it would be a convention
<lumag> I think that since you really can test and support the i2c mode, ignore the pin-strapped mode. Write about it in the commit message, that should be enough.
<lumag> mripard, do you have any concerns from your side/
<mgonzalez> famous last words
<mgonzalez> It's 8pm in France, not sure mripard will see this
<mgonzalez> Basically, I need to beef up the commit message on patch 1 to explain the 2 possible setups and how my binding addresses both?
<mgonzalez> lumag: is that it?
<lumag> mgonzalez, or that you leave the pin-strapping as a place for improvement
<mgonzalez> This makes no sense to me
<mgonzalez> Pin strapping means "everything is hard-coded". Thus there is NOTHING about it in a binding
<mgonzalez> lumag: I will send an update tomorrow, probably. Or maybe I should wait for mripard's feedback because basically, nothing changes in my code
mgonzalez has quit [Quit: Leaving]
zstas has quit [Ping timeout: 480 seconds]
pespin has quit []
zstas has joined #linux-msm
zstas has quit [Ping timeout: 480 seconds]
jhovold has quit [Ping timeout: 480 seconds]
<jessica_24> hey, is there any API that will let me re-probe drivers within the deferred probe list? I'm seeing `driver_deferred_probe_trigger()` as an option, but looks like it's not meant to be used outside the base device driver code
<steev> lumag: where is your ath10k board-2.bin from? my c630 doesn't seem to have a board-2.bin that has the Lenovo_C630 variant in it
<steev> ah, it's in codelinaro, sorry