From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stanley Chu Subject: [PATCH RESEND v3 0/5] scsi: ufs: Fix regulator operations and remove "-fixed-regulator" device tree property Date: Wed, 27 Mar 2019 17:58:22 +0800 Message-ID: <1553680707-28579-1-git-send-email-stanley.chu@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+glpam-linux-mediatek=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, martin.petersen-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org, avri.altman-Sjgp3cTcYWE@public.gmane.org, alim.akhtar-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org, pedrom.sousa-HKixBCOQz3hWk0Htik3J/w@public.gmane.org Cc: marc.w.gonzalez-GANU6spQydw@public.gmane.org, chun-hung.wu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, kuohong.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, peter.wang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, matthias.bgg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Stanley Chu List-Id: linux-mediatek@lists.infradead.org Hi, Resend this patch series for review. This version (v3) fixed and added more details in commit messages, and added one patch to fix "undefined voltage range" issue as well. This patch series fixes UFS regulator operations, including voltage and current (re-)configuration flow during UFS initialization and power mode switching. In the end, remove "-fixed-regulator" device tree property because it is not necessary anymore after these fixes. V3: - Fix and add more details in commit messages. - Add one patch "scsi: ufs: Avoid configuring undefined voltage range on a regulator". V2: - Add two patches to prepare to and remove "-fixed-regulator" device tree property. - Add more details on patch "scsi: ufs: remove unused min_uA field in struct ufs_vreg" (Marc Gonzalez). Stanley Chu (5): scsi: ufs: Remove unused min_uA field in struct ufs_vreg scsi: ufs: Avoid configuring regulator with undefined voltage range scsi: ufs: Fix regulator load and icc-level configuration scsi: ufs: Change "-max-microamp" to non-mandatory property scsi: ufs: Remove "-fixed-regulator" device tree property drivers/scsi/ufs/ufs.h | 1 - drivers/scsi/ufs/ufshcd-pltfrm.c | 14 +++----------- drivers/scsi/ufs/ufshcd.c | 28 ++++++++++++++++++++-------- 3 files changed, 23 insertions(+), 20 deletions(-) -- 2.18.0