[PATCH v2] scsi: ufs-mediatek: Add UFS support for Mediatek SoC chips

stanley.chu-NuS5LvNUpcJWk0Htik3J/w
2019-02-25T09:24:08Z

Hello,

This patch series adds UFS M-PHY and UFS host driver support in MediaTek chipsets.

In the meantime, re-factors ufshcd_get_pwr_dev_param in vendors' drivers. This function is for vendors to decide finally agreed attributes for power mode change if vendors define
their host capability in struct ufs_dev_params. Because it is using by both ufs-qcom and ufs-hisi and also used in ufs-mediatek in this serious, simply re-factor it and then every vendors can reuse it.