Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp449221ybi; Fri, 31 May 2019 04:09:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqylcMkn/YMEvqJZYWnwp2l9K9wpBM0s5fQWjV4IcuLP5Yv2XDZAxahQ81+pfps3K+59dnvh X-Received: by 2002:a63:fb45:: with SMTP id w5mr8036796pgj.397.1559300978532; Fri, 31 May 2019 04:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559300978; cv=none; d=google.com; s=arc-20160816; b=oj2gPgmuZ5m0FYWuytdQIUAm2pcny2DxeSOabmCD4PxmbCnvy7aWhBfc8KX41KRkEa HK27bW77/iDP7qgrmh3kXLozXin0W1vl5ZD7Cq1c8J9jdVRlJMP4XqKYXwarL4zm9Imu /L9S9raz8tOKhqS9ekNWW1ABkNZGdeyoqZhBgty7AzpydCoq/e3qUzV1L6C06VkV5eNm 8Z1mHM4pGaaByf3cdVvKkTMoa9bR3m9Akaiv0hqPV2mEIpWFz9GdCbRnlMwkcL09JRqT O+sC+tY9ST7zy5n01xydZ9UiBanQFQmRSGaLoBguR5R/axuP0wcGFCyEQJp3Bx4RKP1H /JEg== 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=sCirbkYEEgyZHeVPnI4RUCCA9zruVjXQEX2BZxERDytEMY6SNmEBEIL61a4Iue+nmq i+MPZiDXqgWobnc95NQQnSy16tgBVbi0/V3SAI91aSalaA6mBWH5a4DDIMh/23vGuI3R xbfgEm1BFNOOWRs2J/HlhH/SSEsdUETNl7g5UBoSY/LB6nDjyw4y3PLX0bqsvy7I3tit PCIBH5addKsEmQOL4Ivq3iMtsr3MgnVuyVnd0Yh27jDqDaJhyryYLTKZII+Wi229x9NP ePf9pBOVXSm8RcHkBJYmesSi8YKc9MDlQxbNxUPDXVNbXE+hkBoIFIoviwsw2UhKzyaa gcfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lHiHrqK+; 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 a128si5757218pgc.242.2019.05.31.04.09.11; Fri, 31 May 2019 04:09:38 -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=lHiHrqK+; 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 S1727221AbfEaLH0 (ORCPT + 99 others); Fri, 31 May 2019 07:07:26 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:41432 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726002AbfEaLHZ (ORCPT ); Fri, 31 May 2019 07:07:25 -0400 Received: by mail-pf1-f194.google.com with SMTP id q17so6003554pfq.8; Fri, 31 May 2019 04:07:24 -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=lHiHrqK+uViC8OiKvrCBGMdg+3KUxbeaoMdBR9G3r7DDdhdHCWZlBwEruPUhlMir17 Qz5pCkS2HG5iRE0uQSWVR7VXZD3/bIKe9xkb/oyS6CtnXNTDlGF9wtjFGJ+rg6kx5cGo e8IXax9hChGsOHhamwbfPHy53atRzmBqILApH9u0JjvZoDCkGdRXdc71L9iLn6DU16EB A4ChSnATzc/jt9S2BVk0Mc23nXWVt/KXYfwR3bvufUJU1jvUMTpgBEztR+29wnsBn7oq SO4LcXqg1qR78jQlp/sxHf0qmrZlZUtyTjM8rDYW5dkwWAaXedWo683BB4XZWywE3F/x dSBg== 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=LZShddEmWFxOck3zEEzApY0koHrXK3/qm8O5oCUJyfOSllEPcMUcx1/K2XSnmY78YC ZxM7zVTA0Jg7lK1VP673s7OcWHFiv8q5ykpcK2WAy8s/64sESIzRi7xwW69/lAs1NmVH JfbC7yVyaLXC6iamYMdiB/BD+0m7F9KrrD4cKr2TL1m72WwZpk21Vqxs8dP6GF+7o6CG TNvWnKIXjabz10zKDt/Lyo6UUEnkEC8CTtbIyXdZ6Nzw7QzcQow2b0Wnf4TXB+V0Y/zP zhKSFVql+jAX66eS9644+NMwX2lg4ByoqLACkVfYl6G0c1LnOtGnNbOfuFMjfUdjGK4H 8PZQ== X-Gm-Message-State: APjAAAX3n/Ys7hE8jWJP3qARKoZVoKx9RfQqugNhx1rPDOM3gew8RztX UIrkPcffLCGgG5iA57y536UbQ29c X-Received: by 2002:a17:90a:d681:: with SMTP id x1mr8217068pju.13.1559300844098; Fri, 31 May 2019 04:07:24 -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 r7sm8003157pjb.8.2019.05.31.04.07.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 31 May 2019 04:07:23 -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, Richard.Tung@quantatw.com, Buddy.Huang@quantatw.com, Fran.Hsu@quantatw.com Subject: [PATCH v1 2/2] dt-binding: edac: add NPCM ECC documentation Date: Fri, 31 May 2019 19:03:52 +0800 Message-Id: <20190531110352.30393-2-ghung.quanta@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190531110352.30393-1-ghung.quanta@gmail.com> References: <20190531110352.30393-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