2023-04-01 09:15:42

by Liu Peibao

[permalink] [raw]
Subject: [PATCH v2] dt-bindings: interrupt-controller: loongarch: Fix mismathed compatible

The "compatible" doesn't match what the kernel is using. Fix it as
kernel using.

Fixes: 6b2748ada244 ("dt-bindings: interrupt-controller: add yaml for LoongArch CPU interrupt controller")
Reported-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Acked-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Liu Peibao <[email protected]>
---
V1 -> V2: Correct the commit ID in commit log.

.../loongarch,cpu-interrupt-controller.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/loongarch,cpu-interrupt-controller.yaml b/Documentation/devicetree/bindings/interrupt-controller/loongarch,cpu-interrupt-controller.yaml
index 2a1cf885c99d..81e4c0feb11e 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/loongarch,cpu-interrupt-controller.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/loongarch,cpu-interrupt-controller.yaml
@@ -11,7 +11,7 @@ maintainers:

properties:
compatible:
- const: loongarch,cpu-interrupt-controller
+ const: loongson,cpu-interrupt-controller

'#interrupt-cells':
const: 1
@@ -28,7 +28,7 @@ required:
examples:
- |
interrupt-controller {
- compatible = "loongarch,cpu-interrupt-controller";
+ compatible = "loongson,cpu-interrupt-controller";
#interrupt-cells = <1>;
interrupt-controller;
};
--
2.20.1


2023-04-05 20:44:15

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2] dt-bindings: interrupt-controller: loongarch: Fix mismathed compatible


On Sat, 01 Apr 2023 17:13:04 +0800, Liu Peibao wrote:
> The "compatible" doesn't match what the kernel is using. Fix it as
> kernel using.
>
> Fixes: 6b2748ada244 ("dt-bindings: interrupt-controller: add yaml for LoongArch CPU interrupt controller")
> Reported-by: Rob Herring <[email protected]>
> Link: https://lore.kernel.org/all/[email protected]/
> Acked-by: Krzysztof Kozlowski <[email protected]>
> Signed-off-by: Liu Peibao <[email protected]>
> ---
> V1 -> V2: Correct the commit ID in commit log.
>
> .../loongarch,cpu-interrupt-controller.yaml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

Applied, thanks!