[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b2aef484-71c9-5655-c1f8-ddde57687491@linaro.org>
Date: Wed, 28 Jun 2023 17:30:15 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: Mark Brown <broonie@...nel.org>
Cc: krzysztof.kozlowski+dt@...aro.org, andersson@...nel.org,
robh+dt@...nel.org, devicetree@...r.kernel.org,
linux-arm-msm@...r.kernel.org, dmitry.baryshkov@...aro.org,
johan+linaro@...nel.org, perex@...ex.cz, tiwai@...e.com,
lgirdwood@...il.com, ckeepax@...nsource.cirrus.com,
kuninori.morimoto.gx@...esas.com, linux-kernel@...r.kernel.org,
pierre-louis.bossart@...ux.intel.com, alsa-devel@...a-project.org
Subject: Re: [PATCH 2/3] ASoC: qcom: q6apm: add support for reading firmware
name from DT
On 28/06/2023 12:53, Mark Brown wrote:
> On Wed, Jun 28, 2023 at 11:26:20AM +0100, Srinivas Kandagatla wrote:
>> Currently firmware file name is autogenerated based on card name and model number,
>> however this imposed a restriction of finding firmware in a single firmware path.
>> Platform specific firmwares are normally located in sub folders of the SoC.
>>
>> Provide more flexibity by reading firmware-name from DT.
>
> 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.
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.
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.
> put a filename in the ABI which has fun scaling issues.
thanks,
srini
Powered by blists - more mailing lists