From patchwork Tue Feb 13 19:34:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 200583 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp766493dyb; Tue, 13 Feb 2024 11:37:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUywHemXDcoPqztlHLQfWizC6Zl4J1V5CNAd3MNS80vjYkRuo6mVi7CBZUv3HoNrO6vYfEonEz0NuhV/+L8+l13GIvg8w== X-Google-Smtp-Source: AGHT+IEoxDPgSGVg4IzkWEAMkQ4jFv1IQ56LlmxusHJmIhEBGGq5tmt4hSPc0obNQCTHUEDkZEKo X-Received: by 2002:a17:902:aa03:b0:1d9:ec0d:75c5 with SMTP id be3-20020a170902aa0300b001d9ec0d75c5mr549119plb.63.1707853062720; Tue, 13 Feb 2024 11:37:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707853062; cv=pass; d=google.com; s=arc-20160816; b=gG+G4LGsWEDxpgzh05qR4KUWDAEYNvRX7BReyh6YqWaizdcOj5ZpGKO+FXgjq3U0wo 2bbMKfn5zUjQGp7tjYqtLy141FUerNrPCFfe1t9w8d6vJYQ47Y28zCgyFFkUg3U2JTIj aeepPep0r1YMYfyVKIBtYnWxNUpWNrl8y0mxZStvdrG7GEk15qubv3y5744xtN2AmLDh oLIEL9bAfNhkqVTfBkHOTN82bcE0WmGhsKj75IyiMskO9nV124uIuoAvbWzGf0HAcJTE ESDWK1BZaYsBSu6P2j3ZMhhpohdXXCWHMZ55KocMxqSv8rTV7AJf18/7WaD5LXFt2AqE hOCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=xMPdbsPQlSIkmtJ8KB8cic+mkQ4li8jEKe9RRg6QJpg=; fh=9v45SC7WLdILXv+5ZEcT0l6NyucuJ5/hJY1rVUD+bn0=; b=GgZ6B9c6cmth5VVAKx52HmcqedA5O/PHeE/laIz88zJd87Blz6KYLPsK/hRRdlqSZA jk7QQrXfVNGKGve6KLj+DCkSLhS7EEdty+K+vw3a4icmAPjfjDhZgIhU+mV98WXT9QLL AGJGTn2SUEJP1BSBv/0hSDtjbLfidlnbsLjs1gxicK3RbaPiHfNi7fuAjUniMSSZTYqq waYKoQj/rw+uNC+mXRuaM45zL5O7UQ3gmoOBL9S9jyhwKUTZ06cy66sG7Et3VvvFYL3k 0CIvadJyJbhdnpL6sJjMOrV3DRhw9wtwvzS/ShLpYlzY74xPj1Iqp7sV9+c3EUHS4sIH zB3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=t2jStgho; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-64172-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64172-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCXuBHUO4s2kalfjnMQNr1BjTTqWCrrkBSWaAIMHCwOklDNt5Arrg48O4A4RWSMtjFg2VHVKrcNYvYkmBJ7sj47b+pMQ2w== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f1-20020a170902684100b001db29e4bbd5si2207678pln.281.2024.02.13.11.37.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 11:37:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64172-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=t2jStgho; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-64172-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64172-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B23F928834E for ; Tue, 13 Feb 2024 19:36:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C7CD460EDC; Tue, 13 Feb 2024 19:35:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="t2jStgho" 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 5586760DCC; Tue, 13 Feb 2024 19:35:17 +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=1707852917; cv=none; b=E/NWoPZv1JXq00t4Xm7ucRtkq5BNTmwGNU8mVAFijeFHgk96mkK/wrzRLDByb09QV+M4fHDnlwZX3wTadbRVy1RukYXzbZL10KleJZrS0WjrpaeIwk6urV81+KyXOUXsslgIxqW3LlS2pSgFIGbVH96QzBwMVxtIW36xRhOT7DM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707852917; c=relaxed/simple; bh=Zyov/CbL4FCOpyDHaP8OAK4KgT5xKyMy3uzfNW5VFnM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hhn6aa5ToI5SkE5ZpaFJX04F4kSHO6zjR6MGJjnS4W+x4faUFXAyIYGzPI7/Zc4GI45jlQNz0/1dqb/xqR3lOe7a8146RYp4spAuP2sq/1rKNScr6zeXrrep7LJeTqXtUN2MaMDXmPqwGLd06hf5GEHUfFGXyYh24xP5jJAWkQ8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=t2jStgho; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93676C43399; Tue, 13 Feb 2024 19:35:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707852916; bh=Zyov/CbL4FCOpyDHaP8OAK4KgT5xKyMy3uzfNW5VFnM=; h=From:Date:Subject:References:In-Reply-To:List-Id:To:Cc:From; b=t2jStghoxs6mYGeVvO1LOvfGW/B4nvItwnP+9WkSXO4oplwoZGPaPgxWeubzRhoRX DPSUXr0kHv+Gtdq2vU0CLA5hTjjljvr8K9M3PkvkRS6Fq7UM8nRIT3q6dOxk7Zup1d PfFIlSOgWAvxWFWFJHuCVBwA5pe58ZW8UlKK2/xRJPwH7FmFGcpFQeL5imJf7Tlw0G jObYVE/nge5MISyxOk/nxv+0hRZN4LIEdqoHyJHamOuPp7ZFX4Ahu7G0cEjiSK9+hr Un+3ip/8PiH+31jqdgYHO8DgqbKeMJokn+WBxNz/ERhmQw5DOtTykZN8zmNKy95zku I9iF0d9IKShCg== From: Rob Herring Date: Tue, 13 Feb 2024 13:34:27 -0600 Subject: [PATCH 3/6] arm64: dts: Fix dtc interrupt_provider warnings Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240213-arm-dt-cleanups-v1-3-f2dee1292525@kernel.org> References: <20240213-arm-dt-cleanups-v1-0-f2dee1292525@kernel.org> In-Reply-To: <20240213-arm-dt-cleanups-v1-0-f2dee1292525@kernel.org> To: soc@kernel.org, Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Tsahee Zidenberg , Antoine Tenart , Joel Stanley , Andrew Jeffery , Ray Jui , Scott Branden , Broadcom internal kernel review list , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , =?utf-8?q?Jonathan?= =?utf-8?q?_Neusch=C3=A4fer?= , Thierry Reding , Jonathan Hunter , Stefan Agner , Maxime Coquelin , Alexandre Torgue , =?utf-8?q?Beno=C3=AEt_Cous?= =?utf-8?q?son?= , Tony Lindgren , Chanho Min , Matthias Brugger , AngeloGioacchino Del Regno , Geert Uytterhoeven , Magnus Damm , Linus Walleij , Imre Kaloz , Bjorn Andersson , Konrad Dybcio , Masahiro Yamada , Nathan Chancellor , Nicolas Schier Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, linux-tegra@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-omap@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kbuild@vger.kernel.org X-Mailer: b4 0.13-dev X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790813733150352242 X-GMAIL-MSGID: 1790813733150352242 The dtc interrupt_provider warning is off by default. Fix all the warnings so it can be enabled. Signed-off-by: Rob Herring Reviewed-By: AngeloGioacchino Del Regno # Reviewed-by: Geert Uytterhoeven Acked-by: Geert Uytterhoeven Acked-by: Florian Fainelli #Broadcom Acked-by: Chanho Min --- arch/arm64/boot/dts/amazon/alpine-v2.dtsi | 1 - arch/arm64/boot/dts/amazon/alpine-v3.dtsi | 1 - arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi | 1 + arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi | 1 + arch/arm64/boot/dts/lg/lg1312.dtsi | 1 - arch/arm64/boot/dts/lg/lg1313.dtsi | 1 - arch/arm64/boot/dts/marvell/armada-ap80x.dtsi | 1 - arch/arm64/boot/dts/mediatek/mt8195-demo.dts | 1 + arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 4 ++++ 9 files changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/amazon/alpine-v2.dtsi b/arch/arm64/boot/dts/amazon/alpine-v2.dtsi index dccbba6e7f98..dbf2dce8d1d6 100644 --- a/arch/arm64/boot/dts/amazon/alpine-v2.dtsi +++ b/arch/arm64/boot/dts/amazon/alpine-v2.dtsi @@ -145,7 +145,6 @@ pci@fbc00000 { msix: msix@fbe00000 { compatible = "al,alpine-msix"; reg = <0x0 0xfbe00000 0x0 0x100000>; - interrupt-controller; msi-controller; al,msi-base-spi = <160>; al,msi-num-spis = <160>; diff --git a/arch/arm64/boot/dts/amazon/alpine-v3.dtsi b/arch/arm64/boot/dts/amazon/alpine-v3.dtsi index 39481d7fd7d4..3ea178acdddf 100644 --- a/arch/arm64/boot/dts/amazon/alpine-v3.dtsi +++ b/arch/arm64/boot/dts/amazon/alpine-v3.dtsi @@ -355,7 +355,6 @@ pcie@fbd00000 { msix: msix@fbe00000 { compatible = "al,alpine-msix"; reg = <0x0 0xfbe00000 0x0 0x100000>; - interrupt-controller; msi-controller; al,msi-base-spi = <336>; al,msi-num-spis = <959>; diff --git a/arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi b/arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi index 9dcd25ec2c04..896d1f33b5b6 100644 --- a/arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi +++ b/arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi @@ -586,6 +586,7 @@ gpio_g: gpio@660a0000 { #gpio-cells = <2>; gpio-controller; interrupt-controller; + #interrupt-cells = <2>; interrupts = ; }; diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi index f049687d6b96..d8516ec0dae7 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -450,6 +450,7 @@ gpio_hsls: gpio@d0000 { #gpio-cells = <2>; gpio-controller; interrupt-controller; + #interrupt-cells = <2>; interrupts = ; gpio-ranges = <&pinmux 0 0 16>, <&pinmux 16 71 2>, diff --git a/arch/arm64/boot/dts/lg/lg1312.dtsi b/arch/arm64/boot/dts/lg/lg1312.dtsi index 48ec4ebec0a8..b864ffa74ea8 100644 --- a/arch/arm64/boot/dts/lg/lg1312.dtsi +++ b/arch/arm64/boot/dts/lg/lg1312.dtsi @@ -126,7 +126,6 @@ eth0: ethernet@c1b00000 { amba { #address-cells = <2>; #size-cells = <1>; - #interrupt-cells = <3>; compatible = "simple-bus"; interrupt-parent = <&gic>; diff --git a/arch/arm64/boot/dts/lg/lg1313.dtsi b/arch/arm64/boot/dts/lg/lg1313.dtsi index 3869460aa5dc..996fb39bb50c 100644 --- a/arch/arm64/boot/dts/lg/lg1313.dtsi +++ b/arch/arm64/boot/dts/lg/lg1313.dtsi @@ -126,7 +126,6 @@ eth0: ethernet@c3700000 { amba { #address-cells = <2>; #size-cells = <1>; - #interrupt-cells = <3>; compatible = "simple-bus"; interrupt-parent = <&gic>; diff --git a/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi b/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi index 2c920e22cec2..7ec7c789d87e 100644 --- a/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi @@ -138,7 +138,6 @@ pmu { odmi: odmi@300000 { compatible = "marvell,odmi-controller"; - interrupt-controller; msi-controller; marvell,odmi-frames = <4>; reg = <0x300000 0x4000>, diff --git a/arch/arm64/boot/dts/mediatek/mt8195-demo.dts b/arch/arm64/boot/dts/mediatek/mt8195-demo.dts index 69c7f3954ae5..4127cb84eba4 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-demo.dts +++ b/arch/arm64/boot/dts/mediatek/mt8195-demo.dts @@ -128,6 +128,7 @@ mt6360: pmic@34 { compatible = "mediatek,mt6360"; reg = <0x34>; interrupt-controller; + #interrupt-cells = <1>; interrupts-extended = <&pio 101 IRQ_TYPE_EDGE_FALLING>; interrupt-names = "IRQB"; diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi index 3885ef3454ff..50de17e4fb3f 100644 --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi @@ -234,6 +234,7 @@ gpio_exp_74: gpio@74 { gpio-controller; #gpio-cells = <2>; interrupt-controller; + #interrupt-cells = <2>; interrupt-parent = <&gpio6>; interrupts = <8 IRQ_TYPE_EDGE_FALLING>; @@ -294,6 +295,7 @@ gpio_exp_75: gpio@75 { gpio-controller; #gpio-cells = <2>; interrupt-controller; + #interrupt-cells = <2>; interrupt-parent = <&gpio6>; interrupts = <4 IRQ_TYPE_EDGE_FALLING>; }; @@ -314,6 +316,7 @@ gpio_exp_76: gpio@76 { gpio-controller; #gpio-cells = <2>; interrupt-controller; + #interrupt-cells = <2>; interrupt-parent = <&gpio7>; interrupts = <3 IRQ_TYPE_EDGE_FALLING>; }; @@ -324,6 +327,7 @@ gpio_exp_77: gpio@77 { gpio-controller; #gpio-cells = <2>; interrupt-controller; + #interrupt-cells = <2>; interrupt-parent = <&gpio5>; interrupts = <9 IRQ_TYPE_EDGE_FALLING>; };