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: 10047235 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D491A6032D for ; Tue, 7 Nov 2017 20:45:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6FFF292C0 for ; Tue, 7 Nov 2017 20:45:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC1092933A; Tue, 7 Nov 2017 20:45:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3E68B292C0 for ; Tue, 7 Nov 2017 20:45:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zk0iaifv9MysUc7xrYJzeusrZRcHhllJ1GXmld3E/jo=; b=mIJCqNy+VPH1Ic bw8cgvwtKpUZOPTJDPYABSq1Vu1bkyDdtW6QCsjQsCCnvdIHVoTpqgE4e9LHZBLRP3J+0r1aykgrx mv0PkXN02C/kBXhervtdkMNnrQjb1T8dt5Z7BXgCn1blCi2tfUJuSxvarz8t5vgJr03fSRT7xyQOi lFA2VawAM3vJxs6K9oAEIrn3LcBtvycKd9Ngvmbvq/z1ZUK7wZFrFIpSaGVeE1pNwVWKOPQbnQioP 7hSb5hPHTGWwyT5/RImc8UxNwLGYea3dAyZTvA/zosAXR1c9ycuK5C4KRuuf+9xEj7sdYmQK+IlRd 32bzILP2ZvprL9I5L1qw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eCAkc-00023G-Jr; Tue, 07 Nov 2017 20:45:38 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eCAka-0001uQ-MM for linux-arm-kernel@bombadil.infradead.org; Tue, 07 Nov 2017 20:45:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YtgJId7A9UuU+dw5YRz4Gq2Kv3lOZ91c2j7AU29iVwc=; b=eSzfjPtWHjhS08W0cn6MCGEKH QjSiVy0uXVmdWA9WV8zGM/wgKYnWWLtA5PuV0a459ZyCoMOAECm3YR39pR9nzUCeoX+80oz7EKoGh 3oJV3RQcKGOufR4tDNnRJDoDwNcb5sjBPj/acsuviOovSerOmYWj5tp9EoS3VCfHY9Eo4/nwHW/xD lRngUhpZm4dDI+3WbPnZ+G/yYGhNdUG3xGEqTJTZIJ9bOQCJuQl4h9m37DTVvO2vR/sam3i+T1WU+ GCNzJstxH114uBWQdcfMIz+4r44YQZnZvoceWRWL1IDb089K33ugBuI3pSuTqaLhKZ1KrVl7wdguq crjsHk94w==; Received: from fllnx209.ext.ti.com ([198.47.19.16]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eCAgu-00053a-6D for linux-arm-kernel@lists.infradead.org; Tue, 07 Nov 2017 20:41:50 +0000 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: , , , , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171107_204148_444713_0E054D0D X-CRM114-Status: GOOD ( 10.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tony Lindgren , Rob Herring , Santosh Shilimkar Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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 = ; +};