From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECC85C282CE for ; Mon, 22 Apr 2019 13:33:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BE5BF2087E for ; Mon, 22 Apr 2019 13:33:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555939998; bh=AbC+b/LZ1f5TWgnlumRe9qmYiHgNCXB9ZmlGIsWMw1g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=0yYVJjszrVHzrDKR9IAB+gUJ55xoD3WXgfMIDGCsABqYa5Houi3u1Rwu3DFBh6MTz 57qbyThx2Iuxpmaibkgwtyd9C8jjFWN6JwGjR7kOiz05reRAq8oWN16AR/z1Lk5l9R FWy7zvu7dR/ZPbXxAVDEV4BIkKbouVK2coqWHqBY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727587AbfDVNdR (ORCPT ); Mon, 22 Apr 2019 09:33:17 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:37644 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727534AbfDVN2U (ORCPT ); Mon, 22 Apr 2019 09:28:20 -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=COYQynwiWcfV4ql7L3zUct4W9iCDBklaXF7pt7Mt+fg=; b=cZ3QKrQ71K3YMUSxD63GzEyhM6 4TomKDPH4wtDN3HvUy354ZgdiFLoKT8B7jJBNDvKAKA+KZQH8jIlUdVKanhEBkL11/TZUImIJW6B/ HuCskNKFovH1TtIY+GVYlFaWZur69s210OrisdsViqrgnhafGRZfCf3p4yzuQ7B/pK31zXzdfMonl qnSbIaSo8fPsWtz9VSUfPu9YoxdPSnwY45devccktlKVCU0AmsEpP/hh4zpu8jk+QJzlX6YlCk+mN UmX8cV375w3TFd4L2ySWMy7r/nUfuEVKwyTqX2GNbQfNQTNAbZsiN3lRjPUON9V6f/ytvWpoh2223 obIAsqiQ==; Received: from 179.176.125.229.dynamic.adsl.gvt.net.br ([179.176.125.229] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hIYza-0005I2-MA; Mon, 22 Apr 2019 13:28:18 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hIYzT-0005nV-P0; Mon, 22 Apr 2019 10:28:11 -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 50/79] docs: memory-devices: convert ti-emif.txt to ReST Date: Mon, 22 Apr 2019 10:27:39 -0300 Message-Id: <0e9c023bbb657d7f870fa8734eb333bb788bb881.1555938376.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 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.20.1