On Tue, Mar 26, 2024 at 05:32:55PM +0100, Bartosz Golaszewski wrote: > On Tue, Mar 26, 2024 at 4:12 PM Kalle Valo <kvalo@xxxxxxxxxx> wrote: > > >> Adding also Johan and ath11k list. For example, I don't know what's the > > >> plan with Lenovo X13s, will it use this framework? I guess in theory we > > >> could have devices which use qcom,ath11k-calibration-variant from DT but > > >> not any of these supply properties? > > > > > > Good point. I will receive the X13s in a month from now. I do plan on > > > upstreaming correct support for WLAN and BT for it as well. > > > > > > I guess we can always relax the requirements once a valid use-case appears? > > > > I think we have such cases already now: > > > > $ git grep ath11k-calibration-variant -- arch > > arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts: qcom,ath11k-calibration-variant = "Fairphone_5"; > > arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts: qcom,ath11k-calibration-variant = "LE_X13S"; > > > > But please do check that. I'm no DT expert :) > > You're thinking about making the required: field depend on the value > of qcom,ath11k-calibration-variant? Am I getting this right? No, I think Kalle is worried about requiring the supply properties for certain PCI device ids, in case we have existing or future devicetrees with those ids that did not specify them or that need not specify them (e.g. any PC modules). Currently we only have the X13s controller in mainline being described by a PCIe endpoint node in DT, but it has a different id ("pci17cb,1103" instead of "pci17cb,1101" which you are adding here). The Fairphone controller is apparently not a PCI device at all. Johan