irqchip/sg2042-msi: Set irq type according to DT configuration
authorChen Wang <unicorn_wang@outlook.com>
Thu, 4 Sep 2025 03:01:19 +0000 (11:01 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 4 Sep 2025 12:52:48 +0000 (14:52 +0200)
commitc2616c5696e85efb2679499d7260f7766b93cff6
tree05995afe508e32f5ceb21d4354539e9a2aac8426
parent8aefd2724451dedea1368d3915ab2dd5ecebc3cb
irqchip/sg2042-msi: Set irq type according to DT configuration

Read the device tree configuration and use it to set the interrupt type.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Inochi Amaoto <inochiama@gmail.com> # Sophgo SRD3-10
Link: https://lore.kernel.org/all/b22d2b0a00a96161253435d17b3c66538f3ba1c2.1756953919.git.unicorn_wang@outlook.com
drivers/irqchip/irq-sg2042-msi.c