本文主要是介绍Documentation/memory-devices/ti-emif.txt,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
如果想评论或更新本文的内容,请直接联系原文档的维护者。
如果你使用英文交流有困难的话,也可以向中文版维护者求助。
如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。
中文版维护者: 姚家珺AriosYao ks666dejia@163.com
中文版翻译者: 姚家珺AriosYao ks666dejia@163.com
中文版校译者: 姚家珺AriosYao ks666dejia@163.com
TI EMIF SDRAM Controller Driver:
TI EMIF SDRAM/同步随机存储器 控制器驱动程序:
Author/作者
========
Aneesh V <aneesh@ti.com>
Location/驱动文件位置
============
driver/memory/emif.c
Supported SoCs:/支持型号
===================
TI OMAP44xx
TI OMAP54xx
Menuconfig option:/菜单设置选项
==========================
Device Drivers
Memory devices
Texas Instruments EMIF driver
Description/描述
===========
This driver is for the EMIF module available in Texas Instruments
SoCs. EMIF is an SDRAM controller that, based on its revision,
supports one or more of DDR2, DDR3, and LPDDR2 SDRAM protocols.
This driver takes care of only LPDDR2 memories presently. The
functions of the driver includes re-configuring AC timing
parameters and other settings during frequency, voltage and
temperature changes
该驱动程序支持的是德州仪器生产/研发的系统芯片的EMIF模块。
在EMIF SDRAM控制器的基础上,对其进行修改,
支持DDR2,DDR3和LPDDR2 SDRAM协议。目前只有LPDDR2存储器可以支持。该
的驱动程序的功能包括在电压和温度的变化期间重新配置的AC定时参数和其它设置的频率。
Platform Data/平台数据 (see include/linux/platform_data/emif_plat.h):
=====================================================================
DDR device details and other board dependent and SoC dependent
DDR设备的详细信息及其他电路板相关和SoC相关
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
'struct emif_custom_configs'
- IP revision
- PHY type
Interface to the external world/对外接口:
===============================
EMIF driver registers notifiers for voltage and frequency changes
affecting EMIF and takes appropriate actions when these are invoked.
EMIF驱动程序为了适应电压和频率的变化,注册通知器
当以下函数被调用时候,将影响EMIF,并采取适当行动。
- freq_pre_notify_handling()
- freq_post_notify_handling()
- volt_notify_handling()
Debugfs/纠错
========
The driver creates two debugfs entries per device.
驱动程序为每个设备创建两个debug纠错文件
- 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
indicates the current temperature level of the device.
上一次轮询LPDDR2设备MR4寄存器的值。MR4表示设备的当前温度水平。
这篇关于Documentation/memory-devices/ti-emif.txt的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!