LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: db410c: Update firmware-name for wcnss and mpss
@ 2020-01-08 5:57 Bjorn Andersson
2021-02-17 22:34 ` Aníbal Limón
0 siblings, 1 reply; 7+ messages in thread
From: Bjorn Andersson @ 2020-01-08 5:57 UTC (permalink / raw)
To: Andy Gross; +Cc: linux-arm-msm, devicetree, linux-kernel
Enable the mpss remoteproc node and specify the firmware-name for this
and the wcnss remoteproc on the Dragonboard 410c.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 6 ++++++
arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
index 037e26b3f8d5..298684c62cc1 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
@@ -494,6 +494,7 @@
wcnss@a21b000 {
status = "okay";
+ firmware-name = "qcom/msm8916/wcnss.mdt";
};
};
@@ -538,6 +539,11 @@
};
};
+&mpss {
+ status = "okay";
+ firmware-name = "qcom/msm8916/mba.mbn", "qcom/msm8916/modem.mdt";
+};
+
&spmi_bus {
pm8916_0: pm8916@0 {
pon@800 {
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 9c4d89319e7c..1ced09a61531 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -1054,7 +1054,7 @@
};
- hexagon@4080000 {
+ mpss: remoteproc@4080000 {
compatible = "qcom,q6v5-pil";
reg = <0x04080000 0x100>,
<0x04020000 0x040>;
--
2.24.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] arm64: dts: qcom: db410c: Update firmware-name for wcnss and mpss
2020-01-08 5:57 [PATCH] arm64: dts: qcom: db410c: Update firmware-name for wcnss and mpss Bjorn Andersson
@ 2021-02-17 22:34 ` Aníbal Limón
2021-02-18 4:19 ` Vinod Koul
2021-08-24 12:39 ` Dmitry Baryshkov
0 siblings, 2 replies; 7+ messages in thread
From: Aníbal Limón @ 2021-02-17 22:34 UTC (permalink / raw)
To: bjorn.andersson
Cc: agross, devicetree, linux-arm-msm, linux-kernel, Vinod Koul,
Aníbal Limón
From: Bjorn Andersson <bjorn.andersson@linaro.org>
Enable the mpss remoteproc node and specify the firmware-name for this
and the wcnss remoteproc on the Dragonboard 410c.
Link: https://lore.kernel.org/r/20200108055735.660475-1-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
[rebased and moved to use pronto label]
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Tested-by: Aníbal Limón <anibal.limon@linaro.org>
---
arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
index 3c7f97539390..8f1ada75d3ed 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
@@ -301,6 +301,11 @@ &lpass {
status = "okay";
};
+&mpss {
+ status = "okay";
+ firmware-name = "qcom/msm8916/mba.mbn", "qcom/msm8916/modem.mdt";
+};
+
&pm8916_resin {
status = "okay";
linux,code = <KEY_VOLUMEDOWN>;
@@ -308,6 +313,7 @@ &pm8916_resin {
&pronto {
status = "okay";
+ firmware-name = "qcom/msm8916/wcnss.mdt";
};
&sdhc_1 {
--
2.30.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: dts: qcom: db410c: Update firmware-name for wcnss and mpss
2021-02-17 22:34 ` Aníbal Limón
@ 2021-02-18 4:19 ` Vinod Koul
2021-08-24 12:38 ` Dmitry Baryshkov
2021-08-24 12:39 ` Dmitry Baryshkov
1 sibling, 1 reply; 7+ messages in thread
From: Vinod Koul @ 2021-02-18 4:19 UTC (permalink / raw)
To: Aníbal Limón
Cc: bjorn.andersson, agross, devicetree, linux-arm-msm, linux-kernel
On 17-02-21, 16:34, Aníbal Limón wrote:
> From: Bjorn Andersson <bjorn.andersson@linaro.org>
>
> Enable the mpss remoteproc node and specify the firmware-name for this
> and the wcnss remoteproc on the Dragonboard 410c.
>
> Link: https://lore.kernel.org/r/20200108055735.660475-1-bjorn.andersson@linaro.org
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> [rebased and moved to use pronto label]
> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> Tested-by: Aníbal Limón <anibal.limon@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> index 3c7f97539390..8f1ada75d3ed 100644
> --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> @@ -301,6 +301,11 @@ &lpass {
> status = "okay";
> };
>
> +&mpss {
> + status = "okay";
> + firmware-name = "qcom/msm8916/mba.mbn", "qcom/msm8916/modem.mdt";
Shouldn't this one be mba.mdt?
> +};
> +
> &pm8916_resin {
> status = "okay";
> linux,code = <KEY_VOLUMEDOWN>;
> @@ -308,6 +313,7 @@ &pm8916_resin {
>
> &pronto {
> status = "okay";
> + firmware-name = "qcom/msm8916/wcnss.mdt";
> };
>
> &sdhc_1 {
> --
> 2.30.0
--
~Vinod
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: dts: qcom: db410c: Update firmware-name for wcnss and mpss
2021-02-18 4:19 ` Vinod Koul
@ 2021-08-24 12:38 ` Dmitry Baryshkov
0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Baryshkov @ 2021-08-24 12:38 UTC (permalink / raw)
To: Vinod Koul
Cc: Aníbal Limón, Bjorn Andersson, Andy Gross,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list:DRM DRIVER FOR MSM ADRENO GPU, open list
On Thu, 18 Feb 2021 at 07:20, Vinod Koul <vkoul@kernel.org> wrote:
>
> On 17-02-21, 16:34, Aníbal Limón wrote:
> > From: Bjorn Andersson <bjorn.andersson@linaro.org>
> >
> > Enable the mpss remoteproc node and specify the firmware-name for this
> > and the wcnss remoteproc on the Dragonboard 410c.
> >
> > Link: https://lore.kernel.org/r/20200108055735.660475-1-bjorn.andersson@linaro.org
> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> > [rebased and moved to use pronto label]
> > Signed-off-by: Vinod Koul <vkoul@kernel.org>
> > Tested-by: Aníbal Limón <anibal.limon@linaro.org>
> > ---
> > arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> > index 3c7f97539390..8f1ada75d3ed 100644
> > --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> > @@ -301,6 +301,11 @@ &lpass {
> > status = "okay";
> > };
> >
> > +&mpss {
> > + status = "okay";
> > + firmware-name = "qcom/msm8916/mba.mbn", "qcom/msm8916/modem.mdt";
>
> Shouldn't this one be mba.mdt?
No, firmware-qcom-db410c provides mba.mbn rather than mba.mdt
>
> > +};
> > +
> > &pm8916_resin {
> > status = "okay";
> > linux,code = <KEY_VOLUMEDOWN>;
> > @@ -308,6 +313,7 @@ &pm8916_resin {
> >
> > &pronto {
> > status = "okay";
> > + firmware-name = "qcom/msm8916/wcnss.mdt";
> > };
> >
> > &sdhc_1 {
> > --
> > 2.30.0
>
> --
> ~Vinod
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: dts: qcom: db410c: Update firmware-name for wcnss and mpss
2021-02-17 22:34 ` Aníbal Limón
2021-02-18 4:19 ` Vinod Koul
@ 2021-08-24 12:39 ` Dmitry Baryshkov
2021-08-24 14:46 ` Bjorn Andersson
1 sibling, 1 reply; 7+ messages in thread
From: Dmitry Baryshkov @ 2021-08-24 12:39 UTC (permalink / raw)
To: Aníbal Limón
Cc: Bjorn Andersson, Andy Gross,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list:DRM DRIVER FOR MSM ADRENO GPU, open list, Vinod Koul
On Thu, 18 Feb 2021 at 01:38, Aníbal Limón <anibal.limon@linaro.org> wrote:
>
> From: Bjorn Andersson <bjorn.andersson@linaro.org>
>
> Enable the mpss remoteproc node and specify the firmware-name for this
> and the wcnss remoteproc on the Dragonboard 410c.
>
> Link: https://lore.kernel.org/r/20200108055735.660475-1-bjorn.andersson@linaro.org
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> [rebased and moved to use pronto label]
> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> Tested-by: Aníbal Limón <anibal.limon@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
> arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> index 3c7f97539390..8f1ada75d3ed 100644
> --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> @@ -301,6 +301,11 @@ &lpass {
> status = "okay";
> };
>
> +&mpss {
> + status = "okay";
> + firmware-name = "qcom/msm8916/mba.mbn", "qcom/msm8916/modem.mdt";
> +};
> +
> &pm8916_resin {
> status = "okay";
> linux,code = <KEY_VOLUMEDOWN>;
> @@ -308,6 +313,7 @@ &pm8916_resin {
>
> &pronto {
> status = "okay";
> + firmware-name = "qcom/msm8916/wcnss.mdt";
> };
>
> &sdhc_1 {
> --
> 2.30.0
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: dts: qcom: db410c: Update firmware-name for wcnss and mpss
2021-08-24 12:39 ` Dmitry Baryshkov
@ 2021-08-24 14:46 ` Bjorn Andersson
2021-08-24 15:49 ` Stephan Gerhold
0 siblings, 1 reply; 7+ messages in thread
From: Bjorn Andersson @ 2021-08-24 14:46 UTC (permalink / raw)
To: Dmitry Baryshkov, An?bal Lim?n
Cc: Andy Gross,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list:DRM DRIVER FOR MSM ADRENO GPU, open list, Vinod Koul
On Tue 24 Aug 05:39 PDT 2021, Dmitry Baryshkov wrote:
> On Thu, 18 Feb 2021 at 01:38, Aníbal Limón <anibal.limon@linaro.org> wrote:
> >
> > From: Bjorn Andersson <bjorn.andersson@linaro.org>
> >
> > Enable the mpss remoteproc node and specify the firmware-name for this
> > and the wcnss remoteproc on the Dragonboard 410c.
> >
> > Link: https://lore.kernel.org/r/20200108055735.660475-1-bjorn.andersson@linaro.org
> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> > [rebased and moved to use pronto label]
> > Signed-off-by: Vinod Koul <vkoul@kernel.org>
> > Tested-by: Aníbal Limón <anibal.limon@linaro.org>
>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>
Thanks Dmitry, not sure why this hasn't been merged yet.
Taking a further look at this I noticed that we never pushed the
firmware to linux-firmware either, which I think was because we where
uncertain of the directory structure at the time - a discussion which
has been settled since.
> > ---
> > arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> > index 3c7f97539390..8f1ada75d3ed 100644
> > --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> > @@ -301,6 +301,11 @@ &lpass {
> > status = "okay";
> > };
> >
> > +&mpss {
> > + status = "okay";
> > + firmware-name = "qcom/msm8916/mba.mbn", "qcom/msm8916/modem.mdt";
But if we're pushing things to linux-firmware, does anyone object
against following the existing style and squashing the mdt+bNN files
into .mbn (and thereby making this modem.mbn and below wcnss.mbn)?
Regards,
Bjorn
> > +};
> > +
> > &pm8916_resin {
> > status = "okay";
> > linux,code = <KEY_VOLUMEDOWN>;
> > @@ -308,6 +313,7 @@ &pm8916_resin {
> >
> > &pronto {
> > status = "okay";
> > + firmware-name = "qcom/msm8916/wcnss.mdt";
> > };
> >
> > &sdhc_1 {
> > --
> > 2.30.0
> >
>
>
> --
> With best wishes
> Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] arm64: dts: qcom: db410c: Update firmware-name for wcnss and mpss
2021-08-24 14:46 ` Bjorn Andersson
@ 2021-08-24 15:49 ` Stephan Gerhold
0 siblings, 0 replies; 7+ messages in thread
From: Stephan Gerhold @ 2021-08-24 15:49 UTC (permalink / raw)
To: Bjorn Andersson
Cc: Dmitry Baryshkov, An?bal Lim?n, Andy Gross,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list:DRM DRIVER FOR MSM ADRENO GPU, open list, Vinod Koul
On Tue, Aug 24, 2021 at 07:46:04AM -0700, Bjorn Andersson wrote:
> On Tue 24 Aug 05:39 PDT 2021, Dmitry Baryshkov wrote:
>
> > On Thu, 18 Feb 2021 at 01:38, Aníbal Limón <anibal.limon@linaro.org> wrote:
> > >
> > > From: Bjorn Andersson <bjorn.andersson@linaro.org>
> > >
> > > Enable the mpss remoteproc node and specify the firmware-name for this
> > > and the wcnss remoteproc on the Dragonboard 410c.
> > >
> > > Link: https://lore.kernel.org/r/20200108055735.660475-1-bjorn.andersson@linaro.org
> > > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> > > [rebased and moved to use pronto label]
> > > Signed-off-by: Vinod Koul <vkoul@kernel.org>
> > > Tested-by: Aníbal Limón <anibal.limon@linaro.org>
> >
> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> >
>
> Thanks Dmitry, not sure why this hasn't been merged yet.
>
This patch keeps getting stuck for some reason.
It was sent several times already but always forgotten. :)
> Taking a further look at this I noticed that we never pushed the
> firmware to linux-firmware either, which I think was because we where
> uncertain of the directory structure at the time - a discussion which
> has been settled since.
>
> > > ---
> > > arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 6 ++++++
> > > 1 file changed, 6 insertions(+)
> > >
> > > diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> > > index 3c7f97539390..8f1ada75d3ed 100644
> > > --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> > > +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
> > > @@ -301,6 +301,11 @@ &lpass {
> > > status = "okay";
> > > };
> > >
> > > +&mpss {
> > > + status = "okay";
> > > + firmware-name = "qcom/msm8916/mba.mbn", "qcom/msm8916/modem.mdt";
>
> But if we're pushing things to linux-firmware, does anyone object
> against following the existing style and squashing the mdt+bNN files
> into .mbn (and thereby making this modem.mbn and below wcnss.mbn)?
>
You made this change in some version already :)
https://lore.kernel.org/linux-arm-msm/20210312003318.3273536-6-bjorn.andersson@linaro.org/
I think there was no real objection back then but more confusion about
how to get the squashed .mbn variant. Having it in linux-firmware would
certainly make it a lot easier overall if you can make that happen. :)
The latest version of this patch that I am aware of is the following one:
https://lore.kernel.org/linux-arm-msm/20210531224453.783218-1-bjorn.andersson@linaro.org/
As I wrote there it's mainly stuck on getting the related wcn36xx patch [1]
merged. Can you resend that one maybe?
Thanks,
Stephan
[1]: https://lore.kernel.org/linux-arm-msm/20210312003318.3273536-3-bjorn.andersson@linaro.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-08-24 15:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 5:57 [PATCH] arm64: dts: qcom: db410c: Update firmware-name for wcnss and mpss Bjorn Andersson
2021-02-17 22:34 ` Aníbal Limón
2021-02-18 4:19 ` Vinod Koul
2021-08-24 12:38 ` Dmitry Baryshkov
2021-08-24 12:39 ` Dmitry Baryshkov
2021-08-24 14:46 ` Bjorn Andersson
2021-08-24 15:49 ` Stephan Gerhold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).