Add device tree bindings for the Lightning Mountain (LGM) MSI interrupt
controller.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
---
.../interrupt-controller/intel,soc-msi.yaml | 45 ++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/Documentation/devicetree/bindings/interrupt-controller/intel,soc-msi.yaml b/Documentation/devicetree/bindings/interrupt-controller/intel,soc-msi.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..5ab295c7dd000059817ae411abe3d57713a83ee8
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/intel,soc-msi.yaml
@@ -0,0 +1,45 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+# Copyright 2025 TDT AG.
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/interrupt-controller/intel,soc-msi.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Intel LGM Interrupt Controller
+
+maintainers:
+ - Florian Eckert <fe@dev.tdt.de>
+
+description: |
+ This interrupt controller is found in the Intel LGM.
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - intel,soc-msi.yaml
+
+ reg:
+ maxItems: 1
+
+ interrupt-controller: true
+
+ '#interrupt-cells':
+ const: 2
+
+required:
+ - compatible
+ - reg
+ - interrupt-controller
+ - '#interrupt-cells'
+
+additionalProperties: false
+
+examples:
+ - |
+ soc_msi: soc_msi@e00e0000 {
+ compatible = "intel,soc-msi";
+ reg = <0xe00e0000 0x800>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ };
--
2.47.3
On 18/03/2026 14:10, Florian Eckert wrote: > Add device tree bindings for the Lightning Mountain (LGM) MSI interrupt > controller. Beside Rob's review: Please use subject prefixes matching the subsystem. You can get them for example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory your patch is touching. For bindings, the preferred subjects are explained here: https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters A nit, subject: drop second/last, redundant "bindings". The "dt-bindings" prefix is already stating that these are bindings. See also: https://elixir.bootlin.com/linux/v6.17-rc3/source/Documentation/devicetree/bindings/submitting-patches.rst#L18 Best regards, Krzysztof
On Wed, Mar 18, 2026 at 02:10:40PM +0100, Florian Eckert wrote:
> Add device tree bindings for the Lightning Mountain (LGM) MSI interrupt
> controller.
>
> Signed-off-by: Florian Eckert <fe@dev.tdt.de>
> ---
> .../interrupt-controller/intel,soc-msi.yaml | 45 ++++++++++++++++++++++
> 1 file changed, 45 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/intel,soc-msi.yaml b/Documentation/devicetree/bindings/interrupt-controller/intel,soc-msi.yaml
> new file mode 100644
> index 0000000000000000000000000000000000000000..5ab295c7dd000059817ae411abe3d57713a83ee8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/interrupt-controller/intel,soc-msi.yaml
> @@ -0,0 +1,45 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +# Copyright 2025 TDT AG.
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/interrupt-controller/intel,soc-msi.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Intel LGM Interrupt Controller
> +
> +maintainers:
> + - Florian Eckert <fe@dev.tdt.de>
> +
> +description: |
Don't need '|' if no formatting.
> + This interrupt controller is found in the Intel LGM.
> +
> +properties:
> + compatible:
> + items:
> + - enum:
> + - intel,soc-msi.yaml
Besides the obvious problem here, compatibles should be SoC specific.
> +
> + reg:
> + maxItems: 1
> +
> + interrupt-controller: true
> +
> + '#interrupt-cells':
> + const: 2
This is an interrupt controller that generates MSIs from interrupts, or
an MSI controller that receives MSIs and generates an interrupt. I can't
tell. The description sounds like the latter. The schema looks like the
former.
> +
> +required:
> + - compatible
> + - reg
> + - interrupt-controller
> + - '#interrupt-cells'
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + soc_msi: soc_msi@e00e0000 {
msi-controller@... or interrupt-controller@...
depending on the above answer.
> + compatible = "intel,soc-msi";
> + reg = <0xe00e0000 0x800>;
> + interrupt-controller;
> + #interrupt-cells = <1>;
> + };
>
> --
> 2.47.3
>
On Wed, 18 Mar 2026 14:10:40 +0100, Florian Eckert wrote: > Add device tree bindings for the Lightning Mountain (LGM) MSI interrupt > controller. > > Signed-off-by: Florian Eckert <fe@dev.tdt.de> > --- > .../interrupt-controller/intel,soc-msi.yaml | 45 ++++++++++++++++++++++ > 1 file changed, 45 insertions(+) > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: Documentation/devicetree/bindings/interrupt-controller/intel,soc-msi.example.dtb: /example-0/soc_msi@e00e0000: failed to match any schema with compatible: ['intel,soc-msi'] doc reference errors (make refcheckdocs): See https://patchwork.kernel.org/project/devicetree/patch/20260318-irq-intel-soc-msi-v1-1-0e8cdf844fa8@dev.tdt.de The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
© 2016 - 2026 Red Hat, Inc.