linux/drivers/ufs/host/ufs-sprd.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * UNISOC UFS Host Controller driver
 *
 * Copyright (C) 2022 Unisoc, Inc.
 * Author: Zhe Wang <[email protected]>
 */

#ifndef _UFS_SPRD_H_
#define _UFS_SPRD_H_

/* Vendor specific attributes */
#define RXSQCONTROL
#define CBRATESEL
#define CBCREGADDRLSB
#define CBCREGADDRMSB
#define CBCREGWRLSB
#define CBCREGWRMSB
#define CBCREGRDWRSEL
#define CBCRCTRL
#define CBREFCLKCTRL2
#define VS_MPHYDISABLE

#define APB_UFSDEV_REG
#define APB_UFSDEV_REFCLK_EN
#define APB_USB31PLL_CTRL
#define APB_USB31PLLV_REF2MPHY

#define SPRD_SIP_SVC_STORAGE_UFS_CRYPTO_ENABLE

enum SPRD_UFS_RST_INDEX {};

enum SPRD_UFS_SYSCON_INDEX {};

enum SPRD_UFS_VREG_INDEX {};

struct ufs_sprd_rst {};

struct ufs_sprd_syscon {};

struct ufs_sprd_vreg {};

struct ufs_sprd_priv {};

struct ufs_sprd_host {};

#endif /* _UFS_SPRD_H_ */