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: 5388451 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8A8679F2F5 for ; Wed, 26 Nov 2014 21:41:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BD501201F4 for ; Wed, 26 Nov 2014 21:40:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DAE7F201C7 for ; Wed, 26 Nov 2014 21:40:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753298AbaKZVjj (ORCPT ); Wed, 26 Nov 2014 16:39:39 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:59234 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752741AbaKZVji (ORCPT ); Wed, 26 Nov 2014 16:39:38 -0500 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: , , , CC: Tony Lindgren , Benoit Cousson , Kevin Hilman , Greg Kroah-Hartman , Dave Gerlach 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 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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>; +};