Skip to content

Commit 9fe5a07

Browse files
inochisaKAGA-KOKO
authored andcommitted
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 <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Chen Wang <[email protected]> # SG2042 Reviewed-by: Chen Wang <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent 7714870 commit 9fe5a07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/devicetree/bindings/interrupt-controller/sophgo,sg2042-msi.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ allOf:
1818

1919
properties:
2020
compatible:
21-
const: sophgo,sg2042-msi
21+
enum:
22+
- sophgo,sg2042-msi
23+
- sophgo,sg2044-msi
2224

2325
reg:
2426
items:

0 commit comments

Comments
 (0)