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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 4, 2024 at 2:27 PM Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> wrote:
>
> Use the more concise interrupts-extended property to fully describe the
> interrupts.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---
>  arch/arm/boot/dts/renesas/sh73a0-kzm9g.dts | 8 +++-----
>  1 file changed, 3 insertions(+), 5 deletions(-)
>
Reviewed-by:  Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>

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
>
>





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux