Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp206026rwb; Fri, 30 Sep 2022 20:56:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4TJlAs4001p/UobiAWJVGqGOyPMcv+6GnxBMBx8Z+j+g2MQO6cP915yhTnmUZOnfgPsOtO X-Received: by 2002:a63:5415:0:b0:439:e932:e025 with SMTP id i21-20020a635415000000b00439e932e025mr10081357pgb.63.1664596602964; Fri, 30 Sep 2022 20:56:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664596602; cv=none; d=google.com; s=arc-20160816; b=s2NtEWf9n0Ij7az6bHsvwf5twmsIxJFMly0RUkpAbcP0X3YiPkb6PQXk2P49Rn2Dar eXZUrGEQybVlXr9xfrvVGsAI8/cBbeJ7ZFQ7d9YS9sjG0OU+XT6tX2EcTZH7094l5zOE G8rcp67ZDC/rnoWGnCeBust4IIzE/NOaZn7zlrsTPBhWEZCIe1jc1E8blb7rHLSyBAhY Oxsas3xsN4S63LGBsOwfXkqGmW7whwo9ds91Fx0QWo5U7w1IqyTQqPp130B2LWO7sJ68 90XqSG3PEnJxy9hWF2PWu2nxfWHYZO9mjq4M8ncuyvPvxHvmIU8Fj2ivf3kOfbIUyyfz yOFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HfqxfIIh0PJaRBXnhpEKQJDvwicLwQxNHHW2gL59Xko=; b=PdGR1Ijnt6yAQ7AnrfTnVwpY15YJOmZ0QukAQeZHQFc1SaIPqcIdLIIZtt1zG7rKaf Y/83mljH9swJIec2X/WdJJz8HUEoUKqF36OVQwV1rANq8/judci7qgmisYz1wgWJuyqq URjoJok9nJYbtf6aVh0qWNXG5PifAVOq/t/P7N6OufgTsGLo3GfxEsgK3Hm602EGIVtZ RTGBypQ1RIuideb4OA0ouRaAQp2ydc3gSMWy26kIJzmeplMxb5MA9GGU1GjsJVP4CuW1 IIZzNQDiAaNGso4i1nNN0jWORjPD2NxjyeZYH2JXx7qPXRo0pUK/6BUEHj0MCG45RDL3 6fDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="YLq/isvV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020aa79428000000b00541add14c6bsi4106608pfo.271.2022.09.30.20.56.31; Fri, 30 Sep 2022 20:56:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="YLq/isvV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233158AbiJADL4 (ORCPT + 99 others); Fri, 30 Sep 2022 23:11:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232693AbiJADHv (ORCPT ); Fri, 30 Sep 2022 23:07:51 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD49F3120B; Fri, 30 Sep 2022 20:07:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1664593642; x=1696129642; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HfqxfIIh0PJaRBXnhpEKQJDvwicLwQxNHHW2gL59Xko=; b=YLq/isvVo5dy87yTuDhYukSdvQcDRcmCgXAk9MOWKy71S0LUI87P7QDe rW/xg8d/50la8h5qhHPSGwnLXfBvxWFi1XIeGigByccB0xqCFR13wEG2l u/am2A7L1ZAm+9KncjchFBzxPzHoFp5PZC41XdddDzeOkxp72V7HRtsIj 0=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 30 Sep 2022 20:07:18 -0700 X-QCInternal: smtphost Received: from nasanex01b.na.qualcomm.com ([10.46.141.250]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2022 20:07:18 -0700 Received: from hu-molvera-sd.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Fri, 30 Sep 2022 20:07:16 -0700 From: Melody Olvera To: Andy Gross , Bjorn Andersson , Rob Herring , "Krzysztof Kozlowski" CC: , , , Melody Olvera Subject: [PATCH 16/19] arm64: dts: qcom: qdru1000: Add gpi_dma nodes Date: Fri, 30 Sep 2022 20:06:53 -0700 Message-ID: <20221001030656.29365-17-quic_molvera@quicinc.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221001030656.29365-1-quic_molvera@quicinc.com> References: <20221001030656.29365-1-quic_molvera@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org GPI DMA is used tof DMA operations for QUP devices, so add the two gpi_dma instances on the QDU1000 and QRU1000 SoCs. Signed-off-by: Melody Olvera --- arch/arm64/boot/dts/qcom/qdru1000.dtsi | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qdru1000.dtsi b/arch/arm64/boot/dts/qcom/qdru1000.dtsi index 5d3932ad67a1..c105bc15995b 100644 --- a/arch/arm64/boot/dts/qcom/qdru1000.dtsi +++ b/arch/arm64/boot/dts/qcom/qdru1000.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -225,6 +226,50 @@ gcc: clock-controller@80000 { clock-names = "bi_tcxo", "sleep_clk"; }; + gpi_dma0: dma-controller@900000 { + compatible = "qcom,qdu1000-gpi-dma", "qcom,qru1000-gpi-dma"; + #dma-cells = <5>; + reg = <0x0 0x900000 0x0 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + dma-channels = <12>; + dma-channel-mask = <0x3f>; + iommus = <&apps_smmu 0xf6 0x0>; + status = "ok"; + }; + + gpi_dma1: dma-controller@a00000 { + compatible = "qcom,qdu1000-gpi-dma", "qcom,qru1000-gpi-dma"; + #dma-cells = <5>; + reg = <0x0 0xa00000 0x0 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + dma-channels = <12>; + dma-channel-mask = <0x3f>; + iommus = <&apps_smmu 0x116 0x0>; + status = "ok"; + }; + qupv3_id_0: geniqup@9c0000 { compatible = "qcom,geni-se-qup"; reg = <0x0 0x9c0000 0x0 0x2000>; -- 2.37.3