scsi: ufs: ufs-mediatek: Modify the minimum RX/TX lane count to 2
authorAndy Teng <andy.teng@mediatek.com>
Wed, 19 Aug 2020 08:43:40 +0000 (16:43 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 21 Aug 2020 01:59:34 +0000 (21:59 -0400)
commit460d74a0911c562f56148519a2467271271a73aa
treef4d8760aa6a5cd1dee75149fccd84eb7958d4bca
parent50807f22c89f77f8478d2feb8e1289582034e06e
scsi: ufs: ufs-mediatek: Modify the minimum RX/TX lane count to 2

MediaTek UFS host now supports 2 lanes. Modify the lane count to 2.

This modification shall not impact old 1-lane host because
PA_CONNECTEDRXDATALANES and PA_CONNECTEDTXDATALANES will limit the target
lanes properly during power mode change. So we could relax the limitation
in ufs_dev_params.

Link: https://lore.kernel.org/r/20200819084340.7021-1-stanley.chu@mediatek.com
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Andy Teng <andy.teng@mediatek.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-mediatek.h