From patchwork Tue Dec 1 04:25:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 335107 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp5337865ilb; Mon, 30 Nov 2020 20:26:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgwr1Rn+qoZhOFmzQ3pJjai6ylNyWTaSD09trLw6DfNsdUQTpyQ33dnv64ED+dtaLRso+o X-Received: by 2002:a17:907:265c:: with SMTP id ar28mr1257070ejc.172.1606796774243; Mon, 30 Nov 2020 20:26:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606796774; cv=none; d=google.com; s=arc-20160816; b=ExBlZAXBysMptCOv+pC4j+Uc31QklqAc7s0nGiiipftjF5rpB7KxBIxtXhPqbOVQd7 o+V4/pD/Jk939yJ6Bq8pBe6aJRBhV/eaKffXjCn/Q2xYTNeCZ3Lwenf+KH9IBripOQGH P7WP0uO6Y5pe6WSKF+TxW+7NKt3a/6a6m5QnLAuylKs6QMiRXyPWG747mLrmG8uCitx/ wlFFePtoYDISRS5Jc5hDMsGb16M7YGb9zJ/A56cnuz9ZWkFU+Q253b0V/31atEyNFAFy 48ilwMJW/K21GstjBlGb2PQbRIUotKnnCTOlLv5FLbgr0nL7K9g3VgKh/MO91WDPazAI nd1Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=CxbaAOwEQGf0EXmGg7fOy+ZE5NvndxMJL4om736p6PQ=; b=VSReMzvV/t4M/gQJ7Vz4sbrU9G+LM/6TlUscaV4obxeoKsqNZybU7h2JAOATg2sjM2 SiyP4fqStAxBHShUz0FglaM8hNc2c+rWApvFPL1QQgOAKIR3t+jHw/V11yJTyTZBx/X5 gyxHMbSskkyawNApoph3edVC4bzNZEOr50qHxeM9b3w5ak7MR+lsLKbYVwCf5GOxhOaV AUuqbPXcDTjX9V6HJStjSEUP5ojoaZMWSifTjVRxVn7or0G9hENkiY3SKui7CdTNNxFr mjjXg6F6thvyyaUDqdo39or3yQamsKsWvlBJt5YLIev8YiInlBRjyNlM8nrz1Iwho6s2 J6pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YOGcjpMU; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr21si209670ejc.446.2020.11.30.20.26.14; Mon, 30 Nov 2020 20:26:14 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YOGcjpMU; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728211AbgLAE0N (ORCPT + 6 others); Mon, 30 Nov 2020 23:26:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:33572 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728118AbgLAE0N (ORCPT ); Mon, 30 Nov 2020 23:26:13 -0500 Received: from localhost.localdomain (unknown [122.171.214.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A954D206DF; Tue, 1 Dec 2020 04:25:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606796732; bh=dwFCUv3eCJdZleEjRWIMbM5M/E8vdY0lGF+0as1ZR0s=; h=From:To:Cc:Subject:Date:From; b=YOGcjpMUSwAiiwoK3orXhHhBG4Yfd/ClOVYXp0jetfd7slo/jsRSV8Ww9k3G4lF9K VUCDkUi+tRS5RErQyEyjwE7CQWymqlSmj/tPrkPY7JTVaFPfcEVt/xhujmH5kkxsfa jdGbVkGV86NPnq4gkYo7F5VTMB/H4uyWtqTRWlvs= From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Andy Gross , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] arm64: dts: qcom: sdm845: Add gpi dma node Date: Tue, 1 Dec 2020 09:55:19 +0530 Message-Id: <20201201042520.2116271-1-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This add the device node for gpi_dma0 and gpi_dma1 instances found in sdm845. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 50 ++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) -- 2.26.2 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 6465a6653ad9..dd252b479bd1 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1114,6 +1114,31 @@ opp-128000000 { }; }; + gpi_dma0: dma-controller@800000 { + compatible = "qcom,sdm845-gpi-dma"; + reg = <0 0x00800000 0 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + + #dma-cells = <3>; + dma-channels = <13>; + dma-channel-mask = <0xfa>; + iommus = <&apps_smmu 0x0016 0x0>; + + status = "disabled"; + }; + qupv3_id_0: geniqup@8c0000 { compatible = "qcom,geni-se-qup"; reg = <0 0x008c0000 0 0x6000>; @@ -1454,6 +1479,31 @@ uart7: serial@89c000 { }; }; + gpi_dma1: dma-controller@0xa00000 { + compatible = "qcom,sdm845-gpi-dma"; + reg = <0 0x00a00000 0 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + + #dma-cells = <3>; + dma-channels = <13>; + dma-channel-mask = <0xfa>; + iommus = <&apps_smmu 0x06d6 0x0>; + + status = "disabled"; + }; + qupv3_id_1: geniqup@ac0000 { compatible = "qcom,geni-se-qup"; reg = <0 0x00ac0000 0 0x6000>;