From patchwork Mon Jan 29 15:16:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 767690 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E969153BCD; Mon, 29 Jan 2024 15:16:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706541393; cv=none; b=nSlV1W5NDzcJdxdDtIvFmh8DRdHzONrjbdzVfs1cLooFlJ+Iq65zzTxjqF8P8yp8zlIrEGxKibok6aE0BeOKyjv2CPiAD9+7jYF1zcmv3kJRjC2MU6wahiXP+eoIrFs+eOL3Fff1TuCzp1w495Ykp1SFAYlbYZ+8MG+dZkXIk7E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706541393; c=relaxed/simple; bh=mwJf1pU/qZI7QI5NMKPHuzWffIjwRLvEXG6vOQEeM04=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=nAFhVkw6wYgQpomFx82n17hZ3THiYMSa+DMGry0P3ppbaTp5KSgYg0wTrZ65VXMJsi2B+L0LshrrjEptQgBOc1GufOCEl8UaJloHekdkTMBTIoq5zQCJj/Z6zS2JrrCbWyx+nBpZU7+xwKXkBTqnfY2fGztL08SZ4XaD2XA/HGg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cYZDRoJe; arc=none smtp.client-ip=209.85.221.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cYZDRoJe" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-33ae5e7d787so1588058f8f.1; Mon, 29 Jan 2024 07:16:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706541390; x=1707146190; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nRPYmXZnIT01poufmeMRGZaKCj5tsIcmA7FhqBODKic=; b=cYZDRoJeq6Z3oqCZL2jlvejH9Ob+4GUl2tPr9dj+18xulJ7YWpQVbQcDKMyWRvczgX h2nUyfctCkKqpIIfl+/9bKloLecSfRT2mu2T175CfqlcBVuKrpCuGK7LEdbM9Ob1kObl CY2pQJDhl/jueZecuP3BKACYLIQKQD3Pn0yzK5/LKO6IoEptLagKxKaXXtBh2R2C0XmT D9v5NkO4/cr7aACJBkg2/ZmEWG8T/5MqxmR6wxFJWQcG6vYKcOwXVJ2W48itirUtezIw P0y+bxYJMxmHj7W99TtcGtYN6xelaKcvAQXgihfIiPKnxWXEIdnxWK00ORApAtuoARa1 vwTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706541390; x=1707146190; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nRPYmXZnIT01poufmeMRGZaKCj5tsIcmA7FhqBODKic=; b=fx2frIUzno7r3KbE1Rr7EPgD0VYkHcgo/mJEZJ0+xmhYav/nZnUjxfoibVseh4pvrZ Yqlxu5Xu01JSTmTNJ5p7gUwVdlmfopmkVFcCq2oSyTzh76NY+3XWZmvyvYJKhOm6T65u EoktKWgRq0WGSryNg2qadKFxQ8nKixij09aV1r8U7QoWsBD5Y0RMxzcqWdLID7ScZ1Rm pGNTdroxCpiffwcRYKv06JDpNbc707V7g3BE2QmAhXmFCVeotEuHrMUvt5CoLNWMYv8y lKePRuTXz1qdLNdcIk8vFppVN6WUV/WIppPnzqmFBVvwrJwV5hvJ+1UZt4WzJTQ8LtWJ SAPg== X-Gm-Message-State: AOJu0YwMAD7+jzNHTldnC4VwFk0an+V7lDi17t72ktmEvNwg+kskkMn6 aclmhegI5OGATe00eylRICMN4AfkD+giQaMUwo03HUSPTrASnwEk X-Google-Smtp-Source: AGHT+IEnu42aSb7Ky9qC9wvEJ1nW8oN4/7POsNlm7cXhpfdpi1cTjbNoRtxNqJjKC4KUjxXGypeXbQ== X-Received: by 2002:a5d:4ad2:0:b0:33a:e791:d8ac with SMTP id y18-20020a5d4ad2000000b0033ae791d8acmr3430590wrs.12.1706541390428; Mon, 29 Jan 2024 07:16:30 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2500:a01:5616:a18c:ea50:2995]) by smtp.gmail.com with ESMTPSA id h4-20020adfa4c4000000b00337d4eed87asm8397774wrb.115.2024.01.29.07.16.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 07:16:29 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Thomas Gleixner , Geert Uytterhoeven , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Claudiu Beznea , Lad Prabhakar Subject: [PATCH 3/5] riscv: dts: renesas: r9a07g043f: Add IRQC node to RZ/Five SoC DTSI Date: Mon, 29 Jan 2024 15:16:16 +0000 Message-Id: <20240129151618.90922-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240129151618.90922-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240129151618.90922-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar Add the IRQC node to RZ/Five (R9A07G043F) SoC DTSI. Signed-off-by: Lad Prabhakar --- arch/riscv/boot/dts/renesas/r9a07g043f.dtsi | 76 +++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi b/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi index d7a66043f13b..d2272a0bfb61 100644 --- a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +++ b/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi @@ -50,6 +50,82 @@ &soc { dma-noncoherent; interrupt-parent = <&plic>; + irqc: interrupt-controller@110a0000 { + compatible = "renesas,r9a07g043f-irqc", + "renesas,rzg2l-irqc"; + reg = <0 0x110a0000 0 0x20000>; + #interrupt-cells = <2>; + #address-cells = <0>; + interrupt-controller; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "nmi", + "irq0", "irq1", "irq2", "irq3", + "irq4", "irq5", "irq6", "irq7", + "tint0", "tint1", "tint2", "tint3", + "tint4", "tint5", "tint6", "tint7", + "tint8", "tint9", "tint10", "tint11", + "tint12", "tint13", "tint14", "tint15", + "tint16", "tint17", "tint18", "tint19", + "tint20", "tint21", "tint22", "tint23", + "tint24", "tint25", "tint26", "tint27", + "tint28", "tint29", "tint30", "tint31", + "bus-err", "eccram0-tie1", "eccram0-tie2", + "eccram0-ovf", "eccram1-tie1", "eccram1-tie2", + "eccram1-ovf"; + clocks = <&cpg CPG_MOD R9A07G043_IAX45_CLK>, + <&cpg CPG_MOD R9A07G043_IAX45_PCLK>; + clock-names = "clk", "pclk"; + power-domains = <&cpg>; + resets = <&cpg R9A07G043_IAX45_RESETN>; + }; + plic: interrupt-controller@12c00000 { compatible = "renesas,r9a07g043-plic", "andestech,nceplic100"; #interrupt-cells = <2>; From patchwork Mon Jan 29 15:16:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 767689 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C17C515442F; Mon, 29 Jan 2024 15:16:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706541395; cv=none; b=kbusMeEa/qCbT/LAjfoiTiYjPJ9XveseXwayTYKpDzP34iSiKG1Fr8yTYP1Sp42PTz2ZVCdGyntpTrz09h+e+HXJsUKOfrU0TNaSHOGeuyffwQIIeUUiWDwGLmx1Tfv/MqDrpJi5hf+BMGbMKp6ZnhmFVSeaxaCgmhy7YOJWKow= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706541395; c=relaxed/simple; bh=JqPOmyFWWffOGxGbyUZMSwBOxA6+G5/Ybqx9eE7zcuA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=pQE3CwG5O2B8gB9mAN+ykrQ1qX/nW00QlmXvyxtZZOoksSg78wyfSCxtrg1FVf7E8UoGCtNnx6s+jAkr4f5P/6iYmyznkhPMcvPeoTLhujMZ5nmTpCzTnL0KTNlQyvMuucoA8b8jRvVHotdKi+GkmFdiHkdufjPC1EVIdN6Cx6c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Un99ZBMS; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Un99ZBMS" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-3392b12dd21so2376903f8f.0; Mon, 29 Jan 2024 07:16:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706541392; x=1707146192; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wJgRXuTMoAWmkGwVsSeykflT2WPb6W3nvYvk+W/0dwE=; b=Un99ZBMSAiRSItG8+0eraYwn9zApoleeWpb//q0V9G2+/5BmEGOhjODFRa/h/IWeNi FKjAXTWWyho4XQHzqlfxYGDdyYnNExOht1lRWQJ+0VaqgImcw8h6xODCK6ZHafznfc5T Yiu8e2X8u6Dxn/czFSuhRhU+U3jB0C8+LxqfMZ+TnL4uq2NU16rxnEB1gcmvgqmritgc F1iY3149FXq5Wdcz9vPxB3jY4QgagmQBDcm4fD2ujMu73nrIN+1FJ8eT88Qd4GQoXxGS CsPzrT7+7lyUD5iWYNsdXyKpj04oF6f/tlVLoiEtkKqvWKp9fHIr4vQuB7sP9BW/5DlW QH5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706541392; x=1707146192; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wJgRXuTMoAWmkGwVsSeykflT2WPb6W3nvYvk+W/0dwE=; b=u7rZw3dAUyL6+IDWzL1C4qK6kjg7VY2DKdRoCiwkCzPPKjS7ZJqQUa3GKPhU+Zyr2U /V/HFsOaEUgaFQRg+6i0DeZ3ght8QYBP+lpWnnHsKu1696/7mTI0fOSd5Z0ymBRIHdWw rt3x558XPt5TkBWlVOG/asiI10ptzBga/7Fyy0Q331jA+vkM1EC5JJKJneeOqpZzopM8 qh712lIqLf2d2tBnWugGgNl59a/B/Eae4iOki4dyQBiYN2ou7SjpOXooMcAaXFJHjJ5O K1PWusfDdB5/owuirogXQRAZtPD3U2aCo0UUHZyzmCTJtiG0lmiM9jtC29HAQWaVnSfn 27bQ== X-Gm-Message-State: AOJu0YyrD4uCK3K+KE55gxQnA8H8Luh0vd23rYVcBnCewIwgTi4C8js+ 7rAFe+6uZbg7RGsyxhOPZVQJPkwmdBvWmdaUk2+OQbw/y18b8uCG X-Google-Smtp-Source: AGHT+IFwq3XWk7GpIaGHC4p6tV7o7Q2uoZ+gdSfO/MQj7Ut/Qs87y1mR3yt8SnlfoQQg8m2U9NMLHg== X-Received: by 2002:a5d:444a:0:b0:33a:e5a9:c22d with SMTP id x10-20020a5d444a000000b0033ae5a9c22dmr4041475wrr.25.1706541391673; Mon, 29 Jan 2024 07:16:31 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2500:a01:5616:a18c:ea50:2995]) by smtp.gmail.com with ESMTPSA id h4-20020adfa4c4000000b00337d4eed87asm8397774wrb.115.2024.01.29.07.16.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 07:16:30 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Thomas Gleixner , Geert Uytterhoeven , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Claudiu Beznea , Lad Prabhakar Subject: [PATCH 4/5] arm64: dts: renesas: r9a07g043: Move interrupt-parent property to common DTSI Date: Mon, 29 Jan 2024 15:16:17 +0000 Message-Id: <20240129151618.90922-5-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240129151618.90922-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240129151618.90922-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Lad Prabhakar Now that we have added support for IRQC to both RZ/Five and RZ/G2UL SoCs we can move the interrupt-parent for pinctrl node back to the common shared r9a07g043.dtsi file. Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r9a07g043.dtsi | 1 + arch/arm64/boot/dts/renesas/r9a07g043u.dtsi | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r9a07g043.dtsi b/arch/arm64/boot/dts/renesas/r9a07g043.dtsi index 8721f4c9fa0f..d2365def1059 100644 --- a/arch/arm64/boot/dts/renesas/r9a07g043.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a07g043.dtsi @@ -598,6 +598,7 @@ pinctrl: pinctrl@11030000 { gpio-ranges = <&pinctrl 0 0 152>; #interrupt-cells = <2>; interrupt-controller; + interrupt-parent = <&irqc>; clocks = <&cpg CPG_MOD R9A07G043_GPIO_HCLK>; power-domains = <&cpg>; resets = <&cpg R9A07G043_GPIO_RSTN>, diff --git a/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi b/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi index 2ab231572d95..0e931c88afa5 100644 --- a/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi @@ -54,10 +54,6 @@ timer { }; }; -&pinctrl { - interrupt-parent = <&irqc>; -}; - &soc { interrupt-parent = <&gic>;