From patchwork Thu Feb 20 15:01:03 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 13984094 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CBA6415574E; Thu, 20 Feb 2025 15:01:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740063683; cv=none; b=j+VpF6N0jZLltattaM1B5a51EDtAReyHb7yjCA/c5ydtOvFithXEgn06LSoZXUCjG5BRXed2QnVVJHBZS+QLEoE1/47QeOStuYOQCK8XziaL2Cg31T1U1+13V9dE5zQ4xa6E52NajIHdVTJJahGjN0/x/Np2X2lWzz9xYmkve4Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740063683; c=relaxed/simple; bh=Ahp8fgbGGOnKpyObOEVaVskHj+Jt9ImFKsw5rXZIyh0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=BjORiGCcNHcaqZuNyk+2WFbM+e7W9l9CJTgmZU/GLjDloK8zCDyGK07AlvwGW+7jlZOD3sK44DkAzBB43WL3YhhUhrag3VApYU0VhPaDvqWX5AQdcOLr14/EZEZW8mcyYOuTiuaDpWh4GENZLP3a2CDbMZtzX/V+Z8NOd4Verpg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; arc=none smtp.client-ip=210.160.252.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com X-CSE-ConnectionGUID: JAqRgCLZRJyH4fn0ys8UPQ== X-CSE-MsgGUID: oOoz0sKeRlWMRSHNgm8Q8w== Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 21 Feb 2025 00:01:18 +0900 Received: from mulinux.example.org (unknown [10.226.92.65]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 8684B42C8306; Fri, 21 Feb 2025 00:01:12 +0900 (JST) From: Fabrizio Castro To: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Thomas Gleixner , Geert Uytterhoeven Cc: Fabrizio Castro , Magnus Damm , Biju Das , Wolfram Sang , =?utf-8?q?Uwe_Kleine-K?= =?utf-8?q?=C3=B6nig?= , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, Lad Prabhakar Subject: [PATCH v4 0/7] Add DMAC support to the RZ/V2H(P) Date: Thu, 20 Feb 2025 15:01:03 +0000 Message-Id: <20250220150110.738619-1-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Dear All, This series adds DMAC support to the Renesas RZ/V2H(P). Cheers, Fab v3->v4: * Fixed an issue with mid_rid/req_no/ack_no initialization v2->v3: * Replaced rzv2h_icu_register_dma_req_ack with rzv2h_icu_register_dma_req_ack() in ICU patch changelog * Added dummy for rzv2h_icu_register_dma_req_ack() * Reworked DMAC driver as per Geert's suggestions. v1->v2: * Improved macros in ICU driver * Shared new macros between ICU driver and DMAC driver * Improved dt-bindings Fabrizio Castro (7): clk: renesas: r9a09g057: Add entries for the DMACs dt-bindings: dma: rz-dmac: Restrict properties for RZ/A1H dt-bindings: dma: rz-dmac: Document RZ/V2H(P) family of SoCs irqchip/renesas-rzv2h: Add rzv2h_icu_register_dma_req_ack() dmaengine: sh: rz-dmac: Allow for multiple DMACs dmaengine: sh: rz-dmac: Add RZ/V2H(P) support arm64: dts: renesas: r9a09g057: Add DMAC nodes .../bindings/dma/renesas,rz-dmac.yaml | 113 ++++++++++-- arch/arm64/boot/dts/renesas/r9a09g057.dtsi | 165 ++++++++++++++++++ drivers/clk/renesas/r9a09g057-cpg.c | 24 +++ drivers/clk/renesas/rzv2h-cpg.h | 2 + drivers/dma/sh/rz-dmac.c | 165 ++++++++++++++++-- drivers/irqchip/irq-renesas-rzv2h.c | 56 ++++++ include/linux/irqchip/irq-renesas-rzv2h.h | 26 +++ 7 files changed, 517 insertions(+), 34 deletions(-) create mode 100644 include/linux/irqchip/irq-renesas-rzv2h.h