Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7287571ybi; Mon, 8 Jul 2019 18:42:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqzS1LeWrlIKgQtgmKzYl0z5phTL7eC4kOzbEcsNAvsGWF6kNMm73yFQuUn8qimzvcjAf6rP X-Received: by 2002:a63:6ec6:: with SMTP id j189mr27886145pgc.168.1562636537533; Mon, 08 Jul 2019 18:42:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562636537; cv=none; d=google.com; s=arc-20160816; b=dgVCxXjCnavLzSeO9E0wHE3YfggvXi5eN1UDhKtu7RTZt+QZaZ5o++M+b1ivwXsXG2 PjKBwY2pNnpfI5MpbL1Jm+c0ESIBKFFGl8M+0YqwpM+y4+lyKMgq/2yV5CbbC/OgRi2k w3vPlpKrbJ0Rmszej8xisbWALHxASJ+u/J1JTFKT0dLlqlJ7RV3HKiApbcBm+1+ChYfC 0Sb3jTC2OwFfLw4lxhZp40iJADZZ1/FP9GyH8DxB6wRawrxWCA3gDxGYSbAxNdItwRv/ 55HvQ1x55SQ/KlZVrKwgEpQmUUtBXN09EPqXpHM2KSHi3qMDWu2CPfyvYpVt7Cldz5Of iLsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/fpLbSng1uN6X7o4b5xQuv3f/Fj2KEoI/i2jodHhjdM=; b=dXFiLQapSVOnK3JYWqP9+67Xaitcot5FMyf4HYvmux5zNKhGmntcdAzSch3Q4GAeOv jkRHvD75vAH5nDEtTz1H+7e6lf19hQGBuvAczSkgRdWDAOpIAwzxWIOkjHjgAZXcdCWh B2+fTqHyAxZ6OOLURPCJNgCW9OAokc8ow2L3iqkb5+Gw5hkq/ZYlNfNwGxf/cyfFVXHV vg0+wkM5wtnlFsysGA5/yg7NYS/ZuY2xGfH8grLpOwjOdJaV/6hztkMQwOyt7Xy2TCUo TrQV56RoTk83QI44vjNltJHkdGz2OMeByf7qrP6by+P/RRbGnqmkGWzGi8fSKWXsfqOk NUoQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b14si1106967pjq.0.2019.07.08.18.42.02; Mon, 08 Jul 2019 18:42:17 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727088AbfGIBlB (ORCPT + 99 others); Mon, 8 Jul 2019 21:41:01 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:38271 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725857AbfGIBlA (ORCPT ); Mon, 8 Jul 2019 21:41:00 -0400 Received: by mail-io1-f68.google.com with SMTP id j6so39689197ioa.5; Mon, 08 Jul 2019 18:41:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/fpLbSng1uN6X7o4b5xQuv3f/Fj2KEoI/i2jodHhjdM=; b=IEIEf5+5vI41Gt3a2VyPVqnQI7JapuukjjmTZi1Lzk747APtM8MTAr/pYoPiyDDtMi hdsS3liAMEfKjJR2hjslSepLuMeDZCEf4wPrqYQU8m19I3Bwba/rBvkgq6aukqex4JZE uB+r35WO3a8f8J44jK4odgiT9um8lvvibSqYbtDvkb6RlUUUgLysLAM7GJu/yN968QE4 JJ/LQJNQHS2DyScQwZchfOWy+TxTgRpzXePNOLQ9SaUjqhq2XbrjfRruOeU5JHldzXTF M3Cl+6907b1K+uVMChYOnaCqzzrWbX4SqK7SCQ3JhXB5Kn894X5OZuWBMxZ4oNfrUwU1 yBhA== X-Gm-Message-State: APjAAAXOxGSid3/yhgBNdNeUKEKhUKdUpLdjxPtqf2R407TmwsR+TJtQ t85pd2SioUHDz4LN3YQZI+scbS4= X-Received: by 2002:a02:22c6:: with SMTP id o189mr23689060jao.35.1562636459755; Mon, 08 Jul 2019 18:40:59 -0700 (PDT) Received: from localhost ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id l2sm14566219ioh.20.2019.07.08.18.40.58 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 18:40:59 -0700 (PDT) Date: Mon, 8 Jul 2019 19:40:58 -0600 From: Rob Herring 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 , Mark Rutland , Borislav Petkov , Mauro Carvalho Chehab , James Morse , davem@davemloft.net, Greg Kroah-Hartman , Nicolas Ferre , paulmck@linux.ibm.com, devicetree@vger.kernel.org, Linus Walleij , Jonathan Cameron Subject: Re: [PATCH 5.2 v2 2/2] dt-binding: edac: add NPCM ECC documentation Message-ID: <20190709014058.GA30269@bogus> References: <20190605141253.38554-1-ghung.quanta@gmail.com> <20190605141253.38554-2-ghung.quanta@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190605141253.38554-2-ghung.quanta@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 05, 2019 at 10:12:53PM +0800, George Hung wrote: > Add device tree documentation for Nuvoton BMC ECC > > Signed-off-by: George Hung > --- > .../bindings/edac/npcm7xx-sdram-edac.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 Documentation/devicetree/bindings/edac/npcm7xx-sdram-edac.txt > > 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. > + > +Required properties: > +- compatible: should be "nuvoton,npcm7xx-sdram-edac" Is this for the whole SDRAM controller or just ECC related registers? In the former case, the naming should just reflect the block name and not a Linux term. > +- 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>; > + }; > -- > 2.21.0 >