From patchwork Fri May 19 17:57:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Gerlach X-Patchwork-Id: 9737853 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 728956034C for ; Fri, 19 May 2017 17:59:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55BD5284BB for ; Fri, 19 May 2017 17:59:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4832228575; Fri, 19 May 2017 17:59:15 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham 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 A0D6D284BB for ; Fri, 19 May 2017 17:59:14 +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=vBh3v8WgM5OuRLj4iCVH3g1M16n8U1vzLhCJ3zeLLN4=; b=AQexUMM49euWBC kuKMvMe+u6U51wp+yzlygVOe6/XE0mn6yT9Ise5j642AVKbAB72Ws6i4Pm1XjtaBsiQ2YjQMlNmHn js8B/YIoLEb3qs51i5MnWnnvU4fjwDqquQDLRN8ATfyRx19ab4Ornj5Yk582hk/w6N6cv6dkmYFXX LjF35TQt81QsSGzhyOKiJ3TAV+xPHrCbDc0gPTRMoJUCoABsxBaVoZ1LR/0te0PV+xWDsGadnkgL/ GGkJDmarZI+E84zkM5UKGJNSVFZOFDyysqOPBiqlAKSSFJ0jecQOPIYLf0td1bvw9I6AqnnFeMoBu 4VrDvJY4xIgelPFIKxyw==; 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 1dBmBF-0006wa-HK; Fri, 19 May 2017 17:59:13 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dBmAv-0006eR-Hv for linux-arm-kernel@bombadil.infradead.org; Fri, 19 May 2017 17:58:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=jYO/DtJu+7KO+HNCzfJntXwC9sK9E/cYnkmswIqoRhk=; b=Qe8sAjgXyj/837+vWUpsh25QN xaegrFuPqB+UwPpuxDyZucWdCbHybRQopHO5AH3n1GhtUmwuWp2fCyJHbMYZmVorbbL5yzgfX7qPY TL8qLTxMRVM+7a0tdIDbr2VtSNNEsDVZTwby73rFkXalgBHDCRRFO3Ebmjd3fZn9eCkGVrMRy/sJU eAm90zkesB1vlVv90kV9MUewyuoHO7fQnSgyQTYVwmmc1OrDjcYrv3AYShWGudGcb0OgPyNj1ebcF 0lP72QpgX9If3Bn9zs5wScHMkx4oPTk5qY67yCHs+hYgCd7gCOdNfoDtLQOpEM007y/WRGGMI7FSn +19tLWZBQ==; Received: from fllnx209.ext.ti.com ([198.47.19.16]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dBmAt-0006DR-Sb for linux-arm-kernel@lists.infradead.org; Fri, 19 May 2017 17:58:52 +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 v4JHvTMT017460; Fri, 19 May 2017 12:57:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1495216649; bh=CW29djdH+vaJ/U+vCCuG9JIcWj6VI/xtj2krfkDRbig=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=vXRiRhqFf2rJPmFnp+eHMBVBs/5B+ksS5P2ORXOBI61Dx+5RBXhm1w+bCCL9TNKc4 IW++NdMrwW5Uw5bsOH/7H2oCxiOZvU+pD7IzBUgIcPajC2/mZr7BhSY+PTgLilCtCY IjpQRqaCjP2W7n2SLv55J7Hk4+4A7OEOXJCutS/Y= Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v4JHvO9p028631; Fri, 19 May 2017 12:57:24 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Fri, 19 May 2017 12:57:23 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v4JHvNlG017332; Fri, 19 May 2017 12:57:23 -0500 Received: from localhost (uda0274052.dhcp.ti.com [128.247.59.203]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id v4JHvN325059; Fri, 19 May 2017 12:57:23 -0500 (CDT) From: Dave Gerlach To: Rob Herring , Tony Lindgren , Santosh Shilimkar , Russell King Subject: [PATCH v2 1/2] Documentation: dt: Update ti,emif bindings Date: Fri, 19 May 2017 12:57:07 -0500 Message-ID: <20170519175708.6070-2-d-gerlach@ti.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170519175708.6070-1-d-gerlach@ti.com> References: <20170519175708.6070-1-d-gerlach@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170519_135852_051062_12795E00 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: devicetree@vger.kernel.org, Dave Gerlach , Keerthy J , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 Update the Texas Instruments EMIF binding document to include the device tree bindings for ti,emif-am3352 and ti,emif-am4372 which are used by the ti-emif-sram driver to provide low-level PM functionality. Signed-off-by: Dave Gerlach Acked-by: Tony Lindgren --- .../devicetree/bindings/memory-controllers/ti/emif.txt | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt index 0db60470ebb6..8c0214b17c2b 100644 --- a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt +++ b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt @@ -8,6 +8,7 @@ of the EMIF IP and memory parts attached to it. Required properties: - compatible : Should be of the form "ti,emif-" where is the IP revision of the specific EMIF instance. + For am335x should be ti,emif-am3352. For am437x should be ti,emif-am4372. - phy-type : indicating the DDR phy type. Following are the @@ -21,6 +22,13 @@ Required properties: the value shall be "emif" where is the number of the EMIF instance with base 1. +Required only for "ti,emif-am3352" and "ti,emif-am4372": +- sram : Phandles for generic sram driver nodes, + first should be type 'protect-exec' for the driver to use to copy + and run PM functions, second should be regular pool to be used for + data region for code. See Documentation/devicetree/bindings/sram/sram.txt + for more details. + Optional properties: - cs1-used : Have this property if CS1 of this EMIF instance has a memory part attached to it. If there is a memory @@ -42,7 +50,7 @@ Optional properties: - hw-caps-temp-alert : Have this property if the controller has capability for generating SDRAM temperature alerts -Example: +-Examples: emif1: emif@0x4c000000 { compatible = "ti,emif-4d"; @@ -54,3 +62,11 @@ emif1: emif@0x4c000000 { hw-caps-ll-interface; hw-caps-temp-alert; }; + +/* From am33xx.dtsi */ +emif: emif@4c000000 { + compatible = "ti,emif-am3352"; + reg = <0x4C000000 0x1000>; + sram = <&pm_sram_code + &pm_sram_data>; +};