From patchwork Tue Feb 13 17:15:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 128286 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp4472439ljc; Tue, 13 Feb 2018 09:15:58 -0800 (PST) X-Google-Smtp-Source: AH8x226drlWc1uuicMGHRjKJ3HIgV0uOe17ANQWxzXsi5dcpTNAIx2udYkyrITMU2vLibDYbCWRM X-Received: by 2002:a17:902:6809:: with SMTP id h9-v6mr1775777plk.46.1518542157921; Tue, 13 Feb 2018 09:15:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518542157; cv=none; d=google.com; s=arc-20160816; b=KBjwT8sbdhuySt3jrKfUwkI55Gddq8E/Ed/HRHHqzXtOqOSINlSfUZu1gPQN7pKEW7 s6q7DG+gLUBOkBdHXnuySvk1sHxuYC5o+6TxQ8mAnc+5uCCZ5bpl3LeSxjPXGO1GUHHC BSUl7iG1q+RxZklfTVgKyxhHOl2e8pdoEli4jow3Mz9WvQEOHFbKwM9XgQLKDFwllpOV zRwXXqW1ieKjl1hQx78WJwi22o+QAMnrL4D134y+lD34m1ItL4emnJXrgxAU/sIM/7Cq h9J7I0+vLqnq86Jo8J4sGz2v1jKYC6cteL9JM8AyzOiDRyR1eaIZDlUp6AOpSG32iDAi r2bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=nJSgsxnuf6P6twN5OldWL+ixUG6IBTJFZmA7M15ewjQ=; b=UyOgnOa0Bxy9yIcgd67IpVfUNx6RInnsxFzTzCbGaRB0Q6Y0HaA6W2xoRU1CHM6m+W S1VuI2RCe8RdydIODiL1TGBAALUT8hInnMh/RKsXXZHbC1NdYrBlE20DfkTbjVifOi12 2HkmeAEbpMWDZuAginoX3m/Vohf/rPuTv3gC4G2/D5h7SkS1T0Slze6psFyJ1+fpT7Jb TXdcnbOrI7fEdE9afKusD0hFrIWJA/3EBOA9vXdQy8qgpTckd211UCXxEyoTbqyfGQv6 k0WYAiRj1diYOk2Dw/S5DrOLVBWRWC2yPYR9wCZImA74EAAggjLb2LsoERw44fmaaHmr oSIA== 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=ca88tYG+; 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 x77si115396pgx.159.2018.02.13.09.15.57; Tue, 13 Feb 2018 09:15: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=ca88tYG+; 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 S934698AbeBMRP4 (ORCPT + 5 others); Tue, 13 Feb 2018 12:15:56 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:26332 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934648AbeBMRPy (ORCPT ); Tue, 13 Feb 2018 12:15:54 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w1DHFnAd027299; Tue, 13 Feb 2018 11:15:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1518542149; bh=fBhpOnZogLtCbNBMwQrm+kAmMTDT4LQXlF0oOC/AqnM=; h=From:To:CC:Subject:Date; b=ca88tYG+banyNGRkqNgoGkZ2twrjoQGA844/rWhipcRqmEQAh92Cw7HsFA9/rbMXX RvlQGM+zuwFqUxRZjhlV30Y4NAOUWuDzD16LR31jDXeNKBSjkUCePKE352LhOzoK8Q k26v30/WbHwhbaDmO+EW1pFHuV4ggs5+6G6KD7Dk= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1DHFnhS002341; Tue, 13 Feb 2018 11:15:49 -0600 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 13 Feb 2018 11:15:49 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 13 Feb 2018 11:15:49 -0600 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1DHFlCS001112; Tue, 13 Feb 2018 11:15:47 -0600 From: Tero Kristo To: , , , CC: Subject: [PATCH] dt-bindings: memory: ti-emif: add edac support under emif Date: Tue, 13 Feb 2018 19:15:29 +0200 Message-ID: <1518542129-25813-1-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 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. Also, add interrupts property as a required property for the emif controller, as all revisions of the emif IP contain interrupt support; this might remain unused by the kernel driver though. Signed-off-by: Tero Kristo --- .../devicetree/bindings/memory-controllers/ti/emif.txt | 13 ++++++++++++- 1 file changed, 12 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 621b41c..87022a9 100644 --- a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt +++ b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt @@ -3,7 +3,9 @@ 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 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 @@ -11,6 +13,8 @@ Required properties: compatible should be one of the following: "ti,emif-am3352" "ti,emif-am4372" + "ti,emif-dra7xx" + "ti,emif-keystone" - phy-type : indicating the DDR phy type. Following are the allowed values @@ -22,6 +26,7 @@ Required properties: - ti,hwmods : For TI hwmods processing and omap device creation the value shall be "emif" where is the number of the EMIF instance with base 1. +- interrupts : interrupt used by the controller Required only for "ti,emif-am3352" and "ti,emif-am4372": - sram : Phandles for generic sram driver nodes, @@ -71,3 +76,9 @@ emif: emif@4c000000 { sram = <&pm_sram_code &pm_sram_data>; }; + +emif1: emif@4c000000 { + compatible = "ti,emif-dra7xx"; + reg = <0x4c000000 0x200>; + interrupts = ; +};