Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8236725ybi; Thu, 6 Jun 2019 08:49:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJVSYQmVAgAduh56nGR/cWd/tAstSzBvfXfIK/haqyP02qyDtldYyS3CQwuHk9YZM53yVL X-Received: by 2002:a17:90a:778b:: with SMTP id v11mr569772pjk.132.1559836195352; Thu, 06 Jun 2019 08:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559836195; cv=none; d=google.com; s=arc-20160816; b=neIIaPKiKQYaiszwv160bOvumXlrReAFb0N8XM1ka8pO/3JhKEhLsenW8xe2u8+fgl Iaxu5oau4bO9ZdsYtphXD/zlB9AHJ4Nc9mMrqzP2J2nhLNUoy9v5l67X2lfbe+m6Xk7+ Clt3hEqss5if5lDhknaZ4jmeDPR+o40z5f1unWt5DdAZGbLRWmszx0TKuC6srXtmMXXO wZCg5rqOFJZeWxIhsInYKRNi96LBy+W0bwarBq04apfyp8GczMIFkd+Pp35lPtqIRaxC zUDEaF7fgQ5wi9om7nyiLUQ/e1mYb7d/BrOUWLkJF/UD25Qm8uRHsIuu7YkoVuSmluYC +cqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ZER9mIIBZQdrSx9Thx0E4HyQ0pHMpbtfhwmSHnEj0Q0=; b=XN5N0a2UsKkVV5N/lQATwjlnv7qGk5OdzzyLqnEb2gDVqN7UH9948oPdzN8IE1xbfO etzRha76J58xZTH3E6CQJPfF+pXrV27k1t064u5V/3CLnRAUzrjerqHBXOh54mfxf/0l U/h5UZS/RJOjdDRQ+rHw6YFfZwTYxCbY/qoXZFY+uGMIV1ymsoAZd2bRLikSkT5R0p03 /d9aqaFeCdKtu14vvDnIx9enBewZYJpBJeAUOErTgtm/lWO8s54tSmTD8G2UhtoXZ8ti FM4SaKWUL4Vu+xbmRCp5tJZxSBDXw5M8HRKvU4hNwsjLhZ2VXtPEi/NDsWyPD7UEmFWR m+8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z193si2353945pgz.414.2019.06.06.08.49.38; Thu, 06 Jun 2019 08:49:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729469AbfFFPqm (ORCPT + 99 others); Thu, 6 Jun 2019 11:46:42 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:49358 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729185AbfFFPqm (ORCPT ); Thu, 6 Jun 2019 11:46:42 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9DEC7A78; Thu, 6 Jun 2019 08:46:41 -0700 (PDT) Received: from [10.1.196.105] (eglon.cambridge.arm.com [10.1.196.105]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EA3693F690; Thu, 6 Jun 2019 08:46:37 -0700 (PDT) Subject: Re: [PATCH 5.2 v2 2/2] dt-binding: edac: add NPCM ECC documentation To: George Hung Cc: linux-edac , linux-kernel , benjaminfair@google.com, wak@google.com, Avi.Fishman@nuvoton.com, tomer.maimon@nuvoton.com, openbmc@lists.ozlabs.org, Joel Stanley , Tali Perry , Patrick Venture , Nancy Yuen , Rob Herring , Mark Rutland , Borislav Petkov , Mauro Carvalho Chehab , davem@davemloft.net, Greg Kroah-Hartman , Nicolas Ferre , paulmck@linux.ibm.com, devicetree@vger.kernel.org, Linus Walleij , Jonathan Cameron References: <20190605141253.38554-1-ghung.quanta@gmail.com> <20190605141253.38554-2-ghung.quanta@gmail.com> From: James Morse Message-ID: <066d3d9b-f65e-7689-a3a7-d995e26fcbf3@arm.com> Date: Thu, 6 Jun 2019 16:46:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190605141253.38554-2-ghung.quanta@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi George, On 05/06/2019 15:12, George Hung wrote: > Add device tree documentation for Nuvoton BMC ECC (Nit: The DT folk prefer patches adding bindings to come first in the series, before the driver that uses them). > diff --git a/Documentation/devicetree/bindings/edac/npcm7xx-sdram-edac.txt b/Documentation/devicetree/bindings/edac/npcm7xx-sdram-edac.txt > new file mode 100644 > index 000000000000..dd4dac59a5bd > --- /dev/null > +++ b/Documentation/devicetree/bindings/edac/npcm7xx-sdram-edac.txt > @@ -0,0 +1,17 @@ > +Nuvoton NPCM7xx SoC EDAC device driver > + > +The Nuvoton NPCM7xx SoC supports DDR4 memory with/without ECC and the driver > +uses the EDAC framework to implement the ECC detection and corrtection. The commit message in the driver says this is a Cadence memory controller, can we describe what it is here, and give it an additional compatible? Thanks, James > +Required properties: > +- compatible: should be "nuvoton,npcm7xx-sdram-edac" > +- reg: Memory controller register set should be <0xf0824000 0x1000> > +- interrupts: should be MC interrupt #25 > +Example: > + > + mc: memory-controller@f0824000 { > + compatible = "nuvoton,npcm7xx-sdram-edac"; > + reg = <0xf0824000 0x1000>; > + interrupts = <0 25 4>; > + }; >