From patchwork Wed Nov 26 21:39:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Gerlach X-Patchwork-Id: 5388511 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 74D8BC11AC for ; Wed, 26 Nov 2014 21:42:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 84621201F4 for ; Wed, 26 Nov 2014 21:42:02 +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 A2F2E201C7 for ; Wed, 26 Nov 2014 21:42:01 +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 1XtkJS-0005CH-3t; Wed, 26 Nov 2014 21:39:50 +0000 Received: from comal.ext.ti.com ([198.47.26.152]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XtkJF-0004v4-9e for linux-arm-kernel@lists.infradead.org; Wed, 26 Nov 2014 21:39:38 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id sAQLdEDA003268; Wed, 26 Nov 2014 15:39:14 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id sAQLdE75004123; Wed, 26 Nov 2014 15:39:14 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Wed, 26 Nov 2014 15:39:13 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id sAQLdDfY013434; Wed, 26 Nov 2014 15:39:13 -0600 Received: from localhost (j-172-22-146-2.vpn.ti.com [172.22.146.2]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id sAQLdDt16002; Wed, 26 Nov 2014 15:39:13 -0600 (CST) From: Dave Gerlach To: , , , Subject: [RFC PATCH 1/3] Documentation: dt: add ti,am3352-emif bindings Date: Wed, 26 Nov 2014 15:39:05 -0600 Message-ID: <8103cf8683cac55efdd690c61f44005289e62856.1417029919.git.d-gerlach@ti.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141126_133937_460687_4DCDA94D X-CRM114-Status: UNSURE ( 9.29 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Tony Lindgren , Greg Kroah-Hartman , Kevin Hilman , Benoit Cousson , Dave Gerlach 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, 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 Add the device tree bindings document for ti,am3352-emif which is used by the ti-emif-sram driver to provide low-level PM functionality. Signed-off-by: Dave Gerlach --- .../bindings/memory-controllers/ti/emif-sram.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/memory-controllers/ti/emif-sram.txt diff --git a/Documentation/devicetree/bindings/memory-controllers/ti/emif-sram.txt b/Documentation/devicetree/bindings/memory-controllers/ti/emif-sram.txt new file mode 100644 index 0000000..72d6db0 --- /dev/null +++ b/Documentation/devicetree/bindings/memory-controllers/ti/emif-sram.txt @@ -0,0 +1,31 @@ +EMIF SRAM Driver +===================== + +TI AMx3 family of devices use a similar EMIF to other TI SoCs but have +different PM requirements. Late suspend code runs from SRAM and requires +save and restore of EMIF context and placing the SDRAM in and out of +self-refresh. Because of this, the ti-emif-sram driver introduces +relocatable PM function that can run from SRAM and place the EMIF in +the proper state for low-power mode transition. + +EMIF Device Node: +==================== +A emif node is used to represent an EMIF IP instance within an SoC. The node +must contain a phandle to an sram node so the ti-emif-sram driver can allocate +space within the sram and copy the relocatable PM functions. + +Required properties: +-------------------- +- compatible: Should be "ti,am3352-emif" for AM33xx SoCs +- reg: Contains the emif register address ranges. +- sram: Phandle for generic sram node for the driver + to use to copy PM functions to. + +Example: +-------- +/* AM33xx */ +emif: emif@4c000000 { + compatible = "ti,am3352-emif"; + reg = <0x4C000000 0x1000>; + sram = <&ocmcram>; +};