diff mbox series

[10/20] ARM: dts: renesas: kzm9g: Use interrupts-extended for sensors

Message ID e04fff0e6d7d9ffebf5e3d3fe7682f0d411b60d9.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:52 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/arm/boot/dts/renesas/sh73a0-kzm9g.dts | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Comments

Niklas Söderlund Oct. 4, 2024, 4:23 p.m. UTC | #1
On 2024-10-04 14:52:52 +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/arm/boot/dts/renesas/sh73a0-kzm9g.dts | 8 +++-----
>  1 file changed, 3 insertions(+), 5 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts b/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
> index ae7e68a44f493e1b..1ce07d0878dc635a 100644
> --- a/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
> +++ b/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
> @@ -195,8 +195,7 @@ &i2c0 {
>  	compass@c {
>  		compatible = "asahi-kasei,ak8975";
>  		reg = <0x0c>;
> -		interrupt-parent = <&irqpin3>;
> -		interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
> +		interrupts-extended = <&irqpin3 4 IRQ_TYPE_EDGE_FALLING>;
>  	};
>  
>  	ak4648: codec@12 {
> @@ -208,9 +207,8 @@ ak4648: codec@12 {
>  	accelerometer@1d {
>  		compatible = "adi,adxl345";
>  		reg = <0x1d>;
> -		interrupt-parent = <&irqpin3>;
> -		interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
> -			     <3 IRQ_TYPE_LEVEL_HIGH>;
> +		interrupts-extended = <&irqpin3 2 IRQ_TYPE_LEVEL_HIGH>,
> +				      <&irqpin3 3 IRQ_TYPE_LEVEL_HIGH>;
>  	};
>  
>  	rtc@32 {
> -- 
> 2.34.1
> 
>
Lad, Prabhakar Oct. 7, 2024, 6:01 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/arm/boot/dts/renesas/sh73a0-kzm9g.dts | 8 +++-----
>  1 file changed, 3 insertions(+), 5 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 ae7e68a44f493e1b..1ce07d0878dc635a 100644
> --- a/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
> +++ b/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
> @@ -195,8 +195,7 @@ &i2c0 {
>         compass@c {
>                 compatible = "asahi-kasei,ak8975";
>                 reg = <0x0c>;
> -               interrupt-parent = <&irqpin3>;
> -               interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
> +               interrupts-extended = <&irqpin3 4 IRQ_TYPE_EDGE_FALLING>;
>         };
>
>         ak4648: codec@12 {
> @@ -208,9 +207,8 @@ ak4648: codec@12 {
>         accelerometer@1d {
>                 compatible = "adi,adxl345";
>                 reg = <0x1d>;
> -               interrupt-parent = <&irqpin3>;
> -               interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
> -                            <3 IRQ_TYPE_LEVEL_HIGH>;
> +               interrupts-extended = <&irqpin3 2 IRQ_TYPE_LEVEL_HIGH>,
> +                                     <&irqpin3 3 IRQ_TYPE_LEVEL_HIGH>;
>         };
>
>         rtc@32 {
> --
> 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 ae7e68a44f493e1b..1ce07d0878dc635a 100644
--- a/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
+++ b/arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts
@@ -195,8 +195,7 @@  &i2c0 {
 	compass@c {
 		compatible = "asahi-kasei,ak8975";
 		reg = <0x0c>;
-		interrupt-parent = <&irqpin3>;
-		interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
+		interrupts-extended = <&irqpin3 4 IRQ_TYPE_EDGE_FALLING>;
 	};
 
 	ak4648: codec@12 {
@@ -208,9 +207,8 @@  ak4648: codec@12 {
 	accelerometer@1d {
 		compatible = "adi,adxl345";
 		reg = <0x1d>;
-		interrupt-parent = <&irqpin3>;
-		interrupts = <2 IRQ_TYPE_LEVEL_HIGH>,
-			     <3 IRQ_TYPE_LEVEL_HIGH>;
+		interrupts-extended = <&irqpin3 2 IRQ_TYPE_LEVEL_HIGH>,
+				      <&irqpin3 3 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
 	rtc@32 {