Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp955150pxb; Fri, 15 Apr 2022 16:31:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwM3AGTmEODGvMAFWkpIkXaPUtGylq2I3uTvORhX0Po0lPukTfbnPWL1a6+sqk8RFG6WwlH X-Received: by 2002:a17:907:a427:b0:6db:572b:df24 with SMTP id sg39-20020a170907a42700b006db572bdf24mr951313ejc.193.1650065477546; Fri, 15 Apr 2022 16:31:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650065477; cv=none; d=google.com; s=arc-20160816; b=hk9mYSlF1RB4CGS9BRGc5QEfTSzm2CtIOr2ZCUN6aGqrZ7X2ukhmLJQU+u2aOhnThV 2LUW284h4DJ9U1GP6a0UiQGAo4jO/c1Lb5TnXbN/dd8AiKHE3ToBDk4MUC65OEBjm3Mn uTNXoVvcCMSA8Sp3iOg2xU+1bOlqKjWXbgW2eKBtHHYwqT8DGIQ7ln1JSaSHku2mLSeA KyBIHrlg8Kxtsh8wWiieZEPWXgAqFa4ioP4F/qbGS2nJTJobYi4MPtdni/1sOu1OMS77 WGXSsHyo0ViMBJ2iC86fP8Z26wx6cZCqtU0nIMxgRHZpNv+jVV/IcoUVPKexc9fUysE8 /5Gg== 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=7Z1WsJMy6+tESigk7Y9fYdTB3BOlvnULTxH9Nmucm2k=; b=l3KpMoeucLULAQbcB8MOrl7O0SS9CIvjVcuO+iHC5Thf4Ob7ke4s3l9HZrI0d0R3ZT gWsg9Jxwl5PWb9uZsTXZ6qqAUmaYF7WNOKQA6hWU+y5V8kRDDuaJjmbqk8XS/cz1fe+N gTN9pRPc0J5eeNIMzkrMmZCXpKIjYdqdcJyFlomz//y9i/5+IO/a9nTB7KSfh0w/2kCE H+dvv3MdTF0RmnlT5DN8L2eN+svAL24R0gTDushyfRatoAQ/1krt9N/oDCBO2/A+Brrw 49H3FKXr0/WcdGi2ysfM07Ix8x9YB22qz6edOywV7bdMt004QEgGZId01n/KTrecIavM VKcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U8cYwGfU; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ee6-20020a056402290600b00420eb5241ebsi1750491edb.373.2022.04.15.16.30.51; Fri, 15 Apr 2022 16:31:17 -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=@kernel.org header.s=k20201202 header.b=U8cYwGfU; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242162AbiDNKTT (ORCPT + 99 others); Thu, 14 Apr 2022 06:19:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242158AbiDNKTK (ORCPT ); Thu, 14 Apr 2022 06:19:10 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C88C6D4E9; Thu, 14 Apr 2022 03:16:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 32BB4B8280C; Thu, 14 Apr 2022 10:16:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93703C385AD; Thu, 14 Apr 2022 10:16:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649931402; bh=7eRmh8g4flePTEuHqHb/gSMNe9lYU2ymXxFyBNqoJRw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U8cYwGfU3C0FwRIUjduuGJPPC2tNIwU+WKSDuJ0iY1j/fl0XLysQSZ7WgeeG16ijR 60/QC1o0UNd3okb7KK03osWWdlaJ88hCPDt920OEQ6ZhRV9TrmFKl8JX2vILw4jmds 7iWwDHIMdrMuP5R63kwXC34haj3UE0nImh3S/5S/SpgGTm+D7p+qBzHv3dXjKNfe0W 1mt6Cw6K+ogXX/X0eYX/yEjXT8p9zBTQRjIhepuuJlf+T3T1iWx6iGruVtd3sku3WI axBHAJosSMEk0Ju0XszKgLVTXKFskuGf6EOHtT2GiQwrJiOkb8cfnMz7EX/BFZLvmH GJg3DBDopds9w== From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] arm64: dts: qcom: sm8450: Add gpi_dma nodes Date: Thu, 14 Apr 2022 15:46:24 +0530 Message-Id: <20220414101630.1189052-2-vkoul@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220414101630.1189052-1-vkoul@kernel.org> References: <20220414101630.1189052-1-vkoul@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 can be used for DMA operations for QUP devices, so add the three gpi_dma insances found in this SoC Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 67 ++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 934e29b9e153..bfbb6e04fcb4 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -687,6 +688,50 @@ gcc: clock-controller@100000 { clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>; }; + gpi_dma2: dma-controller@800000 { + compatible = "qcom,sm8450-gpi-dma"; + #dma-cells = <3>; + reg = <0 0x800000 0 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + dma-channels = <12>; + dma-channel-mask = <0x7e>; + iommus = <&apps_smmu 0x496 0x0>; + status = "disabled"; + }; + + gpi_dma0: dma-controller@900000 { + compatible = "qcom,sm8450-gpi-dma"; + #dma-cells = <3>; + reg = <0 0x900000 0 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + dma-channels = <12>; + dma-channel-mask = <0x7e>; + iommus = <&apps_smmu 0x5b6 0x0>; + status = "disabled"; + }; + qupv3_id_0: geniqup@9c0000 { compatible = "qcom,geni-se-qup"; reg = <0x0 0x009c0000 0x0 0x2000>; @@ -712,6 +757,28 @@ uart7: serial@99c000 { }; }; + gpi_dma1: dma-controller@a00000 { + compatible = "qcom,sm8450-gpi-dma"; + #dma-cells = <3>; + reg = <0 0xa00000 0 0x60000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + dma-channels = <12>; + dma-channel-mask = <0x7e>; + iommus = <&apps_smmu 0x56 0x0>; + status = "disabled"; + }; + qupv3_id_1: geniqup@ac0000 { compatible = "qcom,geni-se-qup"; reg = <0x0 0x00ac0000 0x0 0x6000>; -- 2.34.1