On 06/03/2023 07:14, Konrad Dybcio wrote: >[...] >> Curiosity questions, since I'm far from expert in the device-tree world: >> what happens in case the device-tree doesn't export/contain this >> property (exactly the case we have right now)? Does the device work >> fine? Also, having it "wrong" (based on the other OnePlus 3) is worse >> than not having it? In other words, what's the default value picked if >> none is provided in the DT? > Basically: > > if (msm_id) { > if is_close_enough(msm_id, internal_msm_id) > boot() > else > die() > } else > die() > > Konrad >> Thanks, interesting... So, if I understand correctly, currently we end-up in the 2nd else block, and we straight die(), right? With this patch, we have some chance to boot, by falling in the if() block or...if we're not lucky, we also die() heh With that said, any con in accepting this as-is if we don't find anybody to test? Notice it at least has the advantage of fixing the device-tree blob creation... Ah, of course by "as-is" I mean I'd send a V2 fixing what you mentioned before ("...use the preprocessor constant...etc"). Thanks, Guilherme