From nobody Sat Apr 11 12:22:41 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AB7BD3EB80A; Tue, 3 Mar 2026 15:51:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772553062; cv=none; b=aaeOAWdZTa2V8gAMgLrwu8YVF+OkD8Smf8X0qsCxJD5BEIipyteq9XNI3HInGUmyAkerEcgxISvDHwhq2DUXFazAePoqBjLm9FKA7GYXSIBEdIhTPxoYr8tO5nq4s6z8BYpAdZvqTbe62gI9/NsXPeqkfc+vlIzZ/bu1XHUw++k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772553062; c=relaxed/simple; bh=OOfjCSWCBhLL6glOZ14lpz0laPBiOBBCOoLk3MYrsHE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qynR/ts151vAJYPsWMRWmFCk1o0kW7RE6Xjh88Fx1hYPVxJKFtszhlR3ausgJVk9G4y7s40lR7cpVzo3ln2YNimnqff14K1xbUf+kDilTxj41iQYtg0or8b65cPsfCx/YjUNkjjXc/KKGujmlsamNMKGfPee1CZBYeKkIh67rhA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DXZQJ5cH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DXZQJ5cH" Received: by smtp.kernel.org (Postfix) with ESMTPS id 59839C2BC9E; Tue, 3 Mar 2026 15:51:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772553062; bh=OOfjCSWCBhLL6glOZ14lpz0laPBiOBBCOoLk3MYrsHE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=DXZQJ5cH8yskb4VzrXiffPof5jSqzIdgna1z4tKpAmLPDdI57YwML38sVq+AD9EF+ AA8cWSF69ToPBs33qrX6XmeeaGzAcBEuZ0tuNkJY53gaMic+uy4QUAY89bKObjsjB4 kFJt5rKaxuEsyG8ACFBtIG47jfSyju1SirPc1jI4lehMQHegjA+gPvHLHVw6f1Un6g 1SzbYIydSDH5/fMOCkCbspTnyKT39pr4rgHjF6OUK5ZGsakL5IHdvO60t/9B/UJFrF lXexUSaYB+2/+T/yYSOlX9X1cjpJFuX267GLWX2PShse7MNKHgPUZLXgDBYHWpXLSt Dyy2t+Gyv6huA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47DD4EDA690; Tue, 3 Mar 2026 15:51:02 +0000 (UTC) From: =?utf-8?q?J=2E_Neusch=C3=A4fer_via_B4_Relay?= Date: Tue, 03 Mar 2026 16:50:51 +0100 Subject: [PATCH RESEND v2 1/5] powerpc: dts: mpc8313erdb: Use IRQ_TYPE_* macros Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260303-mpc83xx-cleanup-v2-1-187d3a13effa@posteo.net> References: <20260303-mpc83xx-cleanup-v2-0-187d3a13effa@posteo.net> In-Reply-To: <20260303-mpc83xx-cleanup-v2-0-187d3a13effa@posteo.net> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772553061; l=7074; i=j.ne@posteo.net; s=20240329; h=from:subject:message-id; bh=YzhWn94y98dBRxKxgWEVSW5w8DI1UwZxNQXS2Dk695w=; b=lxmKBmmvoVxyb8eJ7fJGcmPqc7GkjPC2Ez/uv7MxhX4Kd3Z0gxmilQ+7WK0uEnXj9Nq+zqE7O cs7ydD+DqwAB1UvQpSFmEwqg8LAlOA2GD5lqCQTtU099kBM4Ztci1Fr X-Developer-Key: i=j.ne@posteo.net; a=ed25519; pk=NIe0bK42wNaX/C4bi6ezm7NJK0IQE+8MKBm7igFMIS4= X-Endpoint-Received: by B4 Relay for j.ne@posteo.net/20240329 with auth_id=156 X-Original-From: =?utf-8?q?J=2E_Neusch=C3=A4fer?= Reply-To: j.ne@posteo.net From: "J. Neusch=C3=A4fer" This increases readability, because "0x8" isn't very descriptive. mpc8313erdb.dtb remains identical after this patch. Signed-off-by: J. Neusch=C3=A4fer --- arch/powerpc/boot/dts/mpc8313erdb.dts | 59 ++++++++++++++++++++-----------= ---- 1 file changed, 34 insertions(+), 25 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts b/arch/powerpc/boot/dts/= mpc8313erdb.dts index 09508b4c8c7309..137217d377e91b 100644 --- a/arch/powerpc/boot/dts/mpc8313erdb.dts +++ b/arch/powerpc/boot/dts/mpc8313erdb.dts @@ -6,6 +6,7 @@ */ =20 /dts-v1/; +#include =20 / { model =3D "MPC8313ERDB"; @@ -48,7 +49,7 @@ localbus@e0005000 { #size-cells =3D <1>; compatible =3D "fsl,mpc8313-elbc", "fsl,elbc", "simple-bus"; reg =3D <0xe0005000 0x1000>; - interrupts =3D <77 0x8>; + interrupts =3D <77 IRQ_TYPE_LEVEL_LOW>; interrupt-parent =3D <&ipic>; =20 // CS0 and CS1 are swapped when @@ -118,7 +119,7 @@ i2c@3000 { cell-index =3D <0>; compatible =3D "fsl-i2c"; reg =3D <0x3000 0x100>; - interrupts =3D <14 0x8>; + interrupts =3D <14 IRQ_TYPE_LEVEL_LOW>; interrupt-parent =3D <&ipic>; dfsrr; rtc@68 { @@ -131,7 +132,7 @@ crypto@30000 { compatible =3D "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0"; reg =3D <0x30000 0x10000>; - interrupts =3D <11 0x8>; + interrupts =3D <11 IRQ_TYPE_LEVEL_LOW>; interrupt-parent =3D <&ipic>; fsl,num-channels =3D <1>; fsl,channel-fifo-len =3D <24>; @@ -146,7 +147,7 @@ i2c@3100 { cell-index =3D <1>; compatible =3D "fsl-i2c"; reg =3D <0x3100 0x100>; - interrupts =3D <15 0x8>; + interrupts =3D <15 IRQ_TYPE_LEVEL_LOW>; interrupt-parent =3D <&ipic>; dfsrr; }; @@ -155,7 +156,7 @@ spi@7000 { cell-index =3D <0>; compatible =3D "fsl,spi"; reg =3D <0x7000 0x1000>; - interrupts =3D <16 0x8>; + interrupts =3D <16 IRQ_TYPE_LEVEL_LOW>; interrupt-parent =3D <&ipic>; mode =3D "cpu"; }; @@ -167,7 +168,7 @@ usb@23000 { #address-cells =3D <1>; #size-cells =3D <0>; interrupt-parent =3D <&ipic>; - interrupts =3D <38 0x8>; + interrupts =3D <38 IRQ_TYPE_LEVEL_LOW>; phy_type =3D "utmi_wide"; sleep =3D <&pmc 0x00300000>; }; @@ -175,7 +176,8 @@ usb@23000 { ptp_clock@24E00 { compatible =3D "fsl,etsec-ptp"; reg =3D <0x24E00 0xB0>; - interrupts =3D <12 0x8 13 0x8>; + interrupts =3D <12 IRQ_TYPE_LEVEL_LOW>, + <13 IRQ_TYPE_LEVEL_LOW>; interrupt-parent =3D < &ipic >; fsl,tclk-period =3D <10>; fsl,tmr-prsc =3D <100>; @@ -197,7 +199,9 @@ enet0: ethernet@24000 { compatible =3D "gianfar"; reg =3D <0x24000 0x1000>; local-mac-address =3D [ 00 00 00 00 00 00 ]; - interrupts =3D <37 0x8 36 0x8 35 0x8>; + interrupts =3D <37 IRQ_TYPE_LEVEL_LOW>, + <36 IRQ_TYPE_LEVEL_LOW>, + <35 IRQ_TYPE_LEVEL_LOW>; interrupt-parent =3D <&ipic>; tbi-handle =3D < &tbi0 >; /* Vitesse 7385 isn't on the MDIO bus */ @@ -211,7 +215,7 @@ mdio@520 { reg =3D <0x520 0x20>; phy4: ethernet-phy@4 { interrupt-parent =3D <&ipic>; - interrupts =3D <20 0x8>; + interrupts =3D <20 IRQ_TYPE_LEVEL_LOW>; reg =3D <0x4>; }; tbi0: tbi-phy@11 { @@ -231,7 +235,9 @@ enet1: ethernet@25000 { reg =3D <0x25000 0x1000>; ranges =3D <0x0 0x25000 0x1000>; local-mac-address =3D [ 00 00 00 00 00 00 ]; - interrupts =3D <34 0x8 33 0x8 32 0x8>; + interrupts =3D <34 IRQ_TYPE_LEVEL_LOW>, + <33 IRQ_TYPE_LEVEL_LOW>, + <32 IRQ_TYPE_LEVEL_LOW>; interrupt-parent =3D <&ipic>; tbi-handle =3D < &tbi1 >; phy-handle =3D < &phy4 >; @@ -259,7 +265,7 @@ serial0: serial@4500 { compatible =3D "fsl,ns16550", "ns16550"; reg =3D <0x4500 0x100>; clock-frequency =3D <0>; - interrupts =3D <9 0x8>; + interrupts =3D <9 IRQ_TYPE_LEVEL_LOW>; interrupt-parent =3D <&ipic>; }; =20 @@ -269,15 +275,12 @@ serial1: serial@4600 { compatible =3D "fsl,ns16550", "ns16550"; reg =3D <0x4600 0x100>; clock-frequency =3D <0>; - interrupts =3D <10 0x8>; + interrupts =3D <10 IRQ_TYPE_LEVEL_LOW>; interrupt-parent =3D <&ipic>; }; =20 /* IPIC - * interrupts cell =3D - * sense values match linux IORESOURCE_IRQ_* defines: - * sense =3D=3D 8: Level, low assertion - * sense =3D=3D 2: Edge, high-to-low change + * interrupts cell =3D */ ipic: pic@700 { interrupt-controller; @@ -290,7 +293,7 @@ ipic: pic@700 { pmc: power@b00 { compatible =3D "fsl,mpc8313-pmc", "fsl,mpc8349-pmc"; reg =3D <0xb00 0x100 0xa00 0x100>; - interrupts =3D <80 8>; + interrupts =3D <80 IRQ_TYPE_LEVEL_LOW>; interrupt-parent =3D <&ipic>; fsl,mpc8313-wakeup-timer =3D <>m1>; =20 @@ -306,14 +309,20 @@ pmc: power@b00 { gtm1: timer@500 { compatible =3D "fsl,mpc8313-gtm", "fsl,gtm"; reg =3D <0x500 0x100>; - interrupts =3D <90 8 78 8 84 8 72 8>; + interrupts =3D <90 IRQ_TYPE_LEVEL_LOW>, + <78 IRQ_TYPE_LEVEL_LOW>, + <84 IRQ_TYPE_LEVEL_LOW>, + <72 IRQ_TYPE_LEVEL_LOW>; interrupt-parent =3D <&ipic>; }; =20 timer@600 { compatible =3D "fsl,mpc8313-gtm", "fsl,gtm"; reg =3D <0x600 0x100>; - interrupts =3D <91 8 79 8 85 8 73 8>; + interrupts =3D <91 IRQ_TYPE_LEVEL_LOW>, + <79 IRQ_TYPE_LEVEL_LOW>, + <85 IRQ_TYPE_LEVEL_LOW>, + <73 IRQ_TYPE_LEVEL_LOW>; interrupt-parent =3D <&ipic>; }; }; @@ -341,7 +350,7 @@ pci0: pci@e0008500 { 0x7800 0x0 0x0 0x3 &ipic 17 0x8 0x7800 0x0 0x0 0x4 &ipic 18 0x8>; interrupt-parent =3D <&ipic>; - interrupts =3D <66 0x8>; + interrupts =3D <66 IRQ_TYPE_LEVEL_LOW>; bus-range =3D <0x0 0x0>; ranges =3D <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 @@ -363,14 +372,14 @@ dma@82a8 { reg =3D <0xe00082a8 4>; ranges =3D <0 0xe0008100 0x1a8>; interrupt-parent =3D <&ipic>; - interrupts =3D <71 8>; + interrupts =3D <71 IRQ_TYPE_LEVEL_LOW>; =20 dma-channel@0 { compatible =3D "fsl,mpc8313-dma-channel", "fsl,elo-dma-channel"; reg =3D <0 0x28>; interrupt-parent =3D <&ipic>; - interrupts =3D <71 8>; + interrupts =3D <71 IRQ_TYPE_LEVEL_LOW>; cell-index =3D <0>; }; =20 @@ -379,7 +388,7 @@ dma-channel@80 { "fsl,elo-dma-channel"; reg =3D <0x80 0x28>; interrupt-parent =3D <&ipic>; - interrupts =3D <71 8>; + interrupts =3D <71 IRQ_TYPE_LEVEL_LOW>; cell-index =3D <1>; }; =20 @@ -388,7 +397,7 @@ dma-channel@100 { "fsl,elo-dma-channel"; reg =3D <0x100 0x28>; interrupt-parent =3D <&ipic>; - interrupts =3D <71 8>; + interrupts =3D <71 IRQ_TYPE_LEVEL_LOW>; cell-index =3D <2>; }; =20 @@ -397,7 +406,7 @@ dma-channel@180 { "fsl,elo-dma-channel"; reg =3D <0x180 0x28>; interrupt-parent =3D <&ipic>; - interrupts =3D <71 8>; + interrupts =3D <71 IRQ_TYPE_LEVEL_LOW>; cell-index =3D <3>; }; }; --=20 2.51.0