From patchwork Sat Oct 1 18:55:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 611434 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3373BC43217 for ; Sat, 1 Oct 2022 18:55:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229517AbiJASzh (ORCPT ); Sat, 1 Oct 2022 14:55:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbiJASzh (ORCPT ); Sat, 1 Oct 2022 14:55:37 -0400 Received: from relay07.th.seeweb.it (relay07.th.seeweb.it [5.144.164.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16E002C64B for ; Sat, 1 Oct 2022 11:55:35 -0700 (PDT) Received: from TimeMachine.lan (adsl-dyn13.78-99-1.t-com.sk [78.99.1.13]) by m-r2.th.seeweb.it (Postfix) with ESMTPA id 9F9893F359; Sat, 1 Oct 2022 20:55:33 +0200 (CEST) From: Martin Botka To: martin.botka1@gmail.com Cc: ~postmarketos/upstreaming@lists.sr.ht, Konrad Dybcio , AngeloGioacchino Del Regno , Marijn Suijten , Jami Kettunen , Paul Bouchara , Martin Botka , Andy Gross , Bjorn Andersson , Vinod Koul , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: qcom: sm6125: Add GPI DMA nodes Date: Sat, 1 Oct 2022 20:55:26 +0200 Message-Id: <20221001185526.494095-3-martin.botka@somainline.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221001185526.494095-1-martin.botka@somainline.org> References: <20221001185526.494095-1-martin.botka@somainline.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This commit adds and configures GPI DMA nodes. Signed-off-by: Martin Botka --- arch/arm64/boot/dts/qcom/sm6125.dtsi | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi index d35ea4474234..7e135041bd42 100644 --- a/arch/arm64/boot/dts/qcom/sm6125.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -1076,6 +1077,42 @@ sdhc_2: mmc@4784000 { status = "disabled"; }; + gpi_dma0: dma-controller@4a00000 { + compatible = "qcom,sm6125-gpi-dma"; + #dma-cells = <5>; + reg = <0x04a00000 0x60000>; + iommus = <&apps_smmu 0x0136 0x0>; + dma-channels = <8>; + dma-channel-mask = <0x1f>; + interrupts = , + , + , + , + , + , + , + ; + status = "okay"; + }; + + gpi_dma1: dma-controller@4c00000 { + compatible = "qcom,sm6125-gpi-dma"; + #dma-cells = <5>; + reg = <0x04c00000 0x60000>; + iommus = <&apps_smmu 0x0156 0x0>; + dma-channels = <8>; + dma-channel-mask = <0x0f>; + interrupts = , + , + , + , + , + , + , + ; + status = "okay"; + }; + qupv3_id_0: geniqup@4ac0000 { compatible = "qcom,geni-se-qup"; reg = <0x04ac0000 0x2000>;