Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp496532lqh; Tue, 7 May 2024 05:59:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVHhZKPKVIgrYyfCLbRoAAqTtKijQ2X1z28HyQk4qMmePrbp3EYANYuH5/U/+Lci7H9ivLcCDViIq+vzRi+tNRgUKOlHU/LDpbpT6QtEQ== X-Google-Smtp-Source: AGHT+IGDCPSpI1RkAKLtnywOP0wlCIGpx1fqjgWzkF0kTtwtpNho3tXNXBOnh9j0x5R2dkHXWgX1 X-Received: by 2002:a05:6214:d88:b0:6a0:a76b:e216 with SMTP id e8-20020a0562140d8800b006a0a76be216mr16212352qve.13.1715086791486; Tue, 07 May 2024 05:59:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715086791; cv=pass; d=google.com; s=arc-20160816; b=irhZbBIJKLcnu/iLZwgPNz0nALLY2S4yR/nuytZDBhwW3DhF9aPP+jpx1MRXTgpS1N 24H2wTEju1nHvLPEoAvYuHdeEVCXPz6L536RdeHF9qfK/NjvgEYvss1O6p+t+rwn+pcs FffdeQ+IRa72B/DyoipJjxnRiqu/xt7g8A1SDQtBvrbjU9ZdRnmy0Ju/ZYQ0YFAsTHh+ n6Na6NNLquXyYsaAgP4cu6iOEnhaaq27IB5OA6LjUeoTMnwZEcH/z3ohRQ0q8LIXqtO5 BX2GTl+ueFYoWmfJtWKI7SVCiV4NxCqmhCVtZtCgkJ1zqwKBWev46/jQA/Z4wo9of04L lvLw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=OzrCQo0hpWSO9pso58zSn8WSa87BgyfCcJpHJH1EMEE=; fh=GMVtMPLlwt/lj9i49KuTObjDq8olvs384ecnCjKLSCY=; b=UyFxu//47EdghE0W/tTPHCM/4pikBJJIOY/p2JgIjL3sUhbV7Z1CufYsO15SM+o1pq 7XQM0ZH4hDaYTjfo77GtjpXlukHNS3VMZ3O1JPJZAlYMO16txm26/7PFmmoRkZYEINex csc0N5EtL0bWMbxJNKI3yAa1moTnE288fEm9/eTF1Auo2Sqte+ZUbQNynseZ662x9PPD TTrrd4Iv8josC6HcAsNfJXuCeb9RpTItIcUozasRNDRE85V/5vDTGboNoC0eMe0ZvXDi tYEs4zltP3NV+feVJw14MM7PXNrhnkFhpyoMKylb0TYG3ifbU10Jc3oPSbEd2bg2QcOZ pyeQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b="e0HLY+I/"; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-171333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id gs3-20020a056214226300b006a0c91dbd86si11557367qvb.39.2024.05.07.05.59.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 05:59:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b="e0HLY+I/"; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-171333-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171333-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 29AB11C20C96 for ; Tue, 7 May 2024 12:59:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 82EE615E7E3; Tue, 7 May 2024 12:58:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="e0HLY+I/" Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD45B15CD55; Tue, 7 May 2024 12:58:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715086704; cv=none; b=jfXykUXZFlSKDou8gL+VcIArgxiS45hN9hVOrmLe1iBu71um+5v5DvHhMTOl6zSI1MdztxgD0GhF3qDHReO3S51VcPvZc1lfXNkJYbNLHWtHeaKMT3f9IxPdj7VHs4pe4X1/ETi206jPbCRWnPHzbBjWl+fYtX4uYVZ4A/RbM2g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715086704; c=relaxed/simple; bh=US3Ro54elQbhrmTXVpQeKPpfr3YcjmmpVKvk1eLBbc8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HrDQHYpb/SNj7l7T3GdhoJu2sBfk+uYd/gF+zDK1wlR2b80XEbPU16u/bQmL0VeV4V1TuhTBzeBOrcvIge1hCOGn+H7Lan7L5yh22lWx39tToZmWxJYieePyp9PNltMDl/QGuA3lYp0zMC2fjZjxl39KdOpvsV3SHZHJqF0Rs7M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=e0HLY+I/; arc=none smtp.client-ip=91.207.212.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 447BCcrk001210; Tue, 7 May 2024 14:58:00 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= selector1; bh=OzrCQo0hpWSO9pso58zSn8WSa87BgyfCcJpHJH1EMEE=; b=e0 HLY+I/wrNHysZzR809wcSV4my4hqEcdtRU740FAqz9p0EkMMMwnho723iTxYzTui avXgRm7ALmOqjWZCUfadIJSw+6ezKuOFnd5zijJlUTZlKusJUb+ODYmMzYFQzrbT wiUaBj3W7WXOWxVjR5bwFKOpJk2tco8IDY5qjvVkzoO5YUzmNiMRFulq576swjWr D3Xi6aeyAZ2KdtZlOZTJD9mEiwW8UGhS/AdCitMWPqIldV7rH3WdLXyDUiMVsDiN bhKj+qAdho/1FQ5YgRTHh2GdReKmMSZOi6h7Re1iyFSMLgfnEYQ7L3CqhWxoShxg m5zIF0ZH4nBGzHv9IgoQ== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3xwbwckpyx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 May 2024 14:57:59 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id D7AD940046; Tue, 7 May 2024 14:57:55 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0A35721A91F; Tue, 7 May 2024 14:57:11 +0200 (CEST) Received: from localhost (10.48.86.143) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 7 May 2024 14:57:10 +0200 From: Amelie Delaunay To: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue CC: , , , , , , Amelie Delaunay Subject: [PATCH v2 12/12] arm64: dts: st: add HPDMA nodes on stm32mp251 Date: Tue, 7 May 2024 14:54:42 +0200 Message-ID: <20240507125442.3989284-13-amelie.delaunay@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240507125442.3989284-1-amelie.delaunay@foss.st.com> References: <20240507125442.3989284-1-amelie.delaunay@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-07_06,2024-05-06_02,2023-05-22_02 The High Performance Direct Memory Access (HPDMA) controller is used to perform programmable data transfers between memory-mapped peripherals and memories (or between memories) via linked-lists. There are 3 instances of HPDMA on stm32mp251, using stm32-dma3 driver, with 16 channels per instance and with one interrupt per channel. Channels 0 to 7 are implemented with a FIFO of 8 bytes. Channels 8 to 11 are implemented with a FIFO of 32 bytes. Channels 12 to 15 are implemented with a FIFO of 128 bytes. Thanks to stm32-dma3 bindings, the user can ask for a channel with specific FIFO size. Signed-off-by: Amelie Delaunay --- v2: use SoC specific compatible st,stm32mp25-dma3 --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 69 ++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi index 5dd4f3580a60..73125657e7f0 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -123,6 +123,75 @@ soc@0 { interrupt-parent = <&intc>; ranges = <0x0 0x0 0x0 0x80000000>; + hpdma: dma-controller@40400000 { + compatible = "st,stm32mp25-dma3"; + reg = <0x40400000 0x1000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + clocks = <&ck_icn_ls_mcu>; + #dma-cells = <3>; + }; + + hpdma2: dma-controller@40410000 { + compatible = "st,stm32mp25-dma3"; + reg = <0x40410000 0x1000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + clocks = <&ck_icn_ls_mcu>; + #dma-cells = <3>; + }; + + hpdma3: dma-controller@40420000 { + compatible = "st,stm32mp25-dma3"; + reg = <0x40420000 0x1000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + clocks = <&ck_icn_ls_mcu>; + #dma-cells = <3>; + }; + rifsc: rifsc-bus@42080000 { compatible = "simple-bus"; reg = <0x42080000 0x1000>; -- 2.25.1