[v2] ARM: dts: qcom: apq8026-samsung-matisse-wifi: Enable ADSP

Message ID 20221218211957.118473-1-matti.lehtimaki@gmail.com
State New
Headers
Series [v2] ARM: dts: qcom: apq8026-samsung-matisse-wifi: Enable ADSP |

Commit Message

Matti Lehtimäki Dec. 18, 2022, 9:19 p.m. UTC
  Configure the reserved memory for ADSP and enable it.
Delete nodes with reference to label.

Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
---
Changes in v2:
  - Delete nodes with reference to label
---
 .../arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
  

Comments

Luca Weiss Dec. 29, 2022, 8:42 a.m. UTC | #1
Hi Matti,

On Sonntag, 18. Dezember 2022 22:19:57 CET Matti Lehtimäki wrote:
> Configure the reserved memory for ADSP and enable it.
> Delete nodes with reference to label.
> 
> Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>

Reviewed-by: Luca Weiss <luca@z3ntu.xyz>

> ---
> Changes in v2:
>   - Delete nodes with reference to label
> ---
>  .../arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
> b/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts index
> 1c52337af560..15b9590ba07b 100644
> --- a/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
> +++ b/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
> @@ -9,6 +9,9 @@
>  #include "qcom-msm8226.dtsi"
>  #include "qcom-pm8226.dtsi"
> 
> +/delete-node/ &adsp_region;
> +/delete-node/ &smem_region;
> +
>  / {
>  	model = "Samsung Galaxy Tab 4 10.1";
>  	compatible = "samsung,matisse-wifi", "qcom,apq8026";
> @@ -133,7 +136,7 @@ wcnss@d200000 {
>  			no-map;
>  		};
> 
> -		adsp@d900000 {
> +		adsp_region: adsp@d900000 {
>  			reg = <0x0d900000 0x1800000>;
>  			no-map;
>  		};
> @@ -143,7 +146,6 @@ venus@f100000 {
>  			no-map;
>  		};
> 
> -		/delete-node/ smem@3000000;
>  		smem_region: smem@fa00000 {
>  			reg = <0x0fa00000 0x100000>;
>  			no-map;
> @@ -169,6 +171,10 @@ rmtfs@fd80000 {
>  	};
>  };
> 
> +&adsp {
> +	status = "okay";
> +};
> +
>  &blsp1_i2c2 {
>  	status = "okay";
  
Bjorn Andersson Dec. 29, 2022, 5:23 p.m. UTC | #2
On Sun, 18 Dec 2022 23:19:57 +0200, Matti Lehtimäki wrote:
> Configure the reserved memory for ADSP and enable it.
> Delete nodes with reference to label.
> 
> 

Applied, thanks!

[1/1] ARM: dts: qcom: apq8026-samsung-matisse-wifi: Enable ADSP
      commit: bd445a04d8ca4104c6831148134cd637b135d9f1

Best regards,
  

Patch

diff --git a/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts b/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
index 1c52337af560..15b9590ba07b 100644
--- a/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
+++ b/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts
@@ -9,6 +9,9 @@ 
 #include "qcom-msm8226.dtsi"
 #include "qcom-pm8226.dtsi"
 
+/delete-node/ &adsp_region;
+/delete-node/ &smem_region;
+
 / {
 	model = "Samsung Galaxy Tab 4 10.1";
 	compatible = "samsung,matisse-wifi", "qcom,apq8026";
@@ -133,7 +136,7 @@  wcnss@d200000 {
 			no-map;
 		};
 
-		adsp@d900000 {
+		adsp_region: adsp@d900000 {
 			reg = <0x0d900000 0x1800000>;
 			no-map;
 		};
@@ -143,7 +146,6 @@  venus@f100000 {
 			no-map;
 		};
 
-		/delete-node/ smem@3000000;
 		smem_region: smem@fa00000 {
 			reg = <0x0fa00000 0x100000>;
 			no-map;
@@ -169,6 +171,10 @@  rmtfs@fd80000 {
 	};
 };
 
+&adsp {
+	status = "okay";
+};
+
 &blsp1_i2c2 {
 	status = "okay";