Message ID | 20210312003318.3273536-2-bjorn.andersson@linaro.org |
---|---|
State | Accepted |
Commit | f553ba158109a4c5b2e0f704fe5b9316375a1a9a |
Headers | show |
Series | qcom: wcnss: Allow overriding firmware form DT | expand |
On 3/11/21 6:33 PM, Bjorn Andersson wrote: > The WCNSS needs firmware which differs between platforms, and possibly > boards. Add a new property "firmware-name" to allow the DT to specify > the platform/board specific path to this firmware file. > > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Tested-by: Aníbal Limón <anibal.limon@linaro.org> > --- > Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt > index 042a2e4159bd..1382b64e1381 100644 > --- a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt > @@ -24,6 +24,13 @@ block and a BT, WiFi and FM radio block, all using SMD as command channels. > "qcom,riva", > "qcom,pronto" > > +- firmware-name: > + Usage: optional > + Value type: <string> > + Definition: specifies the relative firmware image path for the WLAN NV > + blob. Defaults to "wlan/prima/WCNSS_qcom_wlan_nv.bin" if > + not specified. > + > = SUBNODES > The subnodes of the wcnss node are optional and describe the individual blocks in > the WCNSS. >
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt index 042a2e4159bd..1382b64e1381 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt @@ -24,6 +24,13 @@ block and a BT, WiFi and FM radio block, all using SMD as command channels. "qcom,riva", "qcom,pronto" +- firmware-name: + Usage: optional + Value type: <string> + Definition: specifies the relative firmware image path for the WLAN NV + blob. Defaults to "wlan/prima/WCNSS_qcom_wlan_nv.bin" if + not specified. + = SUBNODES The subnodes of the wcnss node are optional and describe the individual blocks in the WCNSS.
The WCNSS needs firmware which differs between platforms, and possibly boards. Add a new property "firmware-name" to allow the DT to specify the platform/board specific path to this firmware file. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> --- Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt | 7 +++++++ 1 file changed, 7 insertions(+)