[PATCH 10/20] ARM: dts: renesas: kzm9g: Use interrupts-extended for sensors
Niklas Söderlund
niklas.soderlund at ragnatech.se
Fri Oct 4 09:23:28 PDT 2024
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 at glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas at 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 at 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 at 12 {
> @@ -208,9 +207,8 @@ ak4648: codec at 12 {
> accelerometer at 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 at 32 {
> --
> 2.34.1
>
>
--
Kind Regards,
Niklas Söderlund
More information about the linux-arm-kernel
mailing list