]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: interrupt-controller: Add Sophgo SG2044 MSI controller
authorInochi Amaoto <inochiama@gmail.com>
Sun, 13 Apr 2025 22:49:12 +0000 (06:49 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 14 Apr 2025 17:35:36 +0000 (19:35 +0200)
commit9fe5a0790af6af619940a2819aabe8f6fb30700c
treee2a1448bd514188be66561f0abb34d0313c7d6b2
parent771487050f83b030090079133b192de6e3cf5909
dt-bindings: interrupt-controller: Add Sophgo SG2044 MSI controller

Like SG2042, SG2044 also uses an external MSI controller to provide
MSI interrupt for PCIe controllers. The difference between these
two MSI controllers are:

  1. SG2044 acks the interrupt by writing 0, SG2042 by setting the
     bit related to the interrupt.

  2. SG2044 uses interrupt number modulo 32 as MSI message data, but
     SG2042 uses the bit related to the interrupt.

Add support for the SG2044 MSI controller.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Chen Wang <wangchen20@iscas.ac.cn> # SG2042
Reviewed-by: Chen Wang <unicorn_wang@outlook.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/all/20250413224922.69719-2-inochiama@gmail.com
Documentation/devicetree/bindings/interrupt-controller/sophgo,sg2042-msi.yaml