]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: aspeed: sanmiguel: Add IOEXP interrupt pin settings
authorPotin Lai <potin.lai.pt@gmail.com>
Sat, 23 May 2026 02:28:07 +0000 (10:28 +0800)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Wed, 27 May 2026 03:12:12 +0000 (12:42 +0930)
Kernel dmesg reports IRQ #44 being disabled due to unhandled
interrupts from multiple PCA953x IO expanders:

    [ 447.047861] irq 44: nobody cared (try booting with the "irqpoll" option)
    [ 447.063124] handlers:
    [ 447.068176] [<2ab869ad>] irq_default_primary_handler threaded [<b8adc310>] pca953x_irq_handler
    [ 447.087268] [<2ab869ad>] irq_default_primary_handler threaded [<b8adc310>] pca953x_irq_handler
    [ 447.106344] [<2ab869ad>] irq_default_primary_handler threaded [<b8adc310>] pca953x_irq_handler
    [ 447.125421] [<2ab869ad>] irq_default_primary_handler threaded [<b8adc310>] pca953x_irq_handler
    [ 447.144513] [<2ab869ad>] irq_default_primary_handler threaded [<b8adc310>] pca953x_irq_handler
    [ 447.163587] [<2ab869ad>] irq_default_primary_handler threaded [<b8adc310>] pca953x_irq_handler
    [ 447.182663] [<2ab869ad>] irq_default_primary_handler threaded [<b8adc310>] pca953x_irq_handler
    [ 447.201756] [<2ab869ad>] irq_default_primary_handler threaded [<b8adc310>] pca953x_irq_handler
    [ 447.220837] Disabling IRQ #44

The affected IOEXP nodes are missing interrupt pin configuration in
the device tree, causing the interrupt line to remain asserted and
resulting in repeated unhandled IRQ events.

Add the required interrupt-related properties for the affected IOEXP
devices to ensure proper interrupt handling and prevent the IRQ from
being disabled.

[arj: Drop markdown code-block fence, favour indentation]

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Link: https://patch.msgid.link/20260523-potin-update-sanmiguel-dts-20260522-v1-1-169f5fceb5f9@quantatw.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-sanmiguel.dts

index 74c8c17721098a5dc85a50068ae1d0ef1b5689ef..61dbef45f8b067846a48742aeab7d0b1bfca9615 100644 (file)
                reg = <0x20>;
                gpio-controller;
                #gpio-cells = <2>;
+               interrupt-parent = <&gpio1>;
+               interrupts = <ASPEED_GPIO(B, 6) IRQ_TYPE_LEVEL_LOW>;
 
                gpio-line-names =
                        "", "", "HMC_EROT_FATAL_ERROR_L-I", "",
                reg = <0x38>;
                gpio-controller;
                #gpio-cells = <2>;
+               interrupt-parent = <&gpio1>;
+               interrupts = <ASPEED_GPIO(B, 6) IRQ_TYPE_LEVEL_LOW>;
 
                gpio-line-names =
                        "SSD0_PRSNT_L-I", "E1S_PWR_EN-O",