mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
spi: rockchip-sfc: Support VER8
Change-Id: Ide16bcbec9056b5ba2b6ed18127d7a33d4b1f7bf Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
@@ -114,6 +114,7 @@
|
||||
#define SFC_VER_4 0x4
|
||||
#define SFC_VER_5 0x5
|
||||
#define SFC_VER_6 0x6
|
||||
#define SFC_VER_8 0x8
|
||||
|
||||
/* Delay line controller resiter */
|
||||
#define SFC_DLL_CTRL0 0x3C
|
||||
@@ -227,6 +228,7 @@ static u32 rockchip_sfc_get_max_iosize(struct rockchip_sfc *sfc)
|
||||
static u32 rockchip_sfc_get_max_dll_cells(struct rockchip_sfc *sfc)
|
||||
{
|
||||
switch (rockchip_sfc_get_version(sfc)) {
|
||||
case SFC_VER_8:
|
||||
case SFC_VER_6:
|
||||
case SFC_VER_5:
|
||||
return SFC_DLL_CTRL0_DLL_MAX_VER5;
|
||||
|
||||
Reference in New Issue
Block a user