Commit e8724504 authored by Liu Peibao's avatar Liu Peibao Committed by Rob Herring

dt-bindings: interrupt-controller: loongarch: Fix mismatched compatible

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

Fixes: 6b2748ad ("dt-bindings: interrupt-controller: add yaml for LoongArch CPU interrupt controller")
Reported-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/all/20221208020954.GA3368836-robh@kernel.org/Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarLiu Peibao <liupeibao@loongson.cn>
Link: https://lore.kernel.org/r/20230401091304.12633-1-liupeibao@loongson.cn
[robh: Rename file to match compatible, fix subject typo]
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 707344c8
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2 %YAML 1.2
--- ---
$id: http://devicetree.org/schemas/interrupt-controller/loongarch,cpu-interrupt-controller.yaml# $id: http://devicetree.org/schemas/interrupt-controller/loongson,cpu-interrupt-controller.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml#
title: LoongArch CPU Interrupt Controller title: LoongArch CPU Interrupt Controller
...@@ -11,7 +11,7 @@ maintainers: ...@@ -11,7 +11,7 @@ maintainers:
properties: properties:
compatible: compatible:
const: loongarch,cpu-interrupt-controller const: loongson,cpu-interrupt-controller
'#interrupt-cells': '#interrupt-cells':
const: 1 const: 1
...@@ -28,7 +28,7 @@ required: ...@@ -28,7 +28,7 @@ required:
examples: examples:
- | - |
interrupt-controller { interrupt-controller {
compatible = "loongarch,cpu-interrupt-controller"; compatible = "loongson,cpu-interrupt-controller";
#interrupt-cells = <1>; #interrupt-cells = <1>;
interrupt-controller; interrupt-controller;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment