Re: [PATCH v2 6/8] scsi: ufs: make the UFS variant a platform device

2015-08-24 Thread ygardi
> O > n Aug 20, 2015 6:59 AM, "Yaniv Gardi" wrote: >> >> This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS >> a platform device. >> In order to do so a few additional changes are required: >> 1. The ufshcd-pltfrm is no longer serves as a platform device. >>Now it only serves as a gr

Re: [PATCH v2 6/8] scsi: ufs: make the UFS variant a platform device

2015-08-23 Thread Rob Herring
O n Aug 20, 2015 6:59 AM, "Yaniv Gardi" wrote: > > This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS > a platform device. > In order to do so a few additional changes are required: > 1. The ufshcd-pltfrm is no longer serves as a platform device. >Now it only serves as a group of pla

Re: [PATCH v2 6/8] scsi: ufs: make the UFS variant a platform device

2015-08-21 Thread ygardi
> 2015-08-20 22:59 GMT+09:00 Yaniv Gardi : >> @@ -1036,7 +1037,7 @@ void ufs_qcom_clk_scale_notify(struct ufs_hba >> *hba) >> * The variant operations configure the necessary controller and PHY >> * handshake during initialization. >> */ >> -static const struct ufs_hba_variant_ops ufs_hba_qco

Re: [PATCH v2 6/8] scsi: ufs: make the UFS variant a platform device

2015-08-20 Thread Akinobu Mita
2015-08-20 22:59 GMT+09:00 Yaniv Gardi : > @@ -1036,7 +1037,7 @@ void ufs_qcom_clk_scale_notify(struct ufs_hba *hba) > * The variant operations configure the necessary controller and PHY > * handshake during initialization. > */ > -static const struct ufs_hba_variant_ops ufs_hba_qcom_vops = {

[PATCH v2 6/8] scsi: ufs: make the UFS variant a platform device

2015-08-20 Thread Yaniv Gardi
This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS a platform device. In order to do so a few additional changes are required: 1. The ufshcd-pltfrm is no longer serves as a platform device. Now it only serves as a group of platform APIs such as PM APIs (runtime suspend/resume, syste