On Wed, Jun 28, 2023 at 05:30:15PM +0100, Srinivas Kandagatla wrote: > On 28/06/2023 12:53, Mark Brown wrote: > > Why not try a series of firmware names/locations generated using the > > identifying information for the card/system? That way we don't have to > There is no consistent way with the current state of what is available in > linux-firmware and what drivers can generate from DMI, atleast with Qualcomm > SoCs. What's in linux-firmware now is not relevant, we can change that however we like. > Example for x13s has all the firmwares are under qcom/sc8280xp/LENOVO/21BX > for two models 21BX, 21BY. > However none of the DMI properties match exactly to 21BX or 21BY. > These have to be either derived from product name 21BYZ9SNUS or some other > dmi properties. > This logic is not going to be very reliable, can differ across platforms. But the goal here is to have platform specific firmwares so that's fine? So long as we come up with something stable and platform specific userspace will have the information to provide the firmware it likes, even if that does end up involving a lot of symlinks. > All of the qcom platforms use firmware-name from DT to get the full firmware > path with name. > I know this has scaling issues, but with the current state of things, its > the only option I see. When you say "all the qcom platforms" what do you mean, you're proposing a new property here?
Attachment:
signature.asc
Description: PGP signature