Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6846181ybi; Wed, 5 Jun 2019 07:18:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyg0y71ochloT5cL2SBZnI9i6l3vjY8O9/rmCsg62yOFpV849qwH5LX5hn06s9bU4dkruF5 X-Received: by 2002:a62:2c8e:: with SMTP id s136mr1858735pfs.3.1559744291040; Wed, 05 Jun 2019 07:18:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559744291; cv=none; d=google.com; s=arc-20160816; b=UAo/YWtgyzhYHd7kCoVURjEyA/x0kX/8fMivXPIsRnbfBcr5IyPVZXIuWfblDSMi+0 0qy/VHHmCwgnnLrNPNrze/7jh2THzI7ah4JkdR4Big9uAi2CDqN7kjiu7qMjoOXen9os ePqdz28srmTaD7UkuZPCTB6zlN2W0mYvjIkqx4ro5pBXYNX5uxHdE5QAG7dS8b2ZrE0j Ds+NpDcRczheLEb0qi04PuIvKpvyreyjEMOJ5unwpTAEVa7mv9xLIxjx0YQ2ESzbYNP0 Lw9ptiGc6U84zM8Rjk2vGNFfWhu2htMRgmJw04n0HYRjHCsZkWo+FCYvcrpRsoazPULJ Qjvw== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=v3XLypKZbOE7b5olH8wFcYwlI02ktNrldwBXglURa3w=; b=MDBq4pK8SentJ6+QyQsjjjhmGmxwl9gqzauKRzSJqZarRdIRCGBj8Jpu/xk3yiPInw MzyoomC2WNqG7muqbpI6Q5VnfwdGyNw6i9PGJkCcL7oIT5e9Qdt2G3f9Vz+0CzhNxFjS r+5Q8AKVCi/q2Ir1F9rB8+xlimM1DdduZ3izyExNtpQGwbvsOcn7MFAWf99N4kh4rlFX cavTu7chndwnAx9SSBVFKMkzVySWGXMbk4PAPgPrAPJjuTP0UibvYTWxj+Dl2A/nH5VU K6XrhAZwsjjy8eNugbS5/Yu0yBZ919MZqB/d9C8/Pm62Ts1tviG9aOlVgZH8eSvfAcJs Msbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SRyDZBKf; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s7si25657913pji.107.2019.06.05.07.17.53; Wed, 05 Jun 2019 07:18:11 -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=@gmail.com header.s=20161025 header.b=SRyDZBKf; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728350AbfFEOQb (ORCPT + 99 others); Wed, 5 Jun 2019 10:16:31 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:43952 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728171AbfFEOQa (ORCPT ); Wed, 5 Jun 2019 10:16:30 -0400 Received: by mail-pl1-f195.google.com with SMTP id cl9so4633813plb.10; Wed, 05 Jun 2019 07:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=v3XLypKZbOE7b5olH8wFcYwlI02ktNrldwBXglURa3w=; b=SRyDZBKfR6VLuQOeonUrKfw8C7A4yF0d3XMQJwjtp0LfMXI4HiCjx0WQ8U62jWYFsZ DVqV5Sc2DTx+3Zj9dFFodnSBWUmQP3kobhSvtrvVU105g/az29yBBuIEUz3T9B/8WRA+ qLJyDidJIDRzrFEqrVi1UDMg+KRFLUbUnzGhXSnKQAOdIyuk7h7qVSmBBLitwr2vJI6x KioMQaxD5g6qwJkzEALSAZrmbyf/bpxBIRfKJDpa9Ax1xNbjtNNYhM08XxoIi+syxAjP NxHFkvcKZUSEF3ojvBkbCy/aOd3CiusdDnKW3y+IKuTQeEnmPpomVHvCvRTcSFJF1PML b97g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=v3XLypKZbOE7b5olH8wFcYwlI02ktNrldwBXglURa3w=; b=iLN6D/D1z3dzEgQeda7/UXGazxbNxlRF+bzI7hLcOWVbm/+37bDlIQn36P29FHaNb5 ppQI0FCbT5EENzPhHg41HT9XtmzOTHk9hB8OkJNaSz4T/tFSbFMsK5ENLptp9qJSGq6e HuSnzOIIIyVIIaULXaynq2dlxy9vPmBjzDOy/kFMKMu5+R+8TOE0N8pLKbzvl2HUbRdl LZ2vziheFKWLzY9Yp7ipG66VJjbOCzfUlzFRTXiacfxaL/aJOY7PQjXxZIqBB9NJhTwq uHLk1SskzfLCZsSdDEsMIR1JN2HM67q965I7QaFk/2QO7XVb7mBEcHpha1C58Qr/UgKk F+3A== X-Gm-Message-State: APjAAAXI0tWE0eAjlM6H5eclRLrcmGpZ91QSmfagJqDgTDtjWXK/c6AD rqXFDYxb9rXXlR+hFtztE+fZTAnl X-Received: by 2002:a17:902:b18c:: with SMTP id s12mr42363782plr.181.1559744189242; Wed, 05 Jun 2019 07:16:29 -0700 (PDT) Received: from george-Quanta.com.com (220-135-135-179.HINET-IP.hinet.net. [220.135.135.179]) by smtp.gmail.com with ESMTPSA id 24sm22376443pgn.32.2019.06.05.07.16.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Jun 2019 07:16:28 -0700 (PDT) From: George Hung To: linux-edac , linux-kernel Cc: 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 , James Morse , davem@davemloft.net, Greg Kroah-Hartman , Nicolas Ferre , paulmck@linux.ibm.com, devicetree@vger.kernel.org, Linus Walleij , Jonathan Cameron Subject: [PATCH 5.2 v2 2/2] dt-binding: edac: add NPCM ECC documentation Date: Wed, 5 Jun 2019 22:12:53 +0800 Message-Id: <20190605141253.38554-2-ghung.quanta@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190605141253.38554-1-ghung.quanta@gmail.com> References: <20190605141253.38554-1-ghung.quanta@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" +- 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