ti-emif.txt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. TI EMIF SDRAM Controller Driver:
  2. Author
  3. ========
  4. Aneesh V <aneesh@ti.com>
  5. Location
  6. ============
  7. driver/memory/emif.c
  8. Supported SoCs:
  9. ===================
  10. TI OMAP44xx
  11. TI OMAP54xx
  12. Menuconfig option:
  13. ==========================
  14. Device Drivers
  15. Memory devices
  16. Texas Instruments EMIF driver
  17. Description
  18. ===========
  19. This driver is for the EMIF module available in Texas Instruments
  20. SoCs. EMIF is an SDRAM controller that, based on its revision,
  21. supports one or more of DDR2, DDR3, and LPDDR2 SDRAM protocols.
  22. This driver takes care of only LPDDR2 memories presently. The
  23. functions of the driver includes re-configuring AC timing
  24. parameters and other settings during frequency, voltage and
  25. temperature changes
  26. Platform Data (see include/linux/platform_data/emif_plat.h):
  27. =====================================================================
  28. DDR device details and other board dependent and SoC dependent
  29. information can be passed through platform data (struct emif_platform_data)
  30. - DDR device details: 'struct ddr_device_info'
  31. - Device AC timings: 'struct lpddr2_timings' and 'struct lpddr2_min_tck'
  32. - Custom configurations: customizable policy options through
  33. 'struct emif_custom_configs'
  34. - IP revision
  35. - PHY type
  36. Interface to the external world:
  37. ================================
  38. EMIF driver registers notifiers for voltage and frequency changes
  39. affecting EMIF and takes appropriate actions when these are invoked.
  40. - freq_pre_notify_handling()
  41. - freq_post_notify_handling()
  42. - volt_notify_handling()
  43. Debugfs
  44. ========
  45. The driver creates two debugfs entries per device.
  46. - regcache_dump : dump of register values calculated and saved for all
  47. frequencies used so far.
  48. - mr4 : last polled value of MR4 register in the LPDDR2 device. MR4
  49. indicates the current temperature level of the device.