From patchwork Fri Oct 13 20:59:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Gerlach X-Patchwork-Id: 115829 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1151608qgn; Fri, 13 Oct 2017 14:00:15 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBnzvS0Y6gBud5ofeBiQc8zrAyj5lypuXT4KVSIKlOltIYbxIQwZWApqWLQe2He443nn+3z X-Received: by 10.98.31.73 with SMTP id f70mr2367708pff.183.1507928415577; Fri, 13 Oct 2017 14:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507928415; cv=none; d=google.com; s=arc-20160816; b=kuCEnGlWHL9d5VUsRmH11LdRdDauW1tm1F0CejOkmRq9L0T4LPfKb4D01u+0YhlOnA JWc7HyRbiuEX7W/DiwJkj4V8OnUG4n1DEzeBY2u8ibO3rxoqLBr3/gx7ERqmqYUVpEIY iOF+CppCmvnl1JCy5mWcjJxFk5nnywiYYAbXB1Bg9sWXa68pcjwTplGnKyJrd/poESTX QjJeqxbyN5LHw/J17cceJH1oZUGRddCP4pDzcFUtBfkwJ1b5O5dPSzb8JMprBCmSY7h5 +f0/xtyQ4pTFxQ8yf8KyetKvhHp2baL8dvfL3MGxgk9kA50wKNdibHaIi87jYy+LobWs dqbQ== 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=gTenLS2C8qptnc2471C0W1Pb+t+r4YpzAMqiKd9v6LQ=; b=0qvt9EpM8oJGDPcl98OO4ltRDsOAcHlP/IweZRsplBSSVXhE44/UoIjYmXYEHiTjV/ Q9D7FaDmJGoMjLnLVeGZ18PEw0iw747qj3SNEcq2xRE27pTwVHfohfdHxMJaRMqCNN9w o7tQ/3T/5u1S0K02QP/CgMLvGw3YOhZ0kzKrrC9G3hjuvfkVM1GJNytiD8S3UW5LcBj4 8UZal5+bTZghQF+vMV6eTcFkt+tuaB4GxswxvTGVpwDcEW9uFIZ2neuq7fy39f51rJuG YiRYAYMP0Eoye+AfyAtuNQmStmCtiFHcz8/cMvIK5f168EfLYT+CRVeylVbAaWuhCucr V9/w== 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=k0ZxCQ2Y; 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 s18si1039028pfg.199.2017.10.13.14.00.15; Fri, 13 Oct 2017 14:00:15 -0700 (PDT) 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=k0ZxCQ2Y; 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 S1752532AbdJMVAO (ORCPT + 6 others); Fri, 13 Oct 2017 17:00:14 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:31514 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751889AbdJMVAN (ORCPT ); Fri, 13 Oct 2017 17:00:13 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v9DKxKir006441; Fri, 13 Oct 2017 15:59:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1507928361; bh=HY/iqhvh0jsfSG8ioMxhup4/MX419m06dpmAiQ13ygQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=k0ZxCQ2Yrx5PC+XwewwfkpNAD5/o5q3mXxldHGalVFbX3lmOOEsc+Xdxpt8PYl/SM kQzoeiSNqrHtb0Mgke2SecDjsAjPqV0ecmYALBbF/C6aF0wim1S6IyalXnVmfnAMOE TRAA44bveH98+d+mytirTisACKJiySV6NlXpsV8w= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9DKxKpK010003; Fri, 13 Oct 2017 15:59:20 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Fri, 13 Oct 2017 15:59:20 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Fri, 13 Oct 2017 15:59:20 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9DKxKeH023900; Fri, 13 Oct 2017 15:59:20 -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 v9DKxK317953; Fri, 13 Oct 2017 15:59:20 -0500 (CDT) From: Dave Gerlach To: Tony Lindgren , Santosh Shilimkar , Russell King CC: , , , , Rob Herring , Dave Gerlach , Keerthy J , Johan Hovold Subject: [PATCH v5 1/2] Documentation: dt: Update ti,emif bindings Date: Fri, 13 Oct 2017 15:59:14 -0500 Message-ID: <20171013205915.9652-2-d-gerlach@ti.com> X-Mailer: git-send-email 2.13.4 In-Reply-To: <20171013205915.9652-1-d-gerlach@ti.com> References: <20171013205915.9652-1-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 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) -- 2.13.4 -- 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 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>; +};