Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8078767ybi; Tue, 9 Jul 2019 08:50:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqyhGWSt7KjOqn/m8ZTLOPd5MKTZpC7yaOR7G8UgHqoxUlElVGIGp9uXRDAjBA7vCnQggTcz X-Received: by 2002:a63:60c8:: with SMTP id u191mr29529509pgb.401.1562687426995; Tue, 09 Jul 2019 08:50:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562687426; cv=none; d=google.com; s=arc-20160816; b=TGjWwAynZu/b8KBV1CDWQvnO4MiN/aM4ErJjk5GbSfdqbda9QscjxbyjH7e+FS3816 4JVfjPi9BOYsN91FpoOrxNIWiIvAE6h+KGPYFeQWOaGea0sSxdl1ksUg6+w5O/8vVpvI bSE8FRMd44cPj25PrqNrG7iC5rTTSnwHJ0VMibOPbIayBCbkwiaiBTwZPpOUEiKYNnjb mvUnoQKK/c1mUrBR9l0fAFxm5707vg2NiFXC1BoYjkHJSiQmF2xcKBCMZjMnwYiUea4M UOAtDGm0Vq8KdN1TOJyKtUi7B0yBIzIQMHEBeA2T47jpi8HI7WFxxJ0zQe9l7VFn9DcY akGg== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=NooBXIe2OZiki6mui97mGeYlQYv9Xfvv8UaeV1DeiXo=; b=GY+oIuWFCCFcDiOx3EFfPuEB2BmCP/vFHCcIsAw8FJdl2afb2LuQEJWVbBdOVgwqIF HqKvdNpWceev5Pc5zQLpb63b8vkZO0Tucp4jFD+AWLEWVxti4Ctn0o0aeMR7kXWSUQ0v VaBufgbD83gfJ+5UQG80rGaOwx5kUDQUrz7W9p1u33kQ213n4jQJ45WXlUE+iad86x6/ XyoHmmeaxpsA8/SOJn2U722lPPHRSgEW0KfJ0Vg2fcU857Akl/+OShoJn22Y6JCTdDsN MaRKjqYz1AD11p/suk7ZaH3wF2yQYh62uB+fmPJgTfIndHFXKynEVahgMQ30m62jA8IQ JuKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KON4ngr4; 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=pass (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 m189si22921032pgm.443.2019.07.09.08.50.11; Tue, 09 Jul 2019 08:50:26 -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; dkim=pass header.i=@kernel.org header.s=default header.b=KON4ngr4; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726318AbfGIPs2 (ORCPT + 99 others); Tue, 9 Jul 2019 11:48:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:40216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726060AbfGIPs2 (ORCPT ); Tue, 9 Jul 2019 11:48:28 -0400 Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B3E7721743; Tue, 9 Jul 2019 15:48:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562687306; bh=8uRt2LckP8V6eOMg2L1MMuumGINZ1eU0bTBj8g3A81c=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=KON4ngr4Z1oJj/l8kSJhRwNeUk2R1NwwJID4TkmcPIl+MyUHNX7S9wJWmLi5kcXKR 9yQxDgx12Pr9RsOFxewTO1k23CslxM8Urly5NjQV84pjT6TLgiu+KpOv98L6F8TVW0 OXrssDvfqBv5JToN0eDMoLBPFu4Trx+79enV2b4E= Received: by mail-qt1-f169.google.com with SMTP id h18so14673216qtm.9; Tue, 09 Jul 2019 08:48:26 -0700 (PDT) X-Gm-Message-State: APjAAAUBtqYLDPGN0x+RA9MmxX6sGsFbECumxVvTNbQEZvJTMgaDU/n7 spKsZz3u9SM/9FbyWgBKX43YQ61fZd4CvDhPeA== X-Received: by 2002:ac8:3908:: with SMTP id s8mr19233318qtb.224.1562687305930; Tue, 09 Jul 2019 08:48:25 -0700 (PDT) MIME-Version: 1.0 References: <20190605141253.38554-1-ghung.quanta@gmail.com> <20190605141253.38554-2-ghung.quanta@gmail.com> <20190709014058.GA30269@bogus> <0c90f9376c0e425c9a226379f7e5bfad@quantatw.com> In-Reply-To: <0c90f9376c0e425c9a226379f7e5bfad@quantatw.com> From: Rob Herring Date: Tue, 9 Jul 2019 09:48:14 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 5.2 v2 2/2] dt-binding: edac: add NPCM ECC documentation To: =?UTF-8?B?R2VvcmdlIEh1bmcgKOa0quW/oOaVrCk=?= Cc: George Hung , Mark Rutland , Linus Walleij , Tali Perry , "paulmck@linux.ibm.com" , "wak@google.com" , "benjaminfair@google.com" , "openbmc@lists.ozlabs.org" , "tomer.maimon@nuvoton.com" , "devicetree@vger.kernel.org" , Borislav Petkov , "Avi.Fishman@nuvoton.com" , Jonathan Cameron , Mauro Carvalho Chehab , linux-edac , Patrick Venture , Nicolas Ferre , linux-kernel , James Morse , Greg Kroah-Hartman , "davem@davemloft.net" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 9, 2019 at 3:50 AM George Hung (=E6=B4=AA=E5=BF=A0=E6=95=AC) wrote: > > Hi Rob, > > > > -----Original Message----- > > From: openbmc > > [mailto:openbmc-bounces+george.hung=3Dquantatw.com@lists.ozlabs.org] On > > Behalf Of Rob Herring > > Sent: Tuesday, July 09, 2019 9:41 AM > > To: George Hung > > Cc: Mark Rutland; Linus Walleij; Tali Perry; paulmck@linux.ibm.com; > > wak@google.com; benjaminfair@google.com; openbmc@lists.ozlabs.org; > > tomer.maimon@nuvoton.com; devicetree@vger.kernel.org; Borislav Petkov; > > Avi.Fishman@nuvoton.com; Jonathan Cameron; Mauro Carvalho Chehab; > > linux-edac; Patrick Venture; Nicolas Ferre; linux-kernel; James Morse; = Greg > > Kroah-Hartman; davem@davemloft.net > > Subject: Re: [PATCH 5.2 v2 2/2] dt-binding: edac: add NPCM ECC > > documentation > > > > 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 n= ot a > > Linux term. > > Sorry for confused naming, the address space is for the whole memory cont= roller registers indeed, > but the driver only uses the ECC related registers. > Should I change the name to "nuvoton,npcm7xx-edac" ? No, you should drop the 'edac' part. The DT describes the h/w, not what one driver (currently) uses. Rob