Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp580152pxr; Mon, 11 Apr 2022 01:29:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyywVy8e4VOclXvMcMKsBLd+l6I7pQgTOPCkYbTiyXaC/bYPs6ng9ur/h2pYu8wPZZkpTQi X-Received: by 2002:a05:6a00:248d:b0:4fd:e026:f4c8 with SMTP id c13-20020a056a00248d00b004fde026f4c8mr31922622pfv.21.1649665788119; Mon, 11 Apr 2022 01:29:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649665788; cv=none; d=google.com; s=arc-20160816; b=lnPqHGb9sJIO2CraNRvD9Rh1rGj7rwhJspIcPBKAXY3Z+pPGpVLj+62mepBa5vm1E3 kbaC4Gc8mtN8oImbwCqWf+kc1OcgN9EjkKnBtLj4gIZrgTrhTeQQlbk15gKwTB1Ss1Mx UTyMOj/raNrRVebOr5TQCLfo4p4QZz2cQhhjeTIE7yxOZMT1Hp4pdYFSM0Jq/dKkng9I gK+7pTHrtOf9jU8RRFnrioq/IiwAGomDKlRixuh+Fo3meYxomyp0U55bOLtvv97AAR9q DuNGV056vU4hhL4agabQzEsy7kOiK22cpuJu8MKPcHEnfVZRGjQ8PYop/VTYsegW8F0K gHbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=KfzgklwfF0ZV1xbTa/tu7cS6+33wTQoaWF402sr5aFY=; b=RFLtwMNu3PDs9XL8CwTvVS+7CkLTBQTusq7EMD2A/aF75FJGIkKTT66PsKg//EKb3U dsebC0tZzDzJFrbLDf50X6AEmFGIcB056bhnEwMjIn1/zWNmgtLKOgEHXFE1Cw8x0L48 bzJ+b27bZO+98IjOX9lagJ7tDs53+UYiOgNmPJ/+EquruZk/PjGtjIzR6G7Wk9jdJvvv O7p8iR1mRIkNgov3NmT11TQWG3VxqWIMNGSzqMv6spdFrXrOvEyZqRsAEuiMROkkLriM D5+6N/3tfiAEc0FsCF1tu1pIY7UOEDvQLQHu5bfQcTu4G1ATmyRSMPmMFhyq6j+sf/2K rCIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id np11-20020a17090b4c4b00b001c6b6b1c91bsi13772140pjb.7.2022.04.11.01.29.35; Mon, 11 Apr 2022 01:29:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240010AbiDIGOM (ORCPT + 99 others); Sat, 9 Apr 2022 02:14:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234804AbiDIGOK (ORCPT ); Sat, 9 Apr 2022 02:14:10 -0400 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9106DD0A97; Fri, 8 Apr 2022 23:12:03 -0700 (PDT) Received: from [192.168.0.2] (ip5f5ae90c.dynamic.kabel-deutschland.de [95.90.233.12]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id CDD4761E6478B; Sat, 9 Apr 2022 08:12:01 +0200 (CEST) Message-ID: <9cf20395-369a-2738-608d-dd5f1aabe48b@molgen.mpg.de> Date: Sat, 9 Apr 2022 08:12:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v6 2/3] dt-bindings: edac: nuvoton: add NPCM memory controller Content-Language: en-US To: Medad CChien Cc: rric@kernel.org, james.morse@arm.com, tony.luck@intel.com, mchehab@kernel.org, bp@alien8.de, robh+dt@kernel.org, benjaminfair@google.com, yuenn@google.com, venture@google.com, KWLIU@nuvoton.com, YSCHU@nuvoton.com, JJLIU0@nuvoton.com, KFTING@nuvoton.com, avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, ctcchien@nuvoton.com, devicetree@vger.kernel.org, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org References: <20220322030152.19018-1-ctcchien@nuvoton.com> <20220322030152.19018-3-ctcchien@nuvoton.com> From: Paul Menzel In-Reply-To: <20220322030152.19018-3-ctcchien@nuvoton.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Medad, Thank you for your patch. Am 22.03.22 um 04:01 schrieb Medad CChien: > Added device tree binding documentation for Nuvoton BMC > NPCM memory controller. Please use present tense, and spell *devicetree* without a space. The line below even fits in 75 characters: Document devicetree bindings for the Nuvoton BMC NPCM memory controller. > Signed-off-by: Medad CChien > Reviewed-by: Krzysztof Kozlowski > --- > .../edac/nuvoton,npcm-memory-controller.yaml | 62 +++++++++++++++++++ > 1 file changed, 62 insertions(+) > create mode 100644 Documentation/devicetree/bindings/edac/nuvoton,npcm-memory-controller.yaml > > diff --git a/Documentation/devicetree/bindings/edac/nuvoton,npcm-memory-controller.yaml b/Documentation/devicetree/bindings/edac/nuvoton,npcm-memory-controller.yaml > new file mode 100644 > index 000000000000..97469294f4ba > --- /dev/null > +++ b/Documentation/devicetree/bindings/edac/nuvoton,npcm-memory-controller.yaml > @@ -0,0 +1,62 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/edac/nuvoton,npcm-memory-controller.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Nuvoton NPCM Memory Controller > + > +maintainers: > + - Medad CChien > + > +description: | > + The Nuvoton BMC SoC supports DDR4 memory with and without ECC (error > + correction check). > + > + The memory controller supports single bit error correction, double bit > + error detection (in-line ECC in which a section (1/8th) of the > + memory device used to store data is used for ECC storage). *memory* fits on the line above? > + > + Note, the bootloader must configure ECC mode for the memory controller. > + > +properties: > + compatible: > + enum: > + - nuvoton,npcm845-memory-controller > + - nuvoton,npcm750-memory-controller Sort the entries? Kind regards, Paul > + > + reg: > + maxItems: 1 > + > + interrupts: > + minItems: 1 > + items: > + - description: uncorrectable error interrupt > + - description: correctable error interrupt > + > + interrupt-names: > + minItems: 1 > + items: > + - const: ue > + - const: ce > + > +required: > + - compatible > + - reg > + - interrupts > + > +additionalProperties: false > + > +examples: > + - | > + #include > + ahb { > + #address-cells = <2>; > + #size-cells = <2>; > + mc: memory-controller@f0824000 { > + compatible = "nuvoton,npcm750-memory-controller"; > + reg = <0x0 0xf0824000 0x0 0x1000>; > + interrupts = ; > + }; > + }; > +