Kconfig 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. #
  2. # Kernel configuration file for the UFS Host Controller
  3. #
  4. # This code is based on drivers/scsi/ufs/Kconfig
  5. # Copyright (C) 2011-2013 Samsung India Software Operations
  6. #
  7. # Authors:
  8. # Santosh Yaraganavi <santosh.sy@samsung.com>
  9. # Vinayak Holikatti <h.vinayak@samsung.com>
  10. #
  11. # This program is free software; you can redistribute it and/or
  12. # modify it under the terms of the GNU General Public License
  13. # as published by the Free Software Foundation; either version 2
  14. # of the License, or (at your option) any later version.
  15. # See the COPYING file in the top-level directory or visit
  16. # <http://www.gnu.org/licenses/gpl-2.0.html>
  17. #
  18. # This program is distributed in the hope that it will be useful,
  19. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  20. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  21. # GNU General Public License for more details.
  22. #
  23. # This program is provided "AS IS" and "WITH ALL FAULTS" and
  24. # without warranty of any kind. You are solely responsible for
  25. # determining the appropriateness of using and distributing
  26. # the program and assume all risks associated with your exercise
  27. # of rights with respect to the program, including but not limited
  28. # to infringement of third party rights, the risks and costs of
  29. # program errors, damage to or loss of data, programs or equipment,
  30. # and unavailability or interruption of operations. Under no
  31. # circumstances will the contributor of this Program be liable for
  32. # any damages of any kind arising from your use or distribution of
  33. # this program.
  34. config SCSI_UFSHCD
  35. tristate "Universal Flash Storage Controller Driver Core"
  36. depends on SCSI && SCSI_DMA
  37. select PM_DEVFREQ
  38. select DEVFREQ_GOV_SIMPLE_ONDEMAND
  39. select NLS
  40. ---help---
  41. This selects the support for UFS devices in Linux, say Y and make
  42. sure that you know the name of your UFS host adapter (the card
  43. inside your computer that "speaks" the UFS protocol, also
  44. called UFS Host Controller), because you will be asked for it.
  45. The module will be called ufshcd.
  46. To compile this driver as a module, choose M here and read
  47. <file:Documentation/scsi/ufs.txt>.
  48. However, do not compile this as a module if your root file system
  49. (the one containing the directory /) is located on a UFS device.
  50. config SCSI_UFSHCD_PCI
  51. tristate "PCI bus based UFS Controller support"
  52. depends on SCSI_UFSHCD && PCI
  53. ---help---
  54. This selects the PCI UFS Host Controller Interface. Select this if
  55. you have UFS Host Controller with PCI Interface.
  56. If you have a controller with this interface, say Y or M here.
  57. If unsure, say N.
  58. config SCSI_UFS_DWC_TC_PCI
  59. tristate "DesignWare pci support using a G210 Test Chip"
  60. depends on SCSI_UFSHCD_PCI
  61. ---help---
  62. Synopsys Test Chip is a PHY for prototyping purposes.
  63. If unsure, say N.
  64. config SCSI_UFSHCD_PLATFORM
  65. tristate "Platform bus based UFS Controller support"
  66. depends on SCSI_UFSHCD
  67. ---help---
  68. This selects the UFS host controller support. Select this if
  69. you have an UFS controller on Platform bus.
  70. If you have a controller with this interface, say Y or M here.
  71. If unsure, say N.
  72. config SCSI_UFS_DWC_TC_PLATFORM
  73. tristate "DesignWare platform support using a G210 Test Chip"
  74. depends on SCSI_UFSHCD_PLATFORM
  75. ---help---
  76. Synopsys Test Chip is a PHY for prototyping purposes.
  77. If unsure, say N.
  78. config SCSI_UFS_QCOM
  79. tristate "QCOM specific hooks to UFS controller platform driver"
  80. depends on SCSI_UFSHCD_PLATFORM && ARCH_QCOM
  81. select PHY_QCOM_UFS
  82. help
  83. This selects the QCOM specific additions to UFSHCD platform driver.
  84. UFS host on QCOM needs some vendor specific configuration before
  85. accessing the hardware which includes PHY configuration and vendor
  86. specific registers.
  87. Select this if you have UFS controller on QCOM chipset.
  88. If unsure, say N.