Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2768712yba; Mon, 15 Apr 2019 20:03:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwO+OWC41kA9GPN6n2EAa/Mi2q+4eNC3EsUbpuiPz/Dzo+rwEGLQnPhqW/ObU/MRkfytpQh X-Received: by 2002:a63:1359:: with SMTP id 25mr72345049pgt.92.1555383792188; Mon, 15 Apr 2019 20:03:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555383792; cv=none; d=google.com; s=arc-20160816; b=m8sFVHrhXi3l1xEQICs1ATcDbp23cehySeyYtRMQrMBQd0b3uXVDz/MdQXSOwSdCfd z20HnFiHdEZsKQMuVSEf4DRcZUn6C+/k1+f3G+KiBo/lOem3Jm8f8/7SYeCeZvBfEYAH +o8tdmC8ZP+cYj54aWwoC5rWE/ZuvojRKasdI6Exahjw1YSjwi/uoGHzCfzckTU4P8Tp tH5eO+QPR06fdgbUqjN06TjuOj2/YT6G5qgXLkr8qu+ltMuiqMKLxKI/LvrEbQPmNrUH KsLOijgXhH9hwkRfhJvvIC9jZBHYJqUvZzQ469Upy+NscgJwhv0yUI704y9VSrdviOEH TWDg== 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=q+3EGdDIPNdAXYdZsIcsA19ZmC3MF/U+m8Me7nsjfpc=; b=WzoKvgzyHgygIfTIIunDtycwbMZYw78aCnkHnQZLh3C83iAmq2+eyq9BD5Yywg85iu 31/F4mLOpijKx5n72pv1nQ92G8Gqje007313ENbFHyS5pntY7FjL0zEIxAqLMsE4XLqL EiqZv976MydaiOMw0d3qh3G4wPscPVn/k6dAiH4dYhjZFzW+edwXp9hefPXhPLu7Fo4P XVEKl/Ey0jqwROWTru1zSGJ7s2jphLPGixUTjl02AapXPo2ERC4VOYcFUf+ZQ2uHqBDT J5ki7iO8HqTQozKjTmpdbDTxcv1CZ50Jt0E+60qjPfQvH61Mq5TlizTP+F4QDslSpoOI jH2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=el0vw79H; 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 cl15si28070500plb.117.2019.04.15.20.02.56; Mon, 15 Apr 2019 20:03: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=el0vw79H; 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 S1728446AbfDPDCE (ORCPT + 99 others); Mon, 15 Apr 2019 23:02:04 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44146 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726773AbfDPC4c (ORCPT ); Mon, 15 Apr 2019 22:56:32 -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=q+3EGdDIPNdAXYdZsIcsA19ZmC3MF/U+m8Me7nsjfpc=; b=el0vw79HHjbsTtt4ZEshIsivdz qckrtfdk8kl2lDCdSqXv9XK0V5gb3zwHnXcYWAsDyiSW4Do+S7tCUD9Cs8GC7TTRQ8NRnuRRBkgms RwgpYp9W8g/wH4AbpIdywnwuW8h+rG/nr/A0ZecbKCnGjfFaB1FHsFRMprgqjJUdYfWCdnfloVMEz 5eFgWlIHfIaQAoR0lSyHJd8t8uRqNQ22WcxDawnM5rW9g5xybJgB4rIQfc86vw8M98+K3P2rd1Zo5 GcNASURqNNDjL13Kakc0pSTp646K8QSM/Fu6u+an2gJoUmmwKEVviyO9/VqIaDRw8ZaoSoZ0nRIb6 l8LgkRuA==; Received: from 177.205.118.176.dynamic.adsl.gvt.net.br ([177.205.118.176] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hGEGt-0007aS-Lq; Tue, 16 Apr 2019 02:56:31 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hGEGo-0001q2-Bl; Mon, 15 Apr 2019 23:56:26 -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 52/57] docs: memory-devices: convert ti-emif.txt to ReST format Date: Mon, 15 Apr 2019 23:56:17 -0300 Message-Id: <67c899f93d3e5c7ac712488f6d498777f0a0390f.1555382110.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.20.1 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. Signed-off-by: Mauro Carvalho Chehab --- Documentation/bus-devices/ti-gpmc.txt | 1 + Documentation/memory-devices/ti-emif.txt | 25 ++++++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/Documentation/bus-devices/ti-gpmc.txt b/Documentation/bus-devices/ti-gpmc.txt index cc9ce57e0a26..c434fcfc5e4c 100644 --- a/Documentation/bus-devices/ti-gpmc.txt +++ b/Documentation/bus-devices/ti-gpmc.txt @@ -3,6 +3,7 @@ GPMC (General Purpose Memory Controller): GPMC is an unified memory controller dedicated to interfacing external memory devices like + * Asynchronous SRAM like memories and application specific integrated circuit devices. * Asynchronous, synchronous, and page mode burst NOR flash devices diff --git a/Documentation/memory-devices/ti-emif.txt b/Documentation/memory-devices/ti-emif.txt index f4ad9a7d0f4b..371f581bd276 100644 --- a/Documentation/memory-devices/ti-emif.txt +++ b/Documentation/memory-devices/ti-emif.txt @@ -1,20 +1,22 @@ -TI EMIF SDRAM Controller Driver: +=============================== +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 +31,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 +43,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.20.1