[PATCH] scsi: ufs-mediatek: Modify the minimum RX/TX lane count to 2
Avri Altman
Avri.Altman at wdc.com
Thu Aug 20 02:03:45 EDT 2020
>
> From: Andy Teng <andy.teng at mediatek.com>
>
> MediaTek UFS host starts to support 2 lanes, thus modify the
> minimum 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.
>
> Reviewed-by: Stanley Chu <stanley.chu at mediatek.com>
> Signed-off-by: Andy Teng <andy.teng at mediatek.com>
> Singed-off-by: Stanley Chu <stanley.chu at mediatek.com>
Reviewed-by: Avri Altman <avri.altman at wdc.com>
But then again, why those constants needs to be re-negotiated every pre-change?
Thanks,
Avri
More information about the Linux-mediatek
mailing list