From patchwork Tue Mar 17 06:30:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loc Ho X-Patchwork-Id: 6027421 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 64F47BF90F for ; Tue, 17 Mar 2015 06:34:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 862B22045A for ; Tue, 17 Mar 2015 06:34:36 +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 907EE20453 for ; Tue, 17 Mar 2015 06:34:35 +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 1YXl2Z-0000Hk-TF; Tue, 17 Mar 2015 06:31:47 +0000 Received: from exprod5og126.obsmtp.com ([64.18.0.251] helo=mail-pa0-f42.google.com) by bombadil.infradead.org with smtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YXl2E-0007wn-NX for linux-arm-kernel@lists.infradead.org; Tue, 17 Mar 2015 06:31:27 +0000 Received: from mail-pa0-f42.google.com ([209.85.220.42]) (using TLSv1) by exprod5ob126.postini.com ([64.18.4.12]) with SMTP ID DSNKVQfKKTyBRmT/LOy1KkmL5Ba3nzn+vN7i@postini.com; Mon, 16 Mar 2015 23:31:26 PDT Received: by padcy3 with SMTP id cy3so423514pad.3 for ; Mon, 16 Mar 2015 23:31:04 -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=5OAqv4kQxd8zn6z5Q6t1k1W7hqM2SVfd+wXi5TMh/74=; b=d38OgQ8Aar00OewcV0HQiwUsvE4uHqwdz7KycbIqqvwsCyq+7ZRqPgJS6v7EKKnj8a BQvTqoYaPU+8R6zPL9tI7fG6oBSCTQ6J1rDpikuZBMjg+LEoQ+4o+COgMfqAAU05xOWt nLc/f3sbOH6aEoLtZqNcxjbS3ypLgooWKfmma6ovke8JSlXiCqGrIPPB/Mplmb7pZYgJ 0zMWoebjINEnVVdoLCVfEEo1Itm64JQVcvWgEAvmRiKOBMmPpNPORsbPhubTDKUpzlPA 4MUTEM7pADAqz18EadkxWSGwfL3cxtbKQ4sutJTNx1jIX+/gnb7qDOWbHedqzqkYnY4x SbVQ== X-Gm-Message-State: ALoCoQmCBfq5Yf3pf8+7uUhUg/lAgFevah0+Q6vH+QfmEHHAqMQV05Sqh7QKkkHbCe+gpZCN9+quyOHoLdHtuPX7gowFVjyZnety+7EgpNzvZRMSW37PWgDSDpeC4jOntrTgQATO/N7OzoIZ74efjLTnZ/ZX+4B4Tn+FGkMoMxGwjKv+AmFsKtw= X-Received: by 10.70.44.170 with SMTP id f10mr5011609pdm.155.1426573864746; Mon, 16 Mar 2015 23:31:04 -0700 (PDT) X-Received: by 10.70.44.170 with SMTP id f10mr5011530pdm.155.1426573864336; Mon, 16 Mar 2015 23:31:04 -0700 (PDT) Received: from localhost ([198.137.200.11]) by mx.google.com with ESMTPSA id z4sm20397914pdi.90.2015.03.16.23.31.03 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 16 Mar 2015 23:31:03 -0700 (PDT) From: Loc Ho To: dougthompson@xmission.com, bp@alien8.de, mchehab@osg.samsung.com, robh+dt@kernel.org, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk Subject: [PATCH v6 3/5] Documentation: Add documentation for the APM X-Gene SoC EDAC DTS binding Date: Tue, 17 Mar 2015 00:30:19 -0600 Message-Id: <1426573821-1937-4-git-send-email-lho@apm.com> X-Mailer: git-send-email 1.5.5 In-Reply-To: <1426573821-1937-3-git-send-email-lho@apm.com> References: <1426573821-1937-1-git-send-email-lho@apm.com> <1426573821-1937-2-git-send-email-lho@apm.com> <1426573821-1937-3-git-send-email-lho@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150316_233126_846352_0C864089 X-CRM114-Status: UNSURE ( 9.98 ) X-CRM114-Notice: Please train this message. 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.18-1 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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 | 82 ++++++++++++++++++++ 1 files changed, 82 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/edac/apm-xgene-edac.txt -- 1.7.1 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..db8c1c4 --- /dev/null +++ b/Documentation/devicetree/bindings/edac/apm-xgene-edac.txt @@ -0,0 +1,82 @@ +* APM X-Gene SoC 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. + Third resource shall be the register bus resource. +- interrupts : Interrupt-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>, + <0x0 0x7e000000 0x0 0x1000>; + interrupts = <0x0 0x20 0x4>, + <0x0 0x21 0x4>, + <0x0 0x27 0x4>; + };