* [PATCH 1/3] arm64: dts: qcom: sdm630: Add modem metadata mem
2025-05-04 11:51 [PATCH 0/3] Elminate all DTBs check warnings for SDM630/660 boards Alexey Minnekhanov
@ 2025-05-04 11:51 ` Alexey Minnekhanov
2025-05-04 14:48 ` Dmitry Baryshkov
2025-05-04 11:51 ` [PATCH 2/3] arm64: dts: qcom: sdm660-lavender: Add missing USB phy supply Alexey Minnekhanov
` (2 subsequent siblings)
3 siblings, 1 reply; 8+ messages in thread
From: Alexey Minnekhanov @ 2025-05-04 11:51 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Dmitry Baryshkov
Cc: Dang Huynh, Alexey Minnekhanov, Marijn Suijten, linux-arm-msm,
devicetree, linux-kernel, ~postmarketos/upstreaming,
Alexey Minnekhanov
Similarly to MSM8998, add and use modem metadata memory region.
This does not seemingly affect device functionality. But it fixes
DTBs check warning:
remoteproc@4080000: memory-region: [[45], [46]] is too short
Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm630.dtsi | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
index 2d3820536ddf4..8b1a45a4e56ed 100644
--- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
@@ -509,6 +509,12 @@ zap_shader_region: gpu@fed00000 {
reg = <0x0 0xfed00000 0x0 0xa00000>;
no-map;
};
+
+ mdata_mem: mpss-metadata {
+ alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>;
+ size = <0x0 0x4000>;
+ no-map;
+ };
};
smem: smem {
@@ -1056,7 +1062,7 @@ remoteproc_mss: remoteproc@4080000 {
<&rpmpd SDM660_VDDMX>;
power-domain-names = "cx", "mx";
- memory-region = <&mba_region>, <&mpss_region>;
+ memory-region = <&mba_region>, <&mpss_region>, <&mdata_mem>;
status = "disabled";
--
2.49.0
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH 1/3] arm64: dts: qcom: sdm630: Add modem metadata mem
2025-05-04 11:51 ` [PATCH 1/3] arm64: dts: qcom: sdm630: Add modem metadata mem Alexey Minnekhanov
@ 2025-05-04 14:48 ` Dmitry Baryshkov
0 siblings, 0 replies; 8+ messages in thread
From: Dmitry Baryshkov @ 2025-05-04 14:48 UTC (permalink / raw)
To: Alexey Minnekhanov
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Dmitry Baryshkov, Dang Huynh, Alexey Minnekhanov,
Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming
On Sun, May 04, 2025 at 02:51:18PM +0300, Alexey Minnekhanov wrote:
> Similarly to MSM8998, add and use modem metadata memory region.
> This does not seemingly affect device functionality. But it fixes
> DTBs check warning:
>
> remoteproc@4080000: memory-region: [[45], [46]] is too short
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
>
> Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
> ---
> arch/arm64/boot/dts/qcom/sdm630.dtsi | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
> index 2d3820536ddf4..8b1a45a4e56ed 100644
> --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
> @@ -509,6 +509,12 @@ zap_shader_region: gpu@fed00000 {
> reg = <0x0 0xfed00000 0x0 0xa00000>;
> no-map;
> };
> +
> + mdata_mem: mpss-metadata {
> + alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>;
> + size = <0x0 0x4000>;
> + no-map;
> + };
> };
>
> smem: smem {
> @@ -1056,7 +1062,7 @@ remoteproc_mss: remoteproc@4080000 {
> <&rpmpd SDM660_VDDMX>;
> power-domain-names = "cx", "mx";
>
> - memory-region = <&mba_region>, <&mpss_region>;
> + memory-region = <&mba_region>, <&mpss_region>, <&mdata_mem>;
>
> status = "disabled";
>
> --
> 2.49.0
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 2/3] arm64: dts: qcom: sdm660-lavender: Add missing USB phy supply
2025-05-04 11:51 [PATCH 0/3] Elminate all DTBs check warnings for SDM630/660 boards Alexey Minnekhanov
2025-05-04 11:51 ` [PATCH 1/3] arm64: dts: qcom: sdm630: Add modem metadata mem Alexey Minnekhanov
@ 2025-05-04 11:51 ` Alexey Minnekhanov
2025-05-04 14:51 ` Dmitry Baryshkov
2025-05-04 11:51 ` [PATCH 3/3] arm64: dts: qcom: sda660-ifc6560: Fix dt-validate warning Alexey Minnekhanov
2025-05-07 5:18 ` [PATCH 0/3] Elminate all DTBs check warnings for SDM630/660 boards Bjorn Andersson
3 siblings, 1 reply; 8+ messages in thread
From: Alexey Minnekhanov @ 2025-05-04 11:51 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Dmitry Baryshkov
Cc: Dang Huynh, Alexey Minnekhanov, Marijn Suijten, linux-arm-msm,
devicetree, linux-kernel, ~postmarketos/upstreaming,
Alexey Minnekhanov
Fixes the following dtbs check error:
phy@c012000: 'vdda-pll-supply' is a required property
Fixes: e5d3e752b050e ("arm64: dts: qcom: sdm660-xiaomi-lavender: Add USB")
Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
index 0b4d71c14a772..a9926ad6c6f9f 100644
--- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
+++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts
@@ -107,6 +107,7 @@ &qusb2phy0 {
status = "okay";
vdd-supply = <&vreg_l1b_0p925>;
+ vdda-pll-supply = <&vreg_l10a_1p8>;
vdda-phy-dpdm-supply = <&vreg_l7b_3p125>;
};
--
2.49.0
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH 2/3] arm64: dts: qcom: sdm660-lavender: Add missing USB phy supply
2025-05-04 11:51 ` [PATCH 2/3] arm64: dts: qcom: sdm660-lavender: Add missing USB phy supply Alexey Minnekhanov
@ 2025-05-04 14:51 ` Dmitry Baryshkov
0 siblings, 0 replies; 8+ messages in thread
From: Dmitry Baryshkov @ 2025-05-04 14:51 UTC (permalink / raw)
To: Alexey Minnekhanov
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Dmitry Baryshkov, Dang Huynh, Alexey Minnekhanov,
Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming
On Sun, May 04, 2025 at 02:51:19PM +0300, Alexey Minnekhanov wrote:
> Fixes the following dtbs check error:
>
> phy@c012000: 'vdda-pll-supply' is a required property
>
> Fixes: e5d3e752b050e ("arm64: dts: qcom: sdm660-xiaomi-lavender: Add USB")
> Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
> ---
> arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 3/3] arm64: dts: qcom: sda660-ifc6560: Fix dt-validate warning
2025-05-04 11:51 [PATCH 0/3] Elminate all DTBs check warnings for SDM630/660 boards Alexey Minnekhanov
2025-05-04 11:51 ` [PATCH 1/3] arm64: dts: qcom: sdm630: Add modem metadata mem Alexey Minnekhanov
2025-05-04 11:51 ` [PATCH 2/3] arm64: dts: qcom: sdm660-lavender: Add missing USB phy supply Alexey Minnekhanov
@ 2025-05-04 11:51 ` Alexey Minnekhanov
2025-05-04 14:52 ` Dmitry Baryshkov
2025-05-07 5:18 ` [PATCH 0/3] Elminate all DTBs check warnings for SDM630/660 boards Bjorn Andersson
3 siblings, 1 reply; 8+ messages in thread
From: Alexey Minnekhanov @ 2025-05-04 11:51 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Dmitry Baryshkov
Cc: Dang Huynh, Alexey Minnekhanov, Marijn Suijten, linux-arm-msm,
devicetree, linux-kernel, ~postmarketos/upstreaming,
Alexey Minnekhanov
If you remove clocks property, you should remove clock-names, too.
Fixes warning with dtbs check:
'clocks' is a dependency of 'clock-names'
Fixes: 34279d6e3f32c ("arm64: dts: qcom: sdm660: Add initial Inforce IFC6560 board support")
Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
---
arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts b/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts
index 4a51076890694..74cb29cb7f1a6 100644
--- a/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts
+++ b/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts
@@ -175,6 +175,7 @@ &blsp1_dma {
* BAM DMA interconnects support is in place.
*/
/delete-property/ clocks;
+ /delete-property/ clock-names;
};
&blsp1_uart2 {
@@ -187,6 +188,7 @@ &blsp2_dma {
* BAM DMA interconnects support is in place.
*/
/delete-property/ clocks;
+ /delete-property/ clock-names;
};
&blsp2_uart1 {
--
2.49.0
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH 3/3] arm64: dts: qcom: sda660-ifc6560: Fix dt-validate warning
2025-05-04 11:51 ` [PATCH 3/3] arm64: dts: qcom: sda660-ifc6560: Fix dt-validate warning Alexey Minnekhanov
@ 2025-05-04 14:52 ` Dmitry Baryshkov
0 siblings, 0 replies; 8+ messages in thread
From: Dmitry Baryshkov @ 2025-05-04 14:52 UTC (permalink / raw)
To: Alexey Minnekhanov
Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Dmitry Baryshkov, Dang Huynh, Alexey Minnekhanov,
Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming
On Sun, May 04, 2025 at 02:51:20PM +0300, Alexey Minnekhanov wrote:
> If you remove clocks property, you should remove clock-names, too.
> Fixes warning with dtbs check:
>
> 'clocks' is a dependency of 'clock-names'
>
> Fixes: 34279d6e3f32c ("arm64: dts: qcom: sdm660: Add initial Inforce IFC6560 board support")
> Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
> ---
> arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 0/3] Elminate all DTBs check warnings for SDM630/660 boards
2025-05-04 11:51 [PATCH 0/3] Elminate all DTBs check warnings for SDM630/660 boards Alexey Minnekhanov
` (2 preceding siblings ...)
2025-05-04 11:51 ` [PATCH 3/3] arm64: dts: qcom: sda660-ifc6560: Fix dt-validate warning Alexey Minnekhanov
@ 2025-05-07 5:18 ` Bjorn Andersson
3 siblings, 0 replies; 8+ messages in thread
From: Bjorn Andersson @ 2025-05-07 5:18 UTC (permalink / raw)
To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Dmitry Baryshkov, Alexey Minnekhanov
Cc: Dang Huynh, Alexey Minnekhanov, Marijn Suijten, linux-arm-msm,
devicetree, linux-kernel, ~postmarketos/upstreaming
On Sun, 04 May 2025 14:51:17 +0300, Alexey Minnekhanov wrote:
> Run the following:
>
> make -j1 CHECK_DTBS=y 'qcom/sdm630-*.dtb' \
> 'qcom/sdm636-*.dtb' 'qcom/sdm660-*.dtb' \
> 'qcom/sda660-*.dtb'
>
> Before:
>
> [...]
Applied, thanks!
[1/3] arm64: dts: qcom: sdm630: Add modem metadata mem
commit: 02a8b9894b9cbf4ffcd8661813826494cf49d3a2
[2/3] arm64: dts: qcom: sdm660-lavender: Add missing USB phy supply
commit: dbf62a117a1b7f605a98dd1fd1fd6c85ec324ea0
[3/3] arm64: dts: qcom: sda660-ifc6560: Fix dt-validate warning
commit: f5110806b41eaa0eb0ab1bf2787876a580c6246c
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 8+ messages in thread