| .. | .. | 
|---|
| 38 | 38 |  	select PM_DEVFREQ | 
|---|
| 39 | 39 |  	select DEVFREQ_GOV_SIMPLE_ONDEMAND | 
|---|
| 40 | 40 |  	select NLS | 
|---|
| 41 |  | -	---help---  | 
|---|
 | 41 | +	help  | 
|---|
| 42 | 42 |  	This selects the support for UFS devices in Linux, say Y and make | 
|---|
| 43 | 43 |  	  sure that you know the name of your UFS host adapter (the card | 
|---|
| 44 | 44 |  	  inside your computer that "speaks" the UFS protocol, also | 
|---|
| .. | .. | 
|---|
| 46 | 46 |  	  The module will be called ufshcd. | 
|---|
| 47 | 47 |   | 
|---|
| 48 | 48 |  	  To compile this driver as a module, choose M here and read | 
|---|
| 49 |  | -	  <file:Documentation/scsi/ufs.txt>.  | 
|---|
 | 49 | +	  <file:Documentation/scsi/ufs.rst>.  | 
|---|
| 50 | 50 |  	  However, do not compile this as a module if your root file system | 
|---|
| 51 | 51 |  	  (the one containing the directory /) is located on a UFS device. | 
|---|
| 52 | 52 |   | 
|---|
| 53 | 53 |  config SCSI_UFSHCD_PCI | 
|---|
| 54 | 54 |  	tristate "PCI bus based UFS Controller support" | 
|---|
| 55 | 55 |  	depends on SCSI_UFSHCD && PCI | 
|---|
| 56 |  | -	---help---  | 
|---|
 | 56 | +	help  | 
|---|
| 57 | 57 |  	This selects the PCI UFS Host Controller Interface. Select this if | 
|---|
| 58 | 58 |  	you have UFS Host Controller with PCI Interface. | 
|---|
| 59 | 59 |   | 
|---|
| .. | .. | 
|---|
| 64 | 64 |  config SCSI_UFS_DWC_TC_PCI | 
|---|
| 65 | 65 |  	tristate "DesignWare pci support using a G210 Test Chip" | 
|---|
| 66 | 66 |  	depends on SCSI_UFSHCD_PCI | 
|---|
| 67 |  | -	---help---  | 
|---|
 | 67 | +	help  | 
|---|
| 68 | 68 |  	  Synopsys Test Chip is a PHY for prototyping purposes. | 
|---|
| 69 | 69 |   | 
|---|
| 70 | 70 |  	  If unsure, say N. | 
|---|
| .. | .. | 
|---|
| 72 | 72 |  config SCSI_UFSHCD_PLATFORM | 
|---|
| 73 | 73 |  	tristate "Platform bus based UFS Controller support" | 
|---|
| 74 | 74 |  	depends on SCSI_UFSHCD | 
|---|
| 75 |  | -	---help---  | 
|---|
 | 75 | +	depends on HAS_IOMEM  | 
|---|
 | 76 | +	help  | 
|---|
| 76 | 77 |  	This selects the UFS host controller support. Select this if | 
|---|
| 77 | 78 |  	you have an UFS controller on Platform bus. | 
|---|
| 78 | 79 |   | 
|---|
| .. | .. | 
|---|
| 80 | 81 |   | 
|---|
| 81 | 82 |  	  If unsure, say N. | 
|---|
| 82 | 83 |   | 
|---|
 | 84 | +config SCSI_UFS_CDNS_PLATFORM  | 
|---|
 | 85 | +	tristate "Cadence UFS Controller platform driver"  | 
|---|
 | 86 | +	depends on SCSI_UFSHCD_PLATFORM  | 
|---|
 | 87 | +	help  | 
|---|
 | 88 | +	This selects the Cadence-specific additions to UFSHCD platform driver.  | 
|---|
 | 89 | +  | 
|---|
 | 90 | +	  If unsure, say N.  | 
|---|
 | 91 | +  | 
|---|
| 83 | 92 |  config SCSI_UFS_DWC_TC_PLATFORM | 
|---|
| 84 | 93 |  	tristate "DesignWare platform support using a G210 Test Chip" | 
|---|
| 85 | 94 |  	depends on SCSI_UFSHCD_PLATFORM | 
|---|
| 86 |  | -	---help---  | 
|---|
 | 95 | +	help  | 
|---|
| 87 | 96 |  	  Synopsys Test Chip is a PHY for prototyping purposes. | 
|---|
| 88 | 97 |   | 
|---|
| 89 | 98 |  	  If unsure, say N. | 
|---|
| .. | .. | 
|---|
| 91 | 100 |  config SCSI_UFS_QCOM | 
|---|
| 92 | 101 |  	tristate "QCOM specific hooks to UFS controller platform driver" | 
|---|
| 93 | 102 |  	depends on SCSI_UFSHCD_PLATFORM && ARCH_QCOM | 
|---|
| 94 |  | -	select PHY_QCOM_UFS  | 
|---|
 | 103 | +	select QCOM_SCM  | 
|---|
 | 104 | +	select RESET_CONTROLLER  | 
|---|
| 95 | 105 |  	help | 
|---|
| 96 | 106 |  	  This selects the QCOM specific additions to UFSHCD platform driver. | 
|---|
| 97 | 107 |  	  UFS host on QCOM needs some vendor specific configuration before | 
|---|
| .. | .. | 
|---|
| 101 | 111 |  	  Select this if you have UFS controller on QCOM chipset. | 
|---|
| 102 | 112 |  	  If unsure, say N. | 
|---|
| 103 | 113 |   | 
|---|
 | 114 | +config SCSI_UFS_MEDIATEK  | 
|---|
 | 115 | +	tristate "Mediatek specific hooks to UFS controller platform driver"  | 
|---|
 | 116 | +	depends on SCSI_UFSHCD_PLATFORM && ARCH_MEDIATEK  | 
|---|
 | 117 | +	select PHY_MTK_UFS  | 
|---|
 | 118 | +	select RESET_TI_SYSCON  | 
|---|
 | 119 | +	help  | 
|---|
 | 120 | +	  This selects the Mediatek specific additions to UFSHCD platform driver.  | 
|---|
 | 121 | +	  UFS host on Mediatek needs some vendor specific configuration before  | 
|---|
 | 122 | +	  accessing the hardware which includes PHY configuration and vendor  | 
|---|
 | 123 | +	  specific registers.  | 
|---|
 | 124 | +  | 
|---|
 | 125 | +	  Select this if you have UFS controller on Mediatek chipset.  | 
|---|
 | 126 | +  | 
|---|
 | 127 | +	  If unsure, say N.  | 
|---|
 | 128 | +  | 
|---|
| 104 | 129 |  config SCSI_UFS_HISI | 
|---|
| 105 | 130 |  	tristate "Hisilicon specific hooks to UFS controller platform driver" | 
|---|
| 106 | 131 |  	depends on (ARCH_HISI || COMPILE_TEST) && SCSI_UFSHCD_PLATFORM | 
|---|
| 107 |  | -	---help---  | 
|---|
 | 132 | +	help  | 
|---|
| 108 | 133 |  	  This selects the Hisilicon specific additions to UFSHCD platform driver. | 
|---|
| 109 | 134 |   | 
|---|
| 110 | 135 |  	  Select this if you have UFS controller on Hisilicon chipset. | 
|---|
 | 136 | +	  If unsure, say N.  | 
|---|
 | 137 | +  | 
|---|
 | 138 | +config SCSI_UFS_TI_J721E  | 
|---|
 | 139 | +	tristate "TI glue layer for Cadence UFS Controller"  | 
|---|
 | 140 | +	depends on OF && HAS_IOMEM && (ARCH_K3 || COMPILE_TEST)  | 
|---|
 | 141 | +	help  | 
|---|
 | 142 | +	  This selects driver for TI glue layer for Cadence UFS Host  | 
|---|
 | 143 | +	  Controller IP.  | 
|---|
 | 144 | +  | 
|---|
 | 145 | +	  Selects this if you have TI platform with UFS controller.  | 
|---|
 | 146 | +	  If unsure, say N.  | 
|---|
 | 147 | +  | 
|---|
 | 148 | +config SCSI_UFS_BSG  | 
|---|
 | 149 | +	bool "Universal Flash Storage BSG device node"  | 
|---|
 | 150 | +	depends on SCSI_UFSHCD  | 
|---|
 | 151 | +	select BLK_DEV_BSGLIB  | 
|---|
 | 152 | +	help  | 
|---|
 | 153 | +	  Universal Flash Storage (UFS) is SCSI transport specification for  | 
|---|
 | 154 | +	  accessing flash storage on digital cameras, mobile phones and  | 
|---|
 | 155 | +	  consumer electronic devices.  | 
|---|
 | 156 | +	  A UFS controller communicates with a UFS device by exchanging  | 
|---|
 | 157 | +	  UFS Protocol Information Units (UPIUs).  | 
|---|
 | 158 | +	  UPIUs can not only be used as a transport layer for the SCSI protocol  | 
|---|
 | 159 | +	  but are also used by the UFS native command set.  | 
|---|
 | 160 | +	  This transport driver supports exchanging UFS protocol information units  | 
|---|
 | 161 | +	  with a UFS device. See also the ufshcd driver, which is a SCSI driver  | 
|---|
 | 162 | +	  that supports UFS devices.  | 
|---|
 | 163 | +  | 
|---|
 | 164 | +	  Select this if you need a bsg device node for your UFS controller.  | 
|---|
 | 165 | +	  If unsure, say N.  | 
|---|
 | 166 | +  | 
|---|
 | 167 | +config SCSI_UFS_EXYNOS  | 
|---|
 | 168 | +	tristate "EXYNOS specific hooks to UFS controller platform driver"  | 
|---|
 | 169 | +	depends on SCSI_UFSHCD_PLATFORM && (ARCH_EXYNOS || COMPILE_TEST)  | 
|---|
 | 170 | +	help  | 
|---|
 | 171 | +	  This selects the EXYNOS specific additions to UFSHCD platform driver.  | 
|---|
 | 172 | +	  UFS host on EXYNOS includes HCI and UNIPRO layer, and associates with  | 
|---|
 | 173 | +	  UFS-PHY driver.  | 
|---|
 | 174 | +  | 
|---|
 | 175 | +	  Select this if you have UFS host controller on EXYNOS chipset.  | 
|---|
| 111 | 176 |  	  If unsure, say N. | 
|---|
| 112 | 177 |   | 
|---|
| 113 | 178 |  config SCSI_UFS_CRYPTO | 
|---|
| .. | .. | 
|---|
| 118 | 183 |  	  Enabling this makes it possible for the kernel to use the crypto | 
|---|
| 119 | 184 |  	  capabilities of the UFS device (if present) to perform crypto | 
|---|
| 120 | 185 |  	  operations on data being transferred to/from the device. | 
|---|
 | 186 | +  | 
|---|
 | 187 | +config SCSI_UFS_HPB  | 
|---|
 | 188 | +	bool "Support UFS Host Performance Booster"  | 
|---|
 | 189 | +	depends on SCSI_UFSHCD  | 
|---|
 | 190 | +	help  | 
|---|
 | 191 | +	  The UFS HPB feature improves random read performance. It caches  | 
|---|
 | 192 | +	  L2P (logical to physical) map of UFS to host DRAM. The driver uses HPB  | 
|---|
 | 193 | +	  read command by piggybacking physical page number for bypassing FTL (flash  | 
|---|
 | 194 | +	  translation layer)'s L2P address translation.  | 
|---|