diff mbox series

[1/2] arm64: dts: qcom: msm8916: Enable blsp_dma by default

Message ID 20230107110958.5762-2-stephan@gerhold.net
State Accepted
Commit 0154d3594af3c198532ac7b4ab70f50fb5207a15
Headers show
Series arm64: dts: qcom: msm8916: Enable DMA by default | expand

Commit Message

Stephan Gerhold Jan. 7, 2023, 11:09 a.m. UTC
Adding the "dmas" to the I2C controllers prevents probing them if 
blsp_dma is disabled (infinite probe deferral). Avoid this by enabling 
blsp_dma by default - it's an integral part of the SoC that is almost 
always used (even if just for UART).

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
 arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 4 ----
 arch/arm64/boot/dts/qcom/msm8916.dtsi    | 1 -
 2 files changed, 5 deletions(-)

Comments

Konrad Dybcio Jan. 7, 2023, 11:51 a.m. UTC | #1
On 7.01.2023 12:09, Stephan Gerhold wrote:
> Adding the "dmas" to the I2C controllers prevents probing them if 
> blsp_dma is disabled (infinite probe deferral). Avoid this by enabling 
> blsp_dma by default - it's an integral part of the SoC that is almost 
> always used (even if just for UART).
> 
> Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
>  arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 4 ----
>  arch/arm64/boot/dts/qcom/msm8916.dtsi    | 1 -
>  2 files changed, 5 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
> index ef5b39ba1238..c52d79a55d80 100644
> --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
> +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
> @@ -169,10 +169,6 @@ led@6 {
>  	};
>  };
>  
> -&blsp_dma {
> -	status = "okay";
> -};
> -
>  &blsp_i2c2 {
>  	/* On Low speed expansion */
>  	status = "okay";
> diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> index ffb4ce8935b3..98da982548a1 100644
> --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> @@ -1522,7 +1522,6 @@ blsp_dma: dma-controller@7884000 {
>  			clock-names = "bam_clk";
>  			#dma-cells = <1>;
>  			qcom,ee = <0>;
> -			status = "disabled";
>  		};
>  
>  		blsp1_uart1: serial@78af000 {
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
index ef5b39ba1238..c52d79a55d80 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dts
@@ -169,10 +169,6 @@  led@6 {
 	};
 };
 
-&blsp_dma {
-	status = "okay";
-};
-
 &blsp_i2c2 {
 	/* On Low speed expansion */
 	status = "okay";
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index ffb4ce8935b3..98da982548a1 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -1522,7 +1522,6 @@  blsp_dma: dma-controller@7884000 {
 			clock-names = "bam_clk";
 			#dma-cells = <1>;
 			qcom,ee = <0>;
-			status = "disabled";
 		};
 
 		blsp1_uart1: serial@78af000 {