linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] irqchip/sg2042-msi: Set irq type according to DT configuration
@ 2025-08-25  6:54 Chen Wang
  2025-08-25  6:55 ` [PATCH 1/4] irqchip/sg2042-msi: Improve the logic of obtaining msi-ranges parameters Chen Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Chen Wang @ 2025-08-25  6:54 UTC (permalink / raw)
  To: u.kleine-koenig, aou, unicorn_wang, conor+dt, inochiama, krzk+dt,
	looong.bin, palmer, paul.walmsley, robh, tglx, sycamoremoon376,
	devicetree, linux-kernel, linux-riscv, sophgo

From: Chen Wang <unicorn_wang@outlook.com>

The original MSI interrupt type was hard-coded, which was not a good idea.
Now it is changed to read the device tree configuration and then set the
interrupt type.

Also improve the code to obtain msi-ranges parameters in this patchset.

This patchset is based on irq/drivers branch of tip.

Chen Wang (4):
  irqchip/sg2042-msi: Improve the logic of obtaining msi-ranges
    parameters
  irqchip/sg2042-msi: Set irq type according to DT configuration
  riscv: sophgo: dts: sg2042: change msi irq type to
    IRQ_TYPE_EDGE_RISING
  riscv: sophgo: dts: sg2044: change msi irq type to
    IRQ_TYPE_EDGE_RISING

 arch/riscv/boot/dts/sophgo/sg2042.dtsi |  2 +-
 arch/riscv/boot/dts/sophgo/sg2044.dtsi |  2 +-
 drivers/irqchip/irq-sg2042-msi.c       | 21 ++++++++-------------
 3 files changed, 10 insertions(+), 15 deletions(-)


base-commit: 8ff1c16c753e293c3ba20583cb64f81ea7b9a451
-- 
2.34.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-08-25  8:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-25  6:54 [PATCH 0/4] irqchip/sg2042-msi: Set irq type according to DT configuration Chen Wang
2025-08-25  6:55 ` [PATCH 1/4] irqchip/sg2042-msi: Improve the logic of obtaining msi-ranges parameters Chen Wang
2025-08-25  7:33   ` Inochi Amaoto
2025-08-25  8:22     ` Chen Wang
2025-08-25  6:55 ` [PATCH 2/4] irqchip/sg2042-msi: Set irq type according to DT configuration Chen Wang
2025-08-25  6:56 ` [PATCH 3/4] riscv: sophgo: dts: sg2042: change msi irq type to IRQ_TYPE_EDGE_RISING Chen Wang
2025-08-25  6:56 ` [PATCH 4/4] riscv: sophgo: dts: sg2044: " Chen Wang
2025-08-25  7:00   ` Chen Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).