[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <170015642605.2521005.9993251175536603536.robh@kernel.org>
Date: Thu, 16 Nov 2023 11:40:45 -0600
From: Rob Herring <robh@...nel.org>
To: Binbin Zhou <zhoubinbin@...ngson.cn>
Cc: loongarch@...ts.linux.dev,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Conor Dooley <conor+dt@...nel.org>,
Huacai Chen <chenhuacai@...nel.org>,
loongson-kernel@...ts.loongnix.cn, WANG Xuerui <git@...0n.name>,
linux-kernel@...r.kernel.org,
Jiaxun Yang <jiaxun.yang@...goat.com>,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
Binbin Zhou <zhoubb.aaron@...il.com>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
lvjianmin@...ngson.cn, Huacai Chen <chenhuacai@...ngson.cn>,
linux-mips@...r.kernel.org
Subject: Re: [PATCH v4 2/5] dt-bindings: interrupt-controller:
loongson,liointc: Fix dtbs_check warning for reg-names
On Mon, 13 Nov 2023 10:36:22 +0800, Binbin Zhou wrote:
> As we know, the Loongson-2K0500 is a single-core CPU, and the
> core1-related register (isr1) does not exist. So "reg" and "reg-names"
> should be set to "minItems 2"(main nad isr0).
>
> This fixes dtbs_check warning:
>
> DTC_CHK arch/loongarch/boot/dts/loongson-2k0500-ref.dtb
> arch/loongarch/boot/dts/loongson-2k0500-ref.dtb: interrupt-controller@...11400: reg-names: ['main', 'isr0'] is too short
> From schema: Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
> arch/loongarch/boot/dts/loongson-2k0500-ref.dtb: interrupt-controller@...11400: Unevaluated properties are not allowed ('reg-names' was unexpected)
> From schema: Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
> arch/loongarch/boot/dts/loongson-2k0500-ref.dtb: interrupt-controller@...11400: reg: [[0, 534844416, 0, 64], [0, 534843456, 0, 8]] is too short
> From schema: Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
> arch/loongarch/boot/dts/loongson-2k0500-ref.dtb: interrupt-controller@...11440: reg-names: ['main', 'isr0'] is too short
> From schema: Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml
>
> Acked-by: Jiaxun Yang <jiaxun.yang@...goat.com>
> Signed-off-by: Binbin Zhou <zhoubinbin@...ngson.cn>
> ---
> .../interrupt-controller/loongson,liointc.yaml | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>
Reviewed-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists