From patchwork Tue Nov 15 15:27:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 625654 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 CCAD0C4167D for ; Tue, 15 Nov 2022 15:27:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232040AbiKOP1p (ORCPT ); Tue, 15 Nov 2022 10:27:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237845AbiKOP1o (ORCPT ); Tue, 15 Nov 2022 10:27:44 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 760EA2D769 for ; Tue, 15 Nov 2022 07:27:43 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id bj12so36813910ejb.13 for ; Tue, 15 Nov 2022 07:27:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Pye56l5tV+PFr5V02s5kVYgOc0gcJFpQaxO9onF9KkY=; b=rQyKdD+GzORugh864rhM3Czk2kviguv9s6CNctmtSalawYYsBoapCU90qOk1vew/7z dXcYLhlHfz2fpPjK12LQ+aend3qPWrrrw8UqhWjs6Y7vrc4rbGStWGQ0AZZUI4cf4YJ2 bSIJSb7Yz63Zr49XapuNXVBqjaFMROMEj4E+VG6Qkupe91CR45uUF37mz6GOVWc6+Z44 PRA7Xv806lz2vuxT7xYP46qoIzwDpVlvnTteSQYBdN7CA7Jh11YDrZ8IoZM4RQekCLkK TGLn7ue6LFeHlrmLhSeRCvMd8AgDEcutfh6tJD4NZdHqub23NB+09/eVAnWr1/9xbWsR ixEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Pye56l5tV+PFr5V02s5kVYgOc0gcJFpQaxO9onF9KkY=; b=ff4Oc1JdWyBqReR5Lsv1wTMx8/O6N4A6k7jGvxXdH0cK0+46SqW1CF/LNSWEv9Of1q oTpHZL8GNg1NCsr0lSFwX4FBLmMtQRNHvlL45wc4FbR6pG238UdGWmOXGodL/hW8p7r9 QHu0iEGDlHKCD6xGrxya6T34Jken/5UKouRQoMoWD7vHqoxqCuEtwbPPANR3p2zRIjcN ogY7zUDdCuvZveQLcx9JmcPgYlsX9fLP8F6ZAsoK6+dp5URb0IBOnqQD0F6/l8kxeKdB BBp5xyzFfycMvAwgbqMxr6LBOasDKwOLNWD8a3cPXJFmW4IR756ibaqE9s9WDq+dmEeU DOFw== X-Gm-Message-State: ANoB5pkt2qcmcwngAyiAFTVvarafWRiLdKFNFpM72O97G8DSopk0YZZQ 62SXYVRbLv1uQercgKcAw2uEb5D/1nrl/5bC X-Google-Smtp-Source: AA0mqf5g2Cvr2pqIfwGW+WUUYbfrne8p6hHBvAQ1ckrYjfZylMisJUdQeYzv8WCF6kOSilBqM22Oqw== X-Received: by 2002:a17:906:6c8b:b0:78d:b6f7:53c0 with SMTP id s11-20020a1709066c8b00b0078db6f753c0mr14899794ejr.527.1668526061797; Tue, 15 Nov 2022 07:27:41 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id ku21-20020a170907789500b007ae1ab8f887sm5750679ejc.14.2022.11.15.07.27.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 15 Nov 2022 07:27:41 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 3/9] arm64: dts: qcom: sm6375: Add GPI DMA nodes Date: Tue, 15 Nov 2022 16:27:21 +0100 Message-Id: <20221115152727.9736-4-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221115152727.9736-1-konrad.dybcio@linaro.org> References: <20221115152727.9736-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add nodes for GPI DMA hosts on SM6375. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6375.dtsi | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qcom/sm6375.dtsi index 9b1a497e5ca7..62a64dd731a0 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -567,6 +567,46 @@ rpm_msg_ram: sram@45f0000 { reg = <0 0x045f0000 0 0x7000>; }; + gpi_dma0: dma-controller@4a00000 { + compatible = "qcom,sm6375-gpi-dma", "qcom,sm6350-gpi-dma"; + reg = <0 0x04a00000 0 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + ; + dma-channels = <10>; + dma-channel-mask = <0x1f>; + iommus = <&apps_smmu 0x16 0x0>; + #dma-cells = <3>; + status = "disabled"; + }; + + gpi_dma1: dma-controller@4c00000 { + compatible = "qcom,sm6375-gpi-dma", "qcom,sm6350-gpi-dma"; + reg = <0 0x04c00000 0 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + ; + dma-channels = <10>; + dma-channel-mask = <0x1f>; + iommus = <&apps_smmu 0xd6 0x0>; + #dma-cells = <3>; + status = "disabled"; + }; + usb_1: usb@4ef8800 { compatible = "qcom,sm6375-dwc3", "qcom,dwc3"; reg = <0 0x04ef8800 0 0x400>;