From: Krzysztof Kozlowski <krzk@kernel.org>
To: Zhao Qunqin <zhaoqunqin@loongson.cn>,
chenhuacai@kernel.org, kernel@xen0n.name, bp@alien8.de,
tony.luck@intel.com, james.morse@arm.com, mchehab@kernel.org,
rric@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org
Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-edac@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v1 2/2] dt-bindings: EDAC for loongson memory controller
Date: Wed, 21 Aug 2024 10:20:29 +0200 [thread overview]
Message-ID: <de5ffcd8-0f2a-4cca-a7a0-0c4fc0158392@kernel.org> (raw)
In-Reply-To: <20240821064728.8642-3-zhaoqunqin@loongson.cn>
On 21/08/2024 08:47, Zhao Qunqin wrote:
> From: zhaoqunqin <zhaoqunqin@loongson.cn>
>
> Add: drivers/edac/loongson_edac.c
>
> Signed-off-by: zhaoqunqin <zhaoqunqin@loongson.cn>
Please use full name, not login.
> ---
> .../bindings/edac/loongson,ls-mc-edac.yaml | 35 +++++++++++++++++++
Bindings are before users.
> MAINTAINERS | 7 ++++
> 2 files changed, 42 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/edac/loongson,ls-mc-edac.yaml
>
> diff --git a/Documentation/devicetree/bindings/edac/loongson,ls-mc-edac.yaml b/Documentation/devicetree/bindings/edac/loongson,ls-mc-edac.yaml
> new file mode 100644
> index 000000000..29e5b8381
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/edac/loongson,ls-mc-edac.yaml
> @@ -0,0 +1,35 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/edac/loongson,ls-mc-edac.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Loongson Memory Controller EDAC
> +
> +maintainers:
> + - Zhao Qunqin <zhaoqunqin@loongson.cn>
> +
> +description: |
> + EDAC node is defined to describe on-chip error detection and correction for
> + Loongson Memory Controller.
> +
> +properties:
> +
> + compatible:
> + const: loongson,ls-mc-edac
Missing soc part. And then adjust filename to match proper (new) compatible.
> +
> + reg:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + edac: mc0@1fe00600 {
memory-controller@
and drop unused label.
> + compatible = "loongson,ls-mc-edac";
> + reg = <0x0 0x1fe00600 0x0 0x50>;
> + };
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-08-21 8:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-21 6:47 [PATCH v1 0/2] Add EDAC driver for loongson memory controller Zhao Qunqin
2024-08-21 6:47 ` [PATCH v1 1/2] Loongarch: " Zhao Qunqin
2024-08-21 6:51 ` Xi Ruoyao
2024-08-21 8:24 ` Krzysztof Kozlowski
2024-08-22 0:07 ` kernel test robot
2024-08-22 3:14 ` kernel test robot
2024-08-23 2:42 ` kernel test robot
2024-08-21 6:47 ` [PATCH v1 2/2] dt-bindings: EDAC " Zhao Qunqin
2024-08-21 8:18 ` Rob Herring (Arm)
2024-08-21 8:20 ` Krzysztof Kozlowski [this message]
2024-08-21 14:59 ` Conor Dooley
2024-08-28 2:24 ` Zhao Qunqin
2024-08-21 7:01 ` [PATCH v1 0/2] Add EDAC driver " Xi Ruoyao
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=de5ffcd8-0f2a-4cca-a7a0-0c4fc0158392@kernel.org \
--to=krzk@kernel.org \
--cc=bp@alien8.de \
--cc=chenhuacai@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=james.morse@arm.com \
--cc=kernel@xen0n.name \
--cc=krzk+dt@kernel.org \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
--cc=rric@kernel.org \
--cc=tony.luck@intel.com \
--cc=zhaoqunqin@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