Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4211997ybi; Tue, 18 Jun 2019 13:58:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtRzSLy+4bjbLrji8paln+B8un9JiDnkTvyyAXXlcIW543TmOQbELBEYJwUzDa+XpazrqO X-Received: by 2002:a62:2ec4:: with SMTP id u187mr120277078pfu.84.1560891492336; Tue, 18 Jun 2019 13:58:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560891492; cv=none; d=google.com; s=arc-20160816; b=adE89Z3mHNQuyz6dk4N2NHzy/LxkKwYaAfPTlqKD4sF8q0yK82ByXeLtuhwMu+bpfC H3f2SSGcSRx2LrpNzkQY0FZ4Sjngfe4ahReQzh2S63oDm+PaQ+OBdyczKmR7PIXpxXox 9Bl2wq0qzsirN1sQQWvVdRj5CaMzdmjwOzaixCl5Lp+KCLpjbeL1p4sCGAL1J8j4ViFu LBusdciDHm+KWhcrqEHDuI3pJahKiwDKdMMjtTZGuQocBIJT+c2wfwaIXCtY7m/iVB0y uDvdFleQJPBTV6eda1L4y6au+rIaBY7tiBbaQBM2IKenJnnwuGzgt2qMd7HwmkQBBzmi SJQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4cWjMp5PaXweLfT1aRxtKRWZepkzB8FeW0x9RJN+xzA=; b=SBRgk9f44op8jJhg/yftk0lqF0AixS3j1IZnpMBH/WEM0vPP02GFZqtlN7Kr8OGgTb NjNYDFnOZFwkXWRiFDvXFvqGGCjEpN0r2unIYRVTwP7xaMMMN8EVrEo1vcHliVXRQmZN zmSlKX0hsqah23XcKbxANWB16x0Ht4gn04k2PWTkTwJtRE533rcaxWcf/GJhcesVNeMj LF+0nL4U/t/tOZrkLJ+IdjNMJrSn+a2v5WSiowTwBlm97d8KgJG64bxxr3QgTFvhmZVd fmFtYqtKwMCG0d2iHJ/+iDN32GgJefhvydeSlW4plALR2m6m5TCvt2zctWB/iUQ7z+y5 xQJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=jXf3ilEt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l2si3137115pju.5.2019.06.18.13.57.57; Tue, 18 Jun 2019 13:58:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=jXf3ilEt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730834AbfFRUz7 (ORCPT + 99 others); Tue, 18 Jun 2019 16:55:59 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:50376 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730670AbfFRUxy (ORCPT ); Tue, 18 Jun 2019 16:53:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type: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=4cWjMp5PaXweLfT1aRxtKRWZepkzB8FeW0x9RJN+xzA=; b=jXf3ilEtuZOXAfWKdgNAuUijb5 tp8Wujfqk9HxA+5LuFVSfGD9DyCoyk9prc/EWQ1YIiwlZJEcHiaITjFk76rzEw843V6OJhm6QVHiH eb+R0cmI8GFFbAkCa/31PH0k/l2qkFIS/2526WpukU1DFkQ5BgNAn1MTOzf8Be8BqWlI5PAS7k8J9 fT7nz+x7zN5HyRd7nNgVxKn/v1Nf8UZarz+I4SC1zNR5b2gLuWKci2Mdrr0/JLmupMxLu7W93Svli VpVT3jjqh/8odFMj4mxHsmjT7JNE6QHdMcygteX5FgT0j6Ils5xWlG9z6EToBQ6Sf75fIFcFo9fMU ZRWfjoBg==; Received: from 177.133.86.196.dynamic.adsl.gvt.net.br ([177.133.86.196] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hdL73-0008Mk-HU; Tue, 18 Jun 2019 20:53:53 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hdL6z-0001zZ-UB; Tue, 18 Jun 2019 17:53:49 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH v2 11/29] docs: memory-devices: convert ti-emif.txt to ReST Date: Tue, 18 Jun 2019 17:53:29 -0300 Message-Id: <625735651da142ff1ded1711fdb0f01758b6a54b.1560890800.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Prepare this file to be moved to a kernel book by converting it to ReST format and renaming it to ti-emif.rst. While this is not part of any book, mark it as :orphan:, in order to avoid build warnings. Signed-off-by: Mauro Carvalho Chehab --- .../{ti-emif.txt => ti-emif.rst} | 27 ++++++++++++------- 1 file changed, 17 insertions(+), 10 deletions(-) rename Documentation/memory-devices/{ti-emif.txt => ti-emif.rst} (81%) diff --git a/Documentation/memory-devices/ti-emif.txt b/Documentation/memory-devices/ti-emif.rst similarity index 81% rename from Documentation/memory-devices/ti-emif.txt rename to Documentation/memory-devices/ti-emif.rst index f4ad9a7d0f4b..c9242294e63c 100644 --- a/Documentation/memory-devices/ti-emif.txt +++ b/Documentation/memory-devices/ti-emif.rst @@ -1,20 +1,24 @@ -TI EMIF SDRAM Controller Driver: +:orphan: + +=============================== +TI EMIF SDRAM Controller Driver +=============================== Author -======== +====== Aneesh V Location -============ +======== driver/memory/emif.c Supported SoCs: -=================== +=============== TI OMAP44xx TI OMAP54xx Menuconfig option: -========================== +================== Device Drivers Memory devices Texas Instruments EMIF driver @@ -29,10 +33,11 @@ functions of the driver includes re-configuring AC timing parameters and other settings during frequency, voltage and temperature changes -Platform Data (see include/linux/platform_data/emif_plat.h): -===================================================================== +Platform Data (see include/linux/platform_data/emif_plat.h) +=========================================================== DDR device details and other board dependent and SoC dependent information can be passed through platform data (struct emif_platform_data) + - DDR device details: 'struct ddr_device_info' - Device AC timings: 'struct lpddr2_timings' and 'struct lpddr2_min_tck' - Custom configurations: customizable policy options through @@ -40,17 +45,19 @@ information can be passed through platform data (struct emif_platform_data) - IP revision - PHY type -Interface to the external world: -================================ +Interface to the external world +=============================== EMIF driver registers notifiers for voltage and frequency changes affecting EMIF and takes appropriate actions when these are invoked. + - freq_pre_notify_handling() - freq_post_notify_handling() - volt_notify_handling() Debugfs -======== +======= The driver creates two debugfs entries per device. + - regcache_dump : dump of register values calculated and saved for all frequencies used so far. - mr4 : last polled value of MR4 register in the LPDDR2 device. MR4 -- 2.21.0