From patchwork Thu Nov 30 22:56: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: 120280 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp398804qgn; Thu, 30 Nov 2017 14:57:04 -0800 (PST) X-Google-Smtp-Source: AGs4zMYP5bGg+kh2lImsq+fuCkYv4EoebYDlWLJI9vGIidei9//xx01ttrebQ0RfWoTIBq0/z9rL X-Received: by 10.98.159.135 with SMTP id v7mr7564661pfk.162.1512082624517; Thu, 30 Nov 2017 14:57:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512082624; cv=none; d=google.com; s=arc-20160816; b=VmSbbc7EPTwXDOH0En93DG8RWuIRl+sLuEkeAfmp+lPM+9LqeQlou89NjLRQRHkpmT nUu7w0GJdB/dLPquDojEwgSmArR4c34niJO4KzsmV0bZ8Aew5av8yaG/TckGSwbuQtUz XHIgXd+UeCsEB7mc+6vIzOVc2ZfWn6mShGP4FR+qthHnAcwHvHZVhKtPhmt6hX/0qd64 zxpn6cMeDtvDrY7uRN0QzHISfG4PKRkTjVtkc+ZIXosj4fs5+USkBQyT4BPwVinhukv3 F7/pL8SvBB8rdNm0DKnHzXCu6ZzddanAxWm8uQ+kWSOlGclEPrzCirDbpMHTYqPD1ExQ LJgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=kpyTo7uD97ztyflMbfZiPXLlfKsvXgvyKpQH62rV/Dk=; b=x08vP6VNi7/uGJjeS2wHyYplltXdLfarsR1mL2uKKsk7+0w1nh+ecEtSOKmtd29C3E IvCCuGyb+HP9B9C7ghRZ4S0S7kYsNgjzCycDYzC4PXEVqNhw4nIPKm2bznZJCf9o6gdl I2y/6DrHwAonNwWsNbt7Qj9vIBFbBua3eY+V7B6IJpJmwOwqEMJUihv0xUG6PZODcUqR nTOEQXzSwyrEZSKvafmwpoLBt3G8Riz9DB7Z4cfpYoUEFLGre6pav+4TK7fi5aroBJtM Ato8vbP0eqE1WwRK6jH86INekyXdUE8IKHjnmDOiIEQ2qGN++kFi0V0OlFJh/uqJwY42 t6AA== 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=Vk84VUEF; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 i8si3932099pll.783.2017.11.30.14.57.03; Thu, 30 Nov 2017 14:57:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=Vk84VUEF; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1750842AbdK3W5C (ORCPT + 6 others); Thu, 30 Nov 2017 17:57:02 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:29276 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750747AbdK3W5B (ORCPT ); Thu, 30 Nov 2017 17:57:01 -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 vAUMuIoA013324; Thu, 30 Nov 2017 16:56:18 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1512082578; bh=BdgC7ErbRR/ycVsMp+5RfoTO+NpwdYhJ95CgRzhEY9E=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Vk84VUEFjILY+QyHjFoMe7hv7B5qXI8no7KLpFv5TigKVMCbxgFFzS3Vit09QsOiL AwoLb6euncZpujVAubUEIbfwRVeM73Vf1cZIQgumpPpnsmXYIzbW87rj5LzgEa/hAz Wz0lcdKSj4CnTENzTo9/RlaHQbCTk8HKwrvi6SE4= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vAUMuII4005017; Thu, 30 Nov 2017 16:56:18 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Thu, 30 Nov 2017 16:56:17 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Thu, 30 Nov 2017 16:56:17 -0600 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 vAUMuH23028638; Thu, 30 Nov 2017 16:56:17 -0600 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 vAUMuH326312; Thu, 30 Nov 2017 16:56:17 -0600 (CST) From: Dave Gerlach To: Tony Lindgren , Santosh Shilimkar CC: , , , , Rob Herring , Dave Gerlach , Russell King , Keerthy J , Johan Hovold Subject: [PATCH v6 1/2] Documentation: dt: Update ti,emif bindings Date: Thu, 30 Nov 2017 16:56:07 -0600 Message-ID: <1512082568-5012-2-git-send-email-d-gerlach@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1512082568-5012-1-git-send-email-d-gerlach@ti.com> References: <1512082568-5012-1-git-send-email-d-gerlach@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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. Acked-by: Rob Herring Acked-by: Tony Lindgren Signed-off-by: Dave Gerlach --- .../devicetree/bindings/memory-controllers/ti/emif.txt | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" 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 fd823d6091b2..29a99871e808 100644 --- a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt +++ b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt @@ -23,6 +23,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 @@ -44,7 +51,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"; @@ -56,3 +63,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>; +};