diff mbox series

[18/20] arm64: dts: renesas: Use interrupts-extended for WLAN

Message ID 0866811fd11b683cacfd5dc3ea75d4c0ca161acb.1728045620.git.geert+renesas@glider.be (mailing list archive)
State New, archived
Headers show
Series renesas: dts: Use interrupts-extended | expand

Commit Message

Geert Uytterhoeven Oct. 4, 2024, 12:53 p.m. UTC
Use the more concise interrupts-extended property to fully describe the
interrupts.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi | 3 +--
 arch/arm64/boot/dts/renesas/hihope-common.dtsi      | 3 +--
 arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts     | 3 +--
 arch/arm64/boot/dts/renesas/ulcb-kf.dtsi            | 3 +--
 4 files changed, 4 insertions(+), 8 deletions(-)

Comments

Niklas Söderlund Oct. 4, 2024, 5:41 p.m. UTC | #1
On 2024-10-04 14:53:00 +0200, Geert Uytterhoeven wrote:
> Use the more concise interrupts-extended property to fully describe the
> interrupts.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

> ---
>  arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi | 3 +--
>  arch/arm64/boot/dts/renesas/hihope-common.dtsi      | 3 +--
>  arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts     | 3 +--
>  arch/arm64/boot/dts/renesas/ulcb-kf.dtsi            | 3 +--
>  4 files changed, 4 insertions(+), 8 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi
> index 4a9d20249eaa9bc0..b543739390a5d94c 100644
> --- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi
> +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi
> @@ -300,8 +300,7 @@ &sdhi2 {
>  	brcmf: bcrmf@1 {
>  		reg = <1>;
>  		compatible = "brcm,bcm4329-fmac";
> -		interrupt-parent = <&gpio1>;
> -		interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
> +		interrupts-extended = <&gpio1 27 IRQ_TYPE_LEVEL_LOW>;
>  		interrupt-names = "host-wake";
>  	};
>  };
> diff --git a/arch/arm64/boot/dts/renesas/hihope-common.dtsi b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
> index 83104af2813eb4a0..2aa9f528ace16e7b 100644
> --- a/arch/arm64/boot/dts/renesas/hihope-common.dtsi
> +++ b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
> @@ -325,8 +325,7 @@ &sdhi2 {
>  	wlcore: wlcore@2 {
>  		compatible = "ti,wl1837";
>  		reg = <2>;
> -		interrupt-parent = <&gpio2>;
> -		interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
> +		interrupts-extended = <&gpio2 5 IRQ_TYPE_LEVEL_HIGH>;
>  	};
>  };
>  
> diff --git a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
> index 94d85273064e9bc8..c861f75b1f1b70cd 100644
> --- a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
> +++ b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
> @@ -411,8 +411,7 @@ &sdhi3 {
>  	wlcore: wlcore@2 {
>  		compatible = "ti,wl1837";
>  		reg = <2>;
> -		interrupt-parent = <&gpio1>;
> -		interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
> +		interrupts-extended = <&gpio1 0 IRQ_TYPE_LEVEL_HIGH>;
>  	};
>  };
>  
> diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> index f7330b2262b8af0c..5c211ed83049d5a4 100644
> --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> @@ -444,8 +444,7 @@ &sdhi3 {
>  	wlcore: wlcore@2 {
>  		compatible = "ti,wl1837";
>  		reg = <2>;
> -		interrupt-parent = <&gpio1>;
> -		interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
> +		interrupts-extended = <&gpio1 25 IRQ_TYPE_EDGE_FALLING>;
>  	};
>  };
>  
> -- 
> 2.34.1
> 
>
Lad, Prabhakar Oct. 7, 2024, 6:36 p.m. UTC | #2
On Fri, Oct 4, 2024 at 2:27 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
> Use the more concise interrupts-extended property to fully describe the
> interrupts.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi | 3 +--
>  arch/arm64/boot/dts/renesas/hihope-common.dtsi      | 3 +--
>  arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts     | 3 +--
>  arch/arm64/boot/dts/renesas/ulcb-kf.dtsi            | 3 +--
>  4 files changed, 4 insertions(+), 8 deletions(-)
>
Reviewed-by:  Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> # On G2M

Cheers,
Prabhakar

> diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi
> index 4a9d20249eaa9bc0..b543739390a5d94c 100644
> --- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi
> +++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi
> @@ -300,8 +300,7 @@ &sdhi2 {
>         brcmf: bcrmf@1 {
>                 reg = <1>;
>                 compatible = "brcm,bcm4329-fmac";
> -               interrupt-parent = <&gpio1>;
> -               interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
> +               interrupts-extended = <&gpio1 27 IRQ_TYPE_LEVEL_LOW>;
>                 interrupt-names = "host-wake";
>         };
>  };
> diff --git a/arch/arm64/boot/dts/renesas/hihope-common.dtsi b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
> index 83104af2813eb4a0..2aa9f528ace16e7b 100644
> --- a/arch/arm64/boot/dts/renesas/hihope-common.dtsi
> +++ b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
> @@ -325,8 +325,7 @@ &sdhi2 {
>         wlcore: wlcore@2 {
>                 compatible = "ti,wl1837";
>                 reg = <2>;
> -               interrupt-parent = <&gpio2>;
> -               interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
> +               interrupts-extended = <&gpio2 5 IRQ_TYPE_LEVEL_HIGH>;
>         };
>  };
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
> index 94d85273064e9bc8..c861f75b1f1b70cd 100644
> --- a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
> +++ b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
> @@ -411,8 +411,7 @@ &sdhi3 {
>         wlcore: wlcore@2 {
>                 compatible = "ti,wl1837";
>                 reg = <2>;
> -               interrupt-parent = <&gpio1>;
> -               interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
> +               interrupts-extended = <&gpio1 0 IRQ_TYPE_LEVEL_HIGH>;
>         };
>  };
>
> diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> index f7330b2262b8af0c..5c211ed83049d5a4 100644
> --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
> @@ -444,8 +444,7 @@ &sdhi3 {
>         wlcore: wlcore@2 {
>                 compatible = "ti,wl1837";
>                 reg = <2>;
> -               interrupt-parent = <&gpio1>;
> -               interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
> +               interrupts-extended = <&gpio1 25 IRQ_TYPE_EDGE_FALLING>;
>         };
>  };
>
> --
> 2.34.1
>
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi
index 4a9d20249eaa9bc0..b543739390a5d94c 100644
--- a/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi
+++ b/arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi
@@ -300,8 +300,7 @@  &sdhi2 {
 	brcmf: bcrmf@1 {
 		reg = <1>;
 		compatible = "brcm,bcm4329-fmac";
-		interrupt-parent = <&gpio1>;
-		interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
+		interrupts-extended = <&gpio1 27 IRQ_TYPE_LEVEL_LOW>;
 		interrupt-names = "host-wake";
 	};
 };
diff --git a/arch/arm64/boot/dts/renesas/hihope-common.dtsi b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
index 83104af2813eb4a0..2aa9f528ace16e7b 100644
--- a/arch/arm64/boot/dts/renesas/hihope-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
@@ -325,8 +325,7 @@  &sdhi2 {
 	wlcore: wlcore@2 {
 		compatible = "ti,wl1837";
 		reg = <2>;
-		interrupt-parent = <&gpio2>;
-		interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
+		interrupts-extended = <&gpio2 5 IRQ_TYPE_LEVEL_HIGH>;
 	};
 };
 
diff --git a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
index 94d85273064e9bc8..c861f75b1f1b70cd 100644
--- a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
+++ b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
@@ -411,8 +411,7 @@  &sdhi3 {
 	wlcore: wlcore@2 {
 		compatible = "ti,wl1837";
 		reg = <2>;
-		interrupt-parent = <&gpio1>;
-		interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
+		interrupts-extended = <&gpio1 0 IRQ_TYPE_LEVEL_HIGH>;
 	};
 };
 
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index f7330b2262b8af0c..5c211ed83049d5a4 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -444,8 +444,7 @@  &sdhi3 {
 	wlcore: wlcore@2 {
 		compatible = "ti,wl1837";
 		reg = <2>;
-		interrupt-parent = <&gpio1>;
-		interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
+		interrupts-extended = <&gpio1 25 IRQ_TYPE_EDGE_FALLING>;
 	};
 };