ChanServ changed the topic of #linux-msm to:
agross has quit [Server closed connection]
agross has joined #linux-msm
pevik_ has quit [Ping timeout: 480 seconds]
<calebccff> lumag: sorry for the late response, the subtype needs to be in the match data so we can read the compatible for the pmic->name property
<lumag> calebccff, but you can read subtype from the hw, can you not?
<calebccff> lumag: right, but we're re-using the match table as a subtype -> pmic name lookup table https://github.com/aospm/linux/blob/39aa34c68f045943a9caee98c33c8758e96cd866/drivers/mfd/qcom-spmi-pmic.c#L195
<calebccff> it also lets us ensure that the PMIC we're probing is the one in the compatible, though that wasn't enforced before
<lumag> calebccff, you can use of_match_device() instead
<lumag> Not sure about checking the compatible vs the real hardware. I don't think we do that for other devices.
<calebccff> lumag: oh riiight, apologies
<lumag> calebccff, n/p
<lumag> thank you for your work
<calebccff> ok, I'll switch to that and drop the subtype. Is it worth having a struct with a single property for the match data? Or should I just use the number of USIDs directly?
<calebccff> lumag: thanks, hopefully it ends up coming in useful for someone else!
<lumag> I'd say, use number directly (as we did for the subtype)
<calebccff> ack, thanks a lot
IvanBelokobylskiy[m] has quit [Server closed connection]
IvanBelokobylskiy[m] has joined #linux-msm
DavidHeidelberg[m] has quit [Server closed connection]
DavidHeidelberg[m] has joined #linux-msm
hexdump0815 has joined #linux-msm
hexdump01 has quit [Ping timeout: 480 seconds]
marvin24 has joined #linux-msm
marvin24_ has quit [Ping timeout: 480 seconds]
pevik has joined #linux-msm
jhovold has joined #linux-msm
pespin has joined #linux-msm
<Mis012[m]> calebccff: SPMI is a MIPI standard, so chances are some of the countless companies that have the docs leaked it ;)
<srinik> bamse, ndec: by any chance do we have access to SM8450 MTP schematics?
<srinik> bamse, ndec: wrong window!
pespin has quit [Remote host closed the connection]
jhovold has quit [Ping timeout: 480 seconds]
pevik has quit [Ping timeout: 480 seconds]
<calebccff> I've been poking around the cpufreq driver, for some reason on my op6 running downstream it reads 2.8GHz as the max frequency on the big cores, on a different op6 running mainline it reads 2.65GHz as the max