From patchwork Fri Oct 4 12:52:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13822404 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E2969CFA775 for ; Fri, 4 Oct 2024 13:50:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xqK5VljxiUN2uWz1/0rfR+s8dbPkiVwYQ4MIsgNxycs=; b=0HYg7Gh879oT9zKQlrJWQ1G1yX W4Y7AZFRQJfomptQz80Pa9XlrvR1qVH/yAAKea/xnH2ENimI5uoIP7Tu4DcLV0QYjwwVUeg8H0jS8 7b6LR55UMgxJyJ2Y3Ju6GtqSZ78bdHhWMCV8gH+lrNlXtVR40FhyGkDWut2JumI982q/jYvdF/Ycf DYZoHaDKdoJ4hHn/SMz84Lc1q1L90yvOBk/JYl5vasjFiVHRkgDGdJfnw9dCEIoscIh7pBND4MkNF hlXCW7WpeyfIMXAJO7o60kYEmI+narqGYHBvWzhXl+3z5UOVjUQqzSDO8hI2jU5n4Y07IRBwaBZTa ovjQTjjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swihD-0000000CcCZ-2wcb; Fri, 04 Oct 2024 13:50:15 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swiGf-0000000CV2W-00o4 for linux-arm-kernel@bombadil.infradead.org; Fri, 04 Oct 2024 13:22:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=xqK5VljxiUN2uWz1/0rfR+s8dbPkiVwYQ4MIsgNxycs=; b=ZSXsyHAOwhbG1EjE5Pg2WhyAVx HC5ltiNXHMamkmfCoIE85iCGdBwJKepH9v1lp6334vxJcN4VZgFiN2p5mcF5knF2SqUBroHDuw/l5 v5vyrDQe+pBPPMgC0z+O2NKv4+kyduY3G4rfEaJaWPOLqOWI8XxSLwqg0HdQvs4e9VeU75ZxiHB/X 3U4aSRp6XliG31akl/4AAiKsUOiX2QGbpHslpZrIfX/0hX9EoU1baIr13CWkJ81n3nmk5xQcO1SWS g8tlAQTB3ViHnZrY34PLqdHVbEOtqtBmdwpzbAsu3mwGbZUu3u2dSuFpPcmQGYyZQBd3bqWGbN1CF pbtOWiiw==; Received: from gauss.telenet-ops.be ([195.130.132.49]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swiGZ-00000003q2N-0wp0 for linux-arm-kernel@lists.infradead.org; Fri, 04 Oct 2024 13:22:47 +0000 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by gauss.telenet-ops.be (Postfix) with ESMTPS id 4XKq3M25Ysz4x8Y6 for ; Fri, 04 Oct 2024 15:22:39 +0200 (CEST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:5518:aeb:d9c0:fc7c]) by michel.telenet-ops.be with cmsmtp id LDNc2D00A4NXpdT06DNce2; Fri, 04 Oct 2024 15:22:37 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1swiGJ-001ElS-Vc; Fri, 04 Oct 2024 15:22:36 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1swhnu-006yUk-Lv; Fri, 04 Oct 2024 14:53:06 +0200 From: Geert Uytterhoeven To: Magnus Damm , Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 14/20] arm64: dts: renesas: Use interrupts-extended for I/O expanders Date: Fri, 4 Oct 2024 14:52:56 +0200 Message-Id: <8409a184db92b8d03d95beffde2cc9a9752366a9.1728045620.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241004_142243_521838_C33726F7 X-CRM114-Status: GOOD ( 11.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Use the more concise interrupts-extended property to fully describe the interrupts. Signed-off-by: Geert Uytterhoeven Reviewed-by: Niklas Söderlund Reviewed-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi | 3 +-- arch/arm64/boot/dts/renesas/ebisu.dtsi | 3 +-- .../boot/dts/renesas/r8a779h0-gray-hawk-single.dts | 3 +-- arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 12 ++++-------- .../boot/dts/renesas/white-hawk-cpu-common.dtsi | 3 +-- 5 files changed, 8 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi index 5a15a956702a6be8..4a9d20249eaa9bc0 100644 --- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi @@ -130,8 +130,7 @@ pca9654: gpio@20 { pca9654_lte: gpio@21 { compatible = "onnn,pca9654"; reg = <0x21>; - interrupt-parent = <&gpio5>; - interrupts = <25 IRQ_TYPE_EDGE_FALLING>; + interrupts-extended = <&gpio5 25 IRQ_TYPE_EDGE_FALLING>; interrupt-controller; #interrupt-cells = <2>; gpio-controller; diff --git a/arch/arm64/boot/dts/renesas/ebisu.dtsi b/arch/arm64/boot/dts/renesas/ebisu.dtsi index 4d16b8f0eae5474b..54ebffcd82d4337b 100644 --- a/arch/arm64/boot/dts/renesas/ebisu.dtsi +++ b/arch/arm64/boot/dts/renesas/ebisu.dtsi @@ -392,8 +392,7 @@ io_expander: gpio@20 { reg = <0x20>; gpio-controller; #gpio-cells = <2>; - interrupt-parent = <&gpio2>; - interrupts = <22 IRQ_TYPE_LEVEL_LOW>; + interrupts-extended = <&gpio2 22 IRQ_TYPE_LEVEL_LOW>; }; hdmi-encoder@39 { diff --git a/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts b/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts index b1d035ca4d97a51a..58eabcc7e0e07f49 100644 --- a/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts +++ b/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts @@ -248,8 +248,7 @@ &i2c0 { io_expander_a: gpio@20 { compatible = "onnn,pca9654"; reg = <0x20>; - interrupt-parent = <&gpio0>; - interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + interrupts-extended = <&gpio0 0 IRQ_TYPE_LEVEL_LOW>; gpio-controller; #gpio-cells = <2>; interrupt-controller; diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi index 5a5dd5ecb75e0e7c..f7330b2262b8af0c 100644 --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi @@ -235,8 +235,7 @@ gpio_exp_74: gpio@74 { #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; - interrupt-parent = <&gpio6>; - interrupts = <8 IRQ_TYPE_EDGE_FALLING>; + interrupts-extended = <&gpio6 8 IRQ_TYPE_EDGE_FALLING>; audio-out-off-hog { gpio-hog; @@ -296,8 +295,7 @@ gpio_exp_75: gpio@75 { #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; - interrupt-parent = <&gpio6>; - interrupts = <4 IRQ_TYPE_EDGE_FALLING>; + interrupts-extended = <&gpio6 4 IRQ_TYPE_EDGE_FALLING>; }; }; @@ -317,8 +315,7 @@ gpio_exp_76: gpio@76 { #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; - interrupt-parent = <&gpio7>; - interrupts = <3 IRQ_TYPE_EDGE_FALLING>; + interrupts-extended = <&gpio7 3 IRQ_TYPE_EDGE_FALLING>; }; gpio_exp_77: gpio@77 { @@ -328,8 +325,7 @@ gpio_exp_77: gpio@77 { #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; - interrupt-parent = <&gpio5>; - interrupts = <9 IRQ_TYPE_EDGE_FALLING>; + interrupts-extended = <&gpio5 9 IRQ_TYPE_EDGE_FALLING>; }; }; diff --git a/arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi b/arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi index 209cba75adec6d6c..337ba68342c475b5 100644 --- a/arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi +++ b/arch/arm64/boot/dts/renesas/white-hawk-cpu-common.dtsi @@ -215,8 +215,7 @@ &i2c0 { io_expander_a: gpio@20 { compatible = "onnn,pca9654"; reg = <0x20>; - interrupt-parent = <&gpio0>; - interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + interrupts-extended = <&gpio0 0 IRQ_TYPE_LEVEL_LOW>; gpio-controller; #gpio-cells = <2>; interrupt-controller;