diff mbox series

[v2,15/17] arm64: dts: qcom: qcs404: Add BAM DMA node

Message ID 20181105154529.7614-16-vkoul@kernel.org
State New
Headers show
Series arm64: dts: qcom: qcs404: Add Device tree nodes | expand

Commit Message

Vinod Koul Nov. 5, 2018, 3:45 p.m. UTC
Add the BAM DMA instance found in BLSP1 node of the QCS404

Signed-off-by: Vinod Koul <vkoul@kernel.org>

---
 arch/arm64/boot/dts/qcom/qcs404.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

-- 
2.14.4

Comments

Bjorn Andersson Nov. 5, 2018, 7:12 p.m. UTC | #1
On Mon 05 Nov 07:45 PST 2018, Vinod Koul wrote:

> Add the BAM DMA instance found in BLSP1 node of the QCS404


What about blsp2 bam?

> 

> Signed-off-by: Vinod Koul <vkoul@kernel.org>


Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>


Regards,
Bjorn

> ---

>  arch/arm64/boot/dts/qcom/qcs404.dtsi | 13 +++++++++++++

>  1 file changed, 13 insertions(+)

> 

> diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi

> index a37930639b8d..88e04a0ee67f 100644

> --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi

> +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi

> @@ -276,6 +276,19 @@

>  			status = "okay";

>  		};

>  

> +		blsp1_dma: dma@7884000 {

> +			compatible = "qcom,bam-v1.7.0";

> +			reg = <0x07884000 0x25000>;

> +			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;

> +			clocks = <&gcc GCC_BLSP1_AHB_CLK>;

> +			clock-names = "bam_clk";

> +			#dma-cells = <1>;

> +			qcom,controlled-remotely = <1>;

> +			qcom,ee = <0>;

> +

> +			status = "okay";

> +		};

> +

>  		apcs_glb: mailbox@b011000 {

>  			compatible = "qcom,qcs404-apcs-apps-global", "syscon";

>  			reg = <0xb011000 0x1000>;

> -- 

> 2.14.4

>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi
index a37930639b8d..88e04a0ee67f 100644
--- a/arch/arm64/boot/dts/qcom/qcs404.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi
@@ -276,6 +276,19 @@ 
 			status = "okay";
 		};
 
+		blsp1_dma: dma@7884000 {
+			compatible = "qcom,bam-v1.7.0";
+			reg = <0x07884000 0x25000>;
+			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
+			clock-names = "bam_clk";
+			#dma-cells = <1>;
+			qcom,controlled-remotely = <1>;
+			qcom,ee = <0>;
+
+			status = "okay";
+		};
+
 		apcs_glb: mailbox@b011000 {
 			compatible = "qcom,qcs404-apcs-apps-global", "syscon";
 			reg = <0xb011000 0x1000>;