[PATCH v4 0/4] irqchip/sg2042-msi: Add the Sophgo SG2044 MSI interrupt controller

From: Inochi Amaoto
Date: Sun Apr 13 2025 - 18:50:14 EST


Like Sophgo SG2042, SG2044 also uses an external interrupt controller
to handle MSI/MSI-X. It supports more interrupt and has a different
msi message address mapping.

Changed from v3:
- https://lore.kernel.org/all/20250408050147.774987-1-inochiama@xxxxxxxxx/
1. reapply Chen'tag for the whole series
2. patch 3: move msi_map from patch 4 into this one

Changed from v2:
- https://lore.kernel.org/all/20250307010649.422359-1-inochiama@xxxxxxxxx/
1. patch 2: separate from patch 2 of v2 for better reviewing
2. patch 3: separate from patch 2 of v2 for better reviewing
3. patch 4: apply Chen'tag

Changed from v1:
- https://lore.kernel.org/all/20250303111648.1337543-1-inochiama@xxxxxxxxx/
1. patch 1: apply Conor's tag
2. patch 1: improve the bindings comments.
3. patch 2: rebased on tips:irq/drivers patch
4. patch 2: remove unused macro "SG2042_MAX_MSI_VECTOR"
5. patch 2: rename generic structure name to match sg204x.
6. patch 2: rename info field name to avoid misunderstanding.


Inochi Amaoto (4):
dt-bindings: interrupt-controller: Add Sophgo SG2044 MSI controller
irqchip/sg2042-msi: rename generic function and structure
irqchip/sg2042-msi: introduce configurable chipinfo for sg2042
irqchip/sg2042-msi: Add the Sophgo SG2044 MSI interrupt controller

.../sophgo,sg2042-msi.yaml | 4 +-
drivers/irqchip/irq-sg2042-msi.c | 149 ++++++++++++++----
2 files changed, 119 insertions(+), 34 deletions(-)

--
2.49.0