From: Conor Dooley <conor.dooley@microchip.com>
To: Binbin Zhou <zhoubinbin@loongson.cn>
Cc: Binbin Zhou <zhoubb.aaron@gmail.com>,
Huacai Chen <chenhuacai@loongson.cn>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>, <devicetree@vger.kernel.org>,
Huacai Chen <chenhuacai@kernel.org>,
<loongson-kernel@lists.loongnix.cn>,
Xuerui Wang <kernel@xen0n.name>, <loongarch@lists.linux.dev>,
Jiaxun Yang <jiaxun.yang@flygoat.com>,
Hongliang Wang <wanghongliang@loongson.cn>
Subject: Re: [PATCH 2/6] dt-bindings: loongarch: Add Loongson SoC boards compatibles
Date: Fri, 16 Jun 2023 10:36:40 +0100 [thread overview]
Message-ID: <20230616-endocrine-container-d2625622a56e@wendy> (raw)
In-Reply-To: <3b2ba830d81f85130e89316dc0c4d478482cd79d.1686882123.git.zhoubinbin@loongson.cn>
[-- Attachment #1: Type: text/plain, Size: 1777 bytes --]
On Fri, Jun 16, 2023 at 02:10:39PM +0800, Binbin Zhou wrote:
> Add Loongson SoC boards binding with DT schema format using json-schema
>
> Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
> ---
> .../devicetree/bindings/loongarch/boards.yaml | 31 +++++++++++++++++++
> 1 file changed, 31 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/loongarch/boards.yaml
>
> diff --git a/Documentation/devicetree/bindings/loongarch/boards.yaml b/Documentation/devicetree/bindings/loongarch/boards.yaml
> new file mode 100644
> index 000000000000..3ef87b732668
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/loongarch/boards.yaml
> @@ -0,0 +1,31 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/loongarch/boards.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Loongson SoC-based boards
> +
> +maintainers:
> + - Binbin Zhou <zhoubinbin@loongson.cn>
> +
> +properties:
> + $nodename:
> + const: '/'
> + compatible:
> + oneOf:
> + - description: Loongson-2K0500 processor based boards
> + items:
> + - const: loongson,ls2k0500
> +
> + - description: Loongson-2K1000 processor based boards
> + items:
> + - const: loongson,ls2k1000
> +
> + - description: Loongson-2K2000 processor based boards
> + items:
> + - const: loongson,ls2k2000
From what I do know of loongarch stuff, these are all compatibles
for SoCs, not boards. The usual model would be to do something like
items:
- const: loongsoon,ls2k1000-dev-kit
- const: loongsoon,ls2k1000
Where you have a compatible for the SoC and one for the board.
Cheers,
Conor.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2023-06-16 9:37 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-16 6:10 [PATCH 0/6] LoongArch: Add built-in dtb support Binbin Zhou
2023-06-16 6:10 ` [PATCH 1/6] dt-bindings: loongarch: Add CPU bindings for LoongArch Binbin Zhou
2023-06-16 9:34 ` Conor Dooley
2023-06-16 9:47 ` Krzysztof Kozlowski
2023-06-17 6:29 ` Binbin Zhou
2023-06-17 9:44 ` Conor Dooley
2023-06-16 9:51 ` Krzysztof Kozlowski
2023-06-17 6:31 ` Binbin Zhou
2023-06-17 7:15 ` Krzysztof Kozlowski
2023-06-16 6:10 ` [PATCH 2/6] dt-bindings: loongarch: Add Loongson SoC boards compatibles Binbin Zhou
2023-06-16 9:36 ` Conor Dooley [this message]
2023-06-16 6:10 ` [PATCH 3/6] LoongArch: Allow device trees to be built into the kernel Binbin Zhou
2023-06-16 6:10 ` [PATCH 4/6] LoongArch: DeviceTree for Loongson-2K0500 Binbin Zhou
2023-06-16 9:58 ` Krzysztof Kozlowski
2023-06-16 10:04 ` Krzysztof Kozlowski
2023-06-16 6:11 ` [PATCH 5/6] LoongArch: DeviceTree for Loongson-2K1000 Binbin Zhou
2023-06-16 9:48 ` Conor Dooley
2023-06-17 6:53 ` Binbin Zhou
2023-06-17 7:23 ` Krzysztof Kozlowski
2023-06-16 9:59 ` Krzysztof Kozlowski
2023-06-17 6:59 ` Binbin Zhou
2023-06-17 7:12 ` Krzysztof Kozlowski
2023-06-16 6:11 ` [PATCH 6/6] LoongArch: DeviceTree for Loongson-2K2000 Binbin Zhou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230616-endocrine-container-d2625622a56e@wendy \
--to=conor.dooley@microchip.com \
--cc=chenhuacai@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jiaxun.yang@flygoat.com \
--cc=kernel@xen0n.name \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=loongarch@lists.linux.dev \
--cc=loongson-kernel@lists.loongnix.cn \
--cc=robh+dt@kernel.org \
--cc=wanghongliang@loongson.cn \
--cc=zhoubb.aaron@gmail.com \
--cc=zhoubinbin@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).