ChanServ changed the topic of #linux-msm to:
Daanct12 has joined #linux-msm
marvin24_ has joined #linux-msm
marvin24 has quit [Ping timeout: 480 seconds]
jhovold has joined #linux-msm
pespin has joined #linux-msm
<z3ntu1> Is there some upstream solution for qcom,spmi-adc-tm5 that the hardware can handle less (I guess) trip points than would be needed based on what's connected? Downstream msm-4.19 seems to split this stuff in qcom,adc-tm5 and qcom,adc-tm5-iio where the latter doesn't seem to register any trip points in the hardware, but that way you can register e.g. 6 thermal zones on pm6150l which has channels_available/ADC_TM5_NUM_BTM=4
<z3ntu1> Or in other words, on sm7225-fairphone-fp4 with pm6150l there's 6 thermal zones that should be registered but the hardware of pm6150l_adc_tm only seems to support 4, so the driver errors out with "Invalid channel 4" when it tries to register the last two
Daanct12 has quit [Quit: WeeChat 4.1.2]
junari has joined #linux-msm
rmsilva- has quit [Quit: ZNC 1.8.2 - https://znc.in]
rmsilva has joined #linux-msm
<z3ntu1> Actually it seems like I might be able to use generic-adc-thermal for that, qcom,adc-tm5-iio seems to do barely anything more
<aka_[m]> anyone good with bindings?
<aka_[m]> i don't understand it at all and mdp5 cries on me
<konradybcio> 'lut' would have to precede 'tbu'
<konradybcio> in your case there's no 'lut'
<aka_[m]> uh
<aka_[m]> that sounds complicated
<aka_[m]> but shouldn't this trigger if it had different than oneOf
<aka_[m]> like idk
<aka_[m]> allOf:
<aka_[m]> uh minItems is like you have to have atleast 4 of these?
<aka_[m]> but why have order static
<aka_[m]> guess i have no idea how to do it
novaandromeda has joined #linux-msm
novaandromeda has left #linux-msm [#linux-msm]
novaandromeda has joined #linux-msm
<konradybcio> yes order is enforced under items:
<konradybcio> and minItems: 4 means "at least 4 first entries, or more, with the order preserved"
<aka_[m]> oh
<aka_[m]> i expected it to be like any of 4
<konradybcio> yes it's not obvious at all
<aka_[m]> i have so many bindings changes
<aka_[m]> i should start sending this shit, it aint normal to sit atleast half of year
<aka_[m]> its been like 3years since i touched this
<konradybcio> bits rot quickly
dliviu has joined #linux-msm
nashpa has quit [Ping timeout: 480 seconds]
junari has quit [Ping timeout: 480 seconds]
<aka_[m]> konradybcio: mind taking a look?... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/RhiWVqllCthmEiXiFHqvBUeg>)
<konradybcio> 4a0e897abf481faf8dd3a5586c3a88cb1142db2f is certainly interesting..
<konradybcio> fix up the unnecessary change though
<aka_[m]> msm8936 /t i guess
<aka_[m]> separate
<aka_[m]> konradybcio: so 8936 one?
<aka_[m]> its formating
<konradybcio> yes
<aka_[m]> probably goes into separate commit
<aka_[m]> without fixes cuz it aint fix
<aka_[m]> i guess i will send tomorrow, im on first shift now in job so can sit few hours after getting home
<konradybcio> 80b851ca7b00a2541f2071704c1731eb786203d9 property order is totally random, plus there are a couple of double spaces
<konradybcio> for adreno, check if it works without the tbu clocks
<aka_[m]> konradybcio: follow sample of qcom_iommu.yaml?
<aka_[m]> konradybcio: should
<konradybcio> the examples in dt-bindings are.. unfortunate most of the time
<konradybcio> which defeats their purpose
<aka_[m]> tbu clocks are used inside kgsl_iommu when invalidating pagetable
<aka_[m]> which probably goes somewhere in "per-process-pagetable" flavour
<aka_[m]> which we ain't supporting
<aka_[m]> albeit alwayson is required on a510/a506
<aka_[m]> it ain't working without
<aka_[m]> 8939 also have these tbus specced in ds dts
<aka_[m]> and 8917
<aka_[m]> i guess for iommus either it was coppied from 8953 or from ancient 8976
<aka_[m]> you might like those tho:
<aka_[m]> i haven't tested them and Danct12 had few nodes which require -1 on ID but i could try getting this after being done with this bigger series
pespin has quit []
<aka_[m]> oot, whats fastest way of testing kernel vs USB device? virtualmachine and passing it?
<aka_[m]> oh thats nice
<aka_[m]> i guess that could be used on phones where you can have multiple possible touch panels
animist has quit [Remote host closed the connection]
animist has joined #linux-msm
Caterpillar has quit [Quit: Konversation terminated!]
telent has quit [Quit: The Lounge - https://thelounge.chat]
telent has joined #linux-msm