diff mbox series

[09/20] ARM: dts: renesas: kzm9g: Use interrupts-extended for I/O expander

Message ID c77ffcd01d6e9e90cd1e5578c2af98c9ec6030c9.1728045620.git.geert+renesas@glider.be (mailing list archive)
State Mainlined
Commit cfaa94df24e5b33bce0212993e342535892cb479
Delegated to: Geert Uytterhoeven
Headers show
Series renesas: dts: Use interrupts-extended | expand

Commit Message

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

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

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

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

> ---
>  arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts b/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
> index fe96ea07628779c6..ae7e68a44f493e1b 100644
> --- a/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
> +++ b/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
> @@ -308,8 +308,7 @@ &i2c3 {
>  	pcf8575: gpio@20 {
>  		compatible = "nxp,pcf8575";
>  		reg = <0x20>;
> -		interrupt-parent = <&irqpin2>;
> -		interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
> +		interrupts-extended = <&irqpin2 3 IRQ_TYPE_EDGE_FALLING>;
>  		gpio-controller;
>  		#gpio-cells = <2>;
>  		interrupt-controller;
> -- 
> 2.34.1
> 
>
Lad, Prabhakar Oct. 7, 2024, 6 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
> interrupt.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
Reviewed-by:  Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Cheers,
Prabhakar

> diff --git a/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts b/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
> index fe96ea07628779c6..ae7e68a44f493e1b 100644
> --- a/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
> +++ b/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
> @@ -308,8 +308,7 @@ &i2c3 {
>         pcf8575: gpio@20 {
>                 compatible = "nxp,pcf8575";
>                 reg = <0x20>;
> -               interrupt-parent = <&irqpin2>;
> -               interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
> +               interrupts-extended = <&irqpin2 3 IRQ_TYPE_EDGE_FALLING>;
>                 gpio-controller;
>                 #gpio-cells = <2>;
>                 interrupt-controller;
> --
> 2.34.1
>
>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts b/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
index fe96ea07628779c6..ae7e68a44f493e1b 100644
--- a/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
+++ b/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
@@ -308,8 +308,7 @@  &i2c3 {
 	pcf8575: gpio@20 {
 		compatible = "nxp,pcf8575";
 		reg = <0x20>;
-		interrupt-parent = <&irqpin2>;
-		interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
+		interrupts-extended = <&irqpin2 3 IRQ_TYPE_EDGE_FALLING>;
 		gpio-controller;
 		#gpio-cells = <2>;
 		interrupt-controller;