mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 22:23:55 +00:00
dd11376b9f
Split the drivers/scsi/ufs directory into 'core' and 'host' directories under the drivers/ufs/ directory. Move shared header files into the include/ufs/ directory. This separation makes it clear which header files UFS drivers are allowed to include (include/ufs/*.h) and which header files UFS drivers are not allowed to include (drivers/ufs/core/*.h). Update the MAINTAINERS file. Add myself as a UFS reviewer. Link: https://lore.kernel.org/r/20220511212552.655341-1-bvanassche@acm.org Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Avri Altman <avri.altman@wdc.com> Cc: Bean Huo <beanhuo@micron.com> Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Keoseong Park <keosung.park@samsung.com> Tested-by: Bean Huo <beanhuo@micron.com> Tested-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Bean Huo <beanhuo@micron.com> Acked-by: Avri Altman <avri.altman@wdc.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
34 lines
730 B
C
34 lines
730 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* UFS Host driver for Synopsys Designware Core
|
|
*
|
|
* Copyright (C) 2015-2016 Synopsys, Inc. (www.synopsys.com)
|
|
*
|
|
* Authors: Joao Pinto <jpinto@synopsys.com>
|
|
*/
|
|
|
|
#ifndef _UFSHCI_DWC_H
|
|
#define _UFSHCI_DWC_H
|
|
|
|
/* DWC HC UFSHCI specific Registers */
|
|
enum dwc_specific_registers {
|
|
DWC_UFS_REG_HCLKDIV = 0xFC,
|
|
};
|
|
|
|
/* Clock Divider Values: Hex equivalent of frequency in MHz */
|
|
enum clk_div_values {
|
|
DWC_UFS_REG_HCLKDIV_DIV_62_5 = 0x3e,
|
|
DWC_UFS_REG_HCLKDIV_DIV_125 = 0x7d,
|
|
DWC_UFS_REG_HCLKDIV_DIV_200 = 0xc8,
|
|
};
|
|
|
|
/* Selector Index */
|
|
enum selector_index {
|
|
SELIND_LN0_TX = 0x00,
|
|
SELIND_LN1_TX = 0x01,
|
|
SELIND_LN0_RX = 0x04,
|
|
SELIND_LN1_RX = 0x05,
|
|
};
|
|
|
|
#endif /* End of Header */
|