From patchwork Tue Nov 7 20:38:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 118208 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4444840qgn; Tue, 7 Nov 2017 12:41:57 -0800 (PST) X-Google-Smtp-Source: ABhQp+TYV1MnYqhF3IPr9q9JghYqHnAAKN+Act4dU0Y/bW0htLNBRaXek/1QWs+Llk98HgqIW+pm X-Received: by 10.99.4.133 with SMTP id 127mr29401pge.72.1510087317496; Tue, 07 Nov 2017 12:41:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510087317; cv=none; d=google.com; s=arc-20160816; b=WwMefmWv0f2S4M2pqeOjuIYR2RzelNnWHzow/he9oSNZtAaj8K+6QZh7i8idY/dv// 805bVapsE7o9MRXUgJiRbCQ01Fy+gHeGe5Wq2JCOCgyORG+1XqBM2o8Iq2KU1XIRUVq2 W33JDSRsboRx1jCtq6tSx6o4kN6Nwht3Xrpg9W8LvS28P2AmAP1pxaAW7cxpJ8W6UDO2 zvNzg3OsDrXjSjv+dirx0mAguaqzPjyWyXzON8kf/qQ7ITcy2QG6QIcFMYEFRfxbKJK4 ekGRIpTEODN8DH+U6BYYIsRfq3UyDkNJ0iYf4W3QnjYvmYyj5M57jn4F/lHaQAuiJZqP wwtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=ApvgUxckGKIZuGTQGLCfnX3Cq3piHw9s+eMzlT0ax/Y=; b=QTd++xz5SOdrcIeGOjAbGQp0bT0u7VEsqZSBT/ZCegNzLMfYoTXksGR2WbiHGCipWj XarBrRudlukmc949uQqT+bEJ8T7KnNtz6vx4c66P2CX66DlnpuJ3PVk7JaK2NR8TmeQA il40yPq4ILBxajExZ2A0aKdrJMSBskAogZ2tUdtKILx9qSIH8yTQAmx4/JW0+w/RoVln 5kmGnMaZhovl2SZ+0t1++IROYUqSv/TolfBoam6tD1oCdGX5F3hNwVlQWNMHjiVqd1sM 7zCkvV7Dw3SIQXUCrWrlsyzDGfqLKDq3r8x9zgk5T1Ht/g4euh4LBCSzGr72SvswK3zv zD2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=vZXEAl0c; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t64si1908200pgc.697.2017.11.07.12.41.57; Tue, 07 Nov 2017 12:41:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=vZXEAl0c; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933450AbdKGUl4 (ORCPT + 4 others); Tue, 7 Nov 2017 15:41:56 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:38801 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933304AbdKGUlz (ORCPT ); Tue, 7 Nov 2017 15:41:55 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id vA7KeQgE013930; Tue, 7 Nov 2017 14:40:26 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1510087226; bh=DCkUEcakBqVEoK3P041dt2AFuD04DvdvLbL5ts8HJk8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=vZXEAl0cfOXTkJ2Tg5gRjpYE9rG8RHs31r1OkjtZkCui6mwZlGdx0pmkthu99Or8S GhkGA2S+ewWEKtLfGqajrmBunDSGu+DSwRy+KEOkZ9PzZK03BDeWGI6lrIdWSfi5o0 2EX0jtvOFQLfI8mU5lDitJkTMLv+0cBy5nC1w+sU= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vA7KeLv8030226; Tue, 7 Nov 2017 14:40:21 -0600 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Tue, 7 Nov 2017 14:40:20 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Tue, 7 Nov 2017 14:40:20 -0600 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vA7KeFwU016393; Tue, 7 Nov 2017 14:40:18 -0600 From: Tero Kristo To: , , , , CC: Tony Lindgren , Santosh Shilimkar , Rob Herring Subject: [PATCH 1/3] Documentation: dt: memory: ti-emif: add edac support under emif Date: Tue, 7 Nov 2017 22:38:57 +0200 Message-ID: <1510087139-21885-2-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1510087139-21885-1-git-send-email-t-kristo@ti.com> References: <1510087139-21885-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Certain revisions of the TI EMIF IP contain ECC support in them. Reflect this in the DT binding. Signed-off-by: Tero Kristo Cc: Tony Lindgren Cc: Santosh Shilimkar Cc: Rob Herring --- .../devicetree/bindings/memory-controllers/ti/emif.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) -- 1.9.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt index 0db6047..f56a347 100644 --- a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt +++ b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt @@ -3,12 +3,16 @@ EMIF - External Memory Interface - is an SDRAM controller used in TI SoCs. EMIF supports, based on the IP revision, one or more of DDR2/DDR3/LPDDR2 protocols. This binding describes a given instance -of the EMIF IP and memory parts attached to it. +of the EMIF IP and memory parts attached to it. Certain revisions +of the EMIF IP controller also contain optional ECC support, which +corrects one bit errors and detects two bit errors. Required properties: - compatible : Should be of the form "ti,emif-" where is the IP revision of the specific EMIF instance. For am437x should be ti,emif-am4372. + For dra7xx should be ti,emif-dra7xx. + For k2x family, should be ti,emif-keystone. - phy-type : indicating the DDR phy type. Following are the allowed values @@ -42,6 +46,10 @@ Optional properties: - hw-caps-temp-alert : Have this property if the controller has capability for generating SDRAM temperature alerts +- interrupts : A list of interrupt specifiers for memory + controller interrupts, if available. Required for EMIF instances + that support ECC. + Example: emif1: emif@0x4c000000 { @@ -54,3 +62,9 @@ emif1: emif@0x4c000000 { hw-caps-ll-interface; hw-caps-temp-alert; }; + +emif1: emif@4c000000 { + compatible = "ti,emif-dra7"; + reg = <0x4c000000 0x200>; + interrupts = ; +};