From patchwork Mon Feb 5 14:44:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 196844 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp921108dyb; Mon, 5 Feb 2024 06:46:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHM0UpKk+O8cd1lVWwwO4MbnETq5pNEMvzuAFcu5RofK78dChiV8fixj/ifkNNc+TIC+aIF X-Received: by 2002:a05:620a:56f:b0:783:4fa8:f5b9 with SMTP id p15-20020a05620a056f00b007834fa8f5b9mr12465357qkp.74.1707144390210; Mon, 05 Feb 2024 06:46:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707144390; cv=pass; d=google.com; s=arc-20160816; b=N6lkIAMwId4rxzvuIwHx7YzfP0Mxv2NrECzWcY4iY2DfIz4YQ620l1AxXCQsl7OTwM JWAxTv50+gfO1Gmy91L3/BiCtUxyuTnnFAQX8LYUmrgokgtO/f1aH+yDQ6vuzD29amRC jCED1e/6AW1o5Shv0COGokCwNmVFAu9obgO6r12lRW/ZzepuR3GWRSUiz7SoafkjKCDF Y/HaziRFwglN8xMytEDi+iLgY8KFNaB2g8k877USs1jIHr39x/G3T5bb8JQWBpGg3ONT RqsOM1fonxMixzcu/yG8X3DUFyo9jrIHilzkKCnPq6p4E+yeSHM7ZODewrEN10R6X/ij w8fg== 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=v7fBQGIt+/unvEwTJnibDluFSJZOyorUxBAWdUVB2dk=; fh=hHurK5lQ8ab1LtqkWThzDhfDaBi5FneTEZsutdjeZMk=; b=thRNXlVp//qx42IJhvlBL159N4uJml44uIMxzmHCtzSS9X7gL6vN18PqvV52QfXjMX V7vPwQTqD3HepNHVNgzWG8y/sap3og6lZNKZrz18xyIbYMxKEc0IaYRZLnHe2kUqCRfg KQMFXwkgL1G6SmRqtTz50rr27axcmVZh48vATst7AzrnGIu+ekY0Ul2hK0IPtJlf+ihl 4vvyD4AUkLIh1Xto7wgREgIXYGF/RzB6ZvJemDJ+kmoTZtAX9BxMZeD8o5276eCgdCsN ybjt8P46ENJHxDsQKjOQF3naB3vcCGOkkLdSsRhEWFFM7GwsDhy5u20qvZmanVkeXe8f WhNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IWfsv7Bg; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-52840-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52840-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCVuATxxPrBMrc459Wt1zRjRm3zgyIZSasr6ct/JFjanySDcC0Pb/UZthvOtvzoeNTWbHnIbP1AfLwvlUcMe+r/+zoohsg== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d22-20020a05620a241600b0078543d8c525si9381497qkn.524.2024.02.05.06.46.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 06:46:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52840-ouuuleilei=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=@gmail.com header.s=20230601 header.b=IWfsv7Bg; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-52840-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52840-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 A99601C24A03 for ; Mon, 5 Feb 2024 14:45:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7ADEC32C8C; Mon, 5 Feb 2024 14:44:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IWfsv7Bg" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 E8DFD2C1A4; Mon, 5 Feb 2024 14:44:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707144284; cv=none; b=nGvhDcyVkXXtrTkWRTXQyDNKmdov9NtxMUzSGGKh1x/Q0PtxI+hEdpQtANr0B92S+McRS/l3gUAdjRQVzbDySRAega373PgFdrI6sh8CegDRsf7T3Bqdof2bFEVZfptOu/zix23ZUdCCYvtucqmkvpf6PiLJLv6EZm2LPlJ/WPk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707144284; c=relaxed/simple; bh=TeHBKvrOL97DsIkR78em+m1YctHPFczJy8uNVVS0UQM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=TUld8RMRVn3YQvglHAsWMVoshFFUQjond/jySp+fZyhPId7a2axhHPGuhEVH7f3y0QCHM6UfNhMXmPPMOvr6x4/Z0BVoIutOUfQn0wacf2rpkD1yVOsu0DMLmsqhXXA++vYRpF5LU67PvPrlHOLHCZWf92RGQn47Q8j1rWkxwog= 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=IWfsv7Bg; arc=none smtp.client-ip=209.85.128.44 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 Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-40ef64d8955so41138585e9.3; Mon, 05 Feb 2024 06:44:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707144281; x=1707749081; 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=v7fBQGIt+/unvEwTJnibDluFSJZOyorUxBAWdUVB2dk=; b=IWfsv7BgdrQz7b24N+1j9h4WmOEoARTlUic1XfEmFpnT9jusJPOdz77A5y5EPa7Ivq yhGQKQ86jHoYq/6yWeJMNbS1DBchrHYNvx22+4U7if98CWLpdfAzWKEIhCe/xZ9erQnH D5xajuJyNoQv/m2rePZhN4S++h489nLoSnPBOdoKZDYwCZhaWlUyMByaXk+UwO0qRhL2 7X+lt1scS9qqLdCgOlgh/nWAyJPhk5bcyUUaW0aPKfyqQkEGjkWrg2WdXRyuK8teMh+T 4vnyruNHDs1+dvB8FVM/GSMjr5LSIwTq5pjIjZ8a6nbscjLsJzuVmtvf6XquC+DKK8I9 OwqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707144281; x=1707749081; 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=v7fBQGIt+/unvEwTJnibDluFSJZOyorUxBAWdUVB2dk=; b=MrecCK/hs3vk4HgEot3NAycPOGd8ulg/rlSRggsQbWscvigxSJs51pPoLF1ARcYIgo G/xiff935RxNql5cRnvuA3ZY3tvTAeSrYqbtmilDtMqdBRHiNwUsQMr+0Q1mbs3ZUqfd WiUa3s7ZYHdxDkbBAEMfmS29FkIzSPYujIHotmcYH6/gpKSSfAk4OOuWl1LRXR/Dv7ts yLnUS3TIICH0V2jBMPreZAcOv43J6X6f4/aAGnT4j1ztyrr81yvzkTZUA/mM3ssokFGx iAyDp7X8AnwOswqtfgtpq/oiucE/BdqJDRzgqB71eY4qbiP7wMV6CRGy6lRhMaTutYMF 7PyA== X-Gm-Message-State: AOJu0YyTPZF5zQP962d2Zag8UKF4Pkf39/yPbFksN3kn9IKPoctW9eAE gvlS6RCgeSTepGhsMT679aHRtlHHBZgA3DyIASHw6K9WCUP+yWhq X-Received: by 2002:a05:600c:3594:b0:40e:a569:3555 with SMTP id p20-20020a05600c359400b0040ea5693555mr5023367wmq.35.1707144281088; Mon, 05 Feb 2024 06:44:41 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVhf0PQ529CC9EyIRAGqYlHQYP19Rmsobr0Gy7p23cYllMhaQb9HT3BVMmFANwdDs8aEQKIU68WRhjtAk2wGsIAjDx2s3WF9b0PTIUfbT7nLTtV5Pzt4YhXNcRxu0lRRhkm5V0iy26wqavjRv7xnCZiVMqRuIvHcyjsKzgswhxfvbGBbYNeFdM67DSmv9/VXUHCNEbt8Y5g0hY2NHwGKop7jscPlEse9kmqfb7OOucThN9ygQSXPWKlQNbUEY2ale7F8Vdhb5+/ECLlSYX6Z8oLiG7RRKsMMqAEQm1BDQidsGj9fRdx/zG+ykJcoHfMdmevJspYPK80FykLF/xptNHA1X7o4naS4pIJnAGE5zdfU9SIohbqgn+I4AnTJkelr1GFYQte47iXb25T0P4Dmz+VkfLRajyKO4aAI9/waqoZXEFqJa7VtSDe4G0iWDwHcbvHJuXrQKAj9AnrBOpgGjoalGmbut8Bekj4hf1UYFM= Received: from prasmi.home ([2a00:23c8:2500:a01:8f3c:6ff8:96c9:c9f0]) by smtp.gmail.com with ESMTPSA id u7-20020a05600c19c700b0040fdf2832desm70272wmq.12.2024.02.05.06.44.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 06:44:39 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm Cc: devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Claudiu Beznea , Lad Prabhakar Subject: [PATCH v2 2/3] arm64: dts: renesas: rz-g2l-family: Add missing interrupts from IRQC IP block Date: Mon, 5 Feb 2024 14:44:20 +0000 Message-Id: <20240205144421.51195-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240205144421.51195-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20240205144421.51195-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790070636567919294 X-GMAIL-MSGID: 1790070636567919294 From: Lad Prabhakar The IRQC IP block supports Bus error and ECCRAM interrupts for RZ/G2L and alike SoC's (listed below). Update the IRQC node with the missing interrupts, and additionally, include the 'interrupt-names' property in the IRQC node so that driver can parse the interrupts based on the name. - R9A07G043U - RZ/G2UL - R9A07G044L/R9A07G044LC - RZ/{G2L,G2LC} - R9A07G054 - RZ/V2L Fixes: 5edc51af5b30 ("arm64: dts: renesas: r9a07g044: Add IRQC node") Fixes: 48ab6eddd8bb ("arm64: dts: renesas: r9a07g043u: Add IRQC node") Fixes: 379478ab09e0 ("arm64: dts: renesas: r9a07g054: Add IRQC node") Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r9a07g043u.dtsi | 12 +++++++++-- arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 22 ++++++++++++++++++++- arch/arm64/boot/dts/renesas/r9a07g054.dtsi | 22 ++++++++++++++++++++- 3 files changed, 52 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi b/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi index 01d08ebb4a78..964b0a475eee 100644 --- a/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi @@ -178,7 +178,13 @@ irqc: interrupt-controller@110a0000 { , , , - ; + , + , + , + , + , + , + ; interrupt-names = "nmi", "irq0", "irq1", "irq2", "irq3", "irq4", "irq5", "irq6", "irq7", @@ -190,7 +196,9 @@ irqc: interrupt-controller@110a0000 { "tint20", "tint21", "tint22", "tint23", "tint24", "tint25", "tint26", "tint27", "tint28", "tint29", "tint30", "tint31", - "bus-err"; + "bus-err", "ec7tie1-0", "ec7tie2-0", + "ec7tiovf-0", "ec7tie1-1", "ec7tie2-1", + "ec7tiovf-1"; clocks = <&cpg CPG_MOD R9A07G043_IA55_CLK>, <&cpg CPG_MOD R9A07G043_IA55_PCLK>; clock-names = "clk", "pclk"; diff --git a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi index 66f68fc2b241..081d8f49db87 100644 --- a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi @@ -905,7 +905,27 @@ irqc: interrupt-controller@110a0000 { , , , - ; + , + , + , + , + , + , + , + ; + 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", "ec7tie1-0", "ec7tie2-0", + "ec7tiovf-0", "ec7tie1-1", "ec7tie2-1", + "ec7tiovf-1"; clocks = <&cpg CPG_MOD R9A07G044_IA55_CLK>, <&cpg CPG_MOD R9A07G044_IA55_PCLK>; clock-names = "clk", "pclk"; diff --git a/arch/arm64/boot/dts/renesas/r9a07g054.dtsi b/arch/arm64/boot/dts/renesas/r9a07g054.dtsi index 1f1d481dc783..0d327464d2ba 100644 --- a/arch/arm64/boot/dts/renesas/r9a07g054.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a07g054.dtsi @@ -912,7 +912,27 @@ irqc: interrupt-controller@110a0000 { , , , - ; + , + , + , + , + , + , + , + ; + 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", "ec7tie1-0", "ec7tie2-0", + "ec7tiovf-0", "ec7tie1-1", "ec7tie2-1", + "ec7tiovf-1"; clocks = <&cpg CPG_MOD R9A07G054_IA55_CLK>, <&cpg CPG_MOD R9A07G054_IA55_PCLK>; clock-names = "clk", "pclk";