Documentation/memory-devices/ti-emif.txt

   Chinese translated versionof Documentation/memory-devices/ti-emif.txt

   If you have any comment or update tothe content, please contact the

   original document maintainerdirectly.  However, if you have a problem

   communicating in English you can alsoask the Chinese maintainer for

   help.  Contact the Chinesemaintainer if this translation is outdated

   or if there is a problem with thetranslation.

   Chinese maintainer:  沈芳丽 fairyshen@163.com

   ---------------------------------------------------------------------

   Documentation/memory-devices/ti-emif.txt的中文翻译

   如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文

   交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻

   译存在问题,请联系中文版维护者。

   中文版维护者:   沈芳丽  fairyshen@163.com

   中文版翻译者:  沈芳丽  fairyshen@163.com

   以下为正文

   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

   描述

   ============

   此驱动程序是可德州仪器SoCEMIF模块。EMIF是在其基础上进行修改的

  SDRAM控制器,支持DDR2DDR3LPDDR2 SDRAM协议中的一个或多个。

  目前这个驱动程序只负责LPDDR2存储器。驱动程序的功能包括重新配置AC

  时参数及频率,电压和温度变化期间的其它设置。

  

  

  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
   'struct emif_custom_configs'
  - IP revision
  - PHY type
  平台数据 (见于 include/linux/platform_data/emif_plat.h):
  =============================================================
 
 
DDR设备细节和其他的附属部分及SoC附属信息可以通过平台数据传递(struct 
emif_platform_data)
- DDR设备细节:'struct ddr_device_info'
-AC定时设备:'struct lpddr2_timings' 和 'struct lpddr2_min_tck'
-自定义配置:定制的政策选择通过'struct emif_custom_configs'
-IP修订
-PHY类型
  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()
 
  外部世界的接口
  ================================
 
 
电压和频率变化影响EMIF EMIF驱动寄存器发出通知,并采取适当行动,当这些被调用。
- 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
  indicates the current temperature level of the device.
 
 
  Debugfs

   ========

  每个设备,驱动程序创建两个debugfs条目。

   - regcache_dump :转储寄存器使用至今所有频率的计算并保存的值。

   - mr4 :上一次轮询中MR4寄存器在LPDDR2设备中的值。

   MR4显示设备的当前温度水平。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值