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>; From patchwork Tue Dec 1 04:25:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 335108 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp5337894ilb; Mon, 30 Nov 2020 20:26:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzS89ufF97fEaWEnkNH18R2k9k5hLJ02tWnE6bxiA4migdxpWQai0QZCqEaA1LNkJvS8eKb X-Received: by 2002:a17:906:7fca:: with SMTP id r10mr1294420ejs.24.1606796778734; Mon, 30 Nov 2020 20:26:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606796778; cv=none; d=google.com; s=arc-20160816; b=vz3BoZbdPdbjbIEXTqJj0X2/0RFMHRCUVx2wr1elIpGDrrUyTAt5AiMJ9NbIdCsOcU d5qrY8J45C09ZfmJghjqIy/YUKkYWFWFbGGPncrOhGOICIV1lx0WA0p180J8MENKwGVk 3MxazIAx3gTN90I7huSSivEPFLnAcPyZujZJrR3yiW56ndbs6U28tJeRtbzXifMxhUod ewnmBrC31wT7+cmkaO6+HK4ncKGRX8yHn/49v1V/lUzwE4AsZhkmRvWwX3xqNkxV98WJ j+V1fn5S13ugbdlIvSZGQDv8NJU3rudAv0Yf1yNHfvgJG098lFjNRT2qymenvbTgOVGi dptw== 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=QBqVAcCsTSpVL7lXa3M+9tuN80rhY9C6YjLdoAuIl/o=; b=v80Gz/yH29Y+fmsMChy52ySf4hi4tlGaWoP8ya549p01HbYjMxathpIGT5oTlYN2O4 31kQ+MjfFAzNaqOgl9vyz69MDSDXdbHruJz1h3W8yWBUE8B6+iirDZtPBxOV+dbMPApX r78J3lXFkYzjJxz1LHBXINXbJEmIbtdhusWbA37Vdk/Rds90eVlLdYBGhiDIiZ1cerlh R0qhG0Ukw8E67kcb63QufphnJ8dSqVX7yHi1zaOUNV3LnNloDEHFFqjZWgQH2+14EwTC UWn13z57OCdqhFHyJ/JbteDfHuMX6GUc5TJ2kiGihahiWXK9ldneulbClCHsoPpNcX2E 57Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dIXasq65; 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.18; Mon, 30 Nov 2020 20:26:18 -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=dIXasq65; 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 S1728446AbgLAE0S (ORCPT + 6 others); Mon, 30 Nov 2020 23:26:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:33598 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728118AbgLAE0R (ORCPT ); Mon, 30 Nov 2020 23:26:17 -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 DA7B920796; Tue, 1 Dec 2020 04:25:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606796736; bh=k5S93RwtUuSKsKq34Q8HTWVl3/OBRYQRgm7ZmE5SZ0Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dIXasq65bZ1qjl9v5TYBmWHy7qZnE3agNsmifGYSozoFaMtqM5bZhdHUaaVfCooXM VBhQmggnGX5pXXfq+zGzHYCRZBnGCJ0/8gJxXq4HoOWD1JYIpp3Lv4EDPlKNKDHFZO vqCmqIb9CIGiibjgSo1LDA09dLXeWu7bz45j2tww= 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 2/2] arm64: dts: qcom: db845c: Enable gpi_dma0 node Date: Tue, 1 Dec 2020 09:55:20 +0530 Message-Id: <20201201042520.2116271-2-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201201042520.2116271-1-vkoul@kernel.org> References: <20201201042520.2116271-1-vkoul@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org gpi_dma0 can be used for spi and i2c transfers on db845c, so enable it Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ++++ 1 file changed, 4 insertions(+) -- 2.26.2 diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index 7cc236575ee2..0653468f26ce 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -418,6 +418,10 @@ &gcc { ; }; +&gpi_dma0 { + status = "okay"; +}; + &gpu { zap-shader { memory-region = <&gpu_mem>;