From patchwork Tue Jun 3 02:14:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loc Ho X-Patchwork-Id: 4284771 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3B0119F326 for ; Tue, 3 Jun 2014 02:17:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 524132021B for ; Tue, 3 Jun 2014 02:17:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6E410201C8 for ; Tue, 3 Jun 2014 02:17:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WreG9-0007TG-DL; Tue, 03 Jun 2014 02:15:29 +0000 Received: from exprod5og116.obsmtp.com ([64.18.0.147]) by bombadil.infradead.org with smtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WreG6-0007ED-VB for linux-arm-kernel@lists.infradead.org; Tue, 03 Jun 2014 02:15:27 +0000 Received: from mail-pd0-f179.google.com ([209.85.192.179]) (using TLSv1) by exprod5ob116.postini.com ([64.18.4.12]) with SMTP ID DSNKU40vqaCavtB8xdMgViVdl2WP1JbfjhER@postini.com; Mon, 02 Jun 2014 19:15:26 PDT Received: by mail-pd0-f179.google.com with SMTP id fp1so4025048pdb.24 for ; Mon, 02 Jun 2014 19:15:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=R1QwCgqWVcL+Sn2kgCtTu+c3Yy/W9pPd4RN15RONOZE=; b=TCbnDKZ8jVeGCE0n7iMzQbFkdIsAxoK48c61nASIwF0zA/VenSPiKR5EpDyDw//YfA /HMDIojTEjXbrIOGZAySPCXyCGT0KGG98oLTb9ek5+BCDnzHJMpgoblAgJiiP7Zzkfzz w06b/Jy+eZqpihuyU96deTw4UswDCN3EJH9vXcph5RSO8eqo5gr14PHiVRB4sBRiOdnh iH3ODJqHHUUFl+zSesAvnolyQORdnyeryUlqG/HRTow/jtY9t22GcZGyaE0ilPMUk378 ZFP2IvJ9uzL/2yP86qLsMghZX3lHkJecT9xZQoaBLRXT5XNO3YTAB2NGa3w8iMgJsoBf mGCA== X-Gm-Message-State: ALoCoQn1T0AXCAL0e1/FkpaT0oCVuMc1wyF4kEnQ02smSB3JEVXQH5vRR93lRbmXGHWWgY4xbOtajGS+jmX2VkL/t0zb+hHjv1YPzcQ0JwYdfMCI9qJy/OGmkgwjSfiRhD7hIzQbgZzUyWQsaWPRzmzSj1kVqQUdJw== X-Received: by 10.68.103.165 with SMTP id fx5mr45720217pbb.118.1401761705366; Mon, 02 Jun 2014 19:15:05 -0700 (PDT) X-Received: by 10.68.103.165 with SMTP id fx5mr45720205pbb.118.1401761705289; Mon, 02 Jun 2014 19:15:05 -0700 (PDT) Received: from localhost ([198.137.200.11]) by mx.google.com with ESMTPSA id zb2sm14927657pbb.45.2014.06.02.19.15.03 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 02 Jun 2014 19:15:04 -0700 (PDT) From: Loc Ho To: dougthompson@xmission.com, bp@alien8.de, m.chehab@samsung.com Subject: [PATCH v3 2/4] Documentation: Add documentation for the APM X-Gene SoC EDAC DTS binding Date: Mon, 2 Jun 2014 20:14:18 -0600 Message-Id: <1401761660-11515-3-git-send-email-lho@apm.com> X-Mailer: git-send-email 1.5.5 In-Reply-To: <1401761660-11515-2-git-send-email-lho@apm.com> References: <1401761660-11515-1-git-send-email-lho@apm.com> <1401761660-11515-2-git-send-email-lho@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140602_191527_032566_DBB16652 X-CRM114-Status: GOOD ( 10.97 ) X-Spam-Score: -2.3 (--) Cc: devicetree@vger.kernel.org, Feng Kan , jcm@redhat.com, patches@apm.com, Loc Ho , linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds documentation for the APM X-Gene SoC EDAC DTS binding. Signed-off-by: Feng Kan Signed-off-by: Loc Ho --- .../devicetree/bindings/edac/apm-xgene-edac.txt | 81 ++++++++++++++++++++ 1 files changed, 81 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/edac/apm-xgene-edac.txt diff --git a/Documentation/devicetree/bindings/edac/apm-xgene-edac.txt b/Documentation/devicetree/bindings/edac/apm-xgene-edac.txt new file mode 100644 index 0000000..fc3dbbc --- /dev/null +++ b/Documentation/devicetree/bindings/edac/apm-xgene-edac.txt @@ -0,0 +1,81 @@ +* APM X-Gene EDAC nodes + +EDAC nodes are defined to describe on-chip error detection and correction. +There are four types of EDAC: + + memory controller - Memory controller + PMD (L1/L2) - Processor module unit (PMD) L1/L2 cache + L3 - CPU L3 cache + SoC - SoC IP such as SATA, Ethernet, and etc + +The following section describes the memory controller DT node binding. + +Required properties: +- compatible : Shall be "apm,xgene-edac-mc". +- reg : First resource shall be the PCP resource. + Second resource shall be the CSW resource. + Third resource shall be the MCB-A resource. + Fourth resource shall be the MCB-B resource. + Fifth resource shall be the MCU resource. +- interrupts : Interrupt-specifier for MCU error IRQ(s). + +The following section describes the L1/L2 DT node binding. + +- compatible : Shall be "apm,xgene-edac-pmd". +- reg : First resource shall be the PCP resource. + Second resource shall be the PMD resource. + Third resource shall be the PMD efuse resource. +- interrupts : Interrupt-specifier for PMD error IRQ(s). + +The following section describes the L3 DT node binding. + +- compatible : Shall be "apm,xgene-edac-l3". +- reg : First resource shall be the PCP resource. + Second resource shall be the L3 resource. +- interrupts : Interrupt-specifier for L3 error IRQ(s). + +The following section describes the SOC DT node binding. + +- compatible : Shall be "apm,xgene-edac-soc"". +- reg : First resource shall be the PCP resource. + Second resource shall be the SOC resource. +- interrupts : nterrupt-specifier for SoC error IRQ(s). + +Example: + edacmc0: edacmc0@7e800000 { + compatible = "apm,xgene-edac-mc"; + reg = <0x0 0x78800000 0x0 0x1000>, + <0x0 0x7e200000 0x0 0x1000>, + <0x0 0x7e700000 0x0 0x1000>, + <0x0 0x7e720000 0x0 0x1000>, + <0x0 0x7e800000 0x0 0x1000>; + interrupts = <0x0 0x20 0x4>, + <0x0 0x21 0x4>; + }; + + edacl3: edacl3@7e600000 { + compatible = "apm,xgene-edac-l3"; + reg = <0x0 0x78800000 0x0 0x1000>, + <0x0 0x7e600000 0x0 0x1000>; + interrupts = <0x0 0x20 0x4>, + <0x0 0x21 0x4>; + }; + + edacpmd0: edacpmd0@7c000000 { + compatible = "apm,xgene-edac-pmd"; + reg = <0x0 0x78800000 0x0 0x1000>, + <0x0 0x7c000000 0x0 0x200000>, + <0x0 0x1054a000 0x0 0x10>; + interrupts = <0x0 0x20 0x4>, + <0x0 0x21 0x4>; + }; + + edacsoc: edacsoc@7e930000 { + compatible = "apm,xgene-edac-soc"; + reg = <0x0 0x78800000 0x0 0x1000>, + <0x0 0x7e930000 0x0 0x1000>; + interrupts = <0x0 0x20 0x4>, + <0x0 0x21 0x4>, + <0x0 0x27 0x4>; + }; +