soc: qcom: wcnss_ctrl: Allow reading firmware-name from DT
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 12 Mar 2021 00:33:17 +0000 (16:33 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 6 Apr 2021 03:35:06 +0000 (22:35 -0500)
commit82ec0c290d1a731a2b33b8a713c5bc96b03fb2d3
treeebd712f35fba6ba5516e54ad43e2860af4bc9782
parentac3f2784200d490558882c83c25a2d38270b02a2
soc: qcom: wcnss_ctrl: Allow reading firmware-name from DT

The WLAN NV firmware blob differs between platforms, and possibly
devices, so add support in the wcnss_ctrl driver for reading the path of
this file from DT in order to allow these files to live in a generic
file system (or linux-firmware).

The new property is optional and the code falls back to the old filename
if the property isn't specified.

Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Tested-by: Aníbal Limón <anibal.limon@linaro.org>
Link: https://lore.kernel.org/r/20210312003318.3273536-5-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/wcnss_ctrl.c