scsi: ufs-qcom: add QUniPro hardware support and power optimizations
authorYaniv Gardi <ygardi@codeaurora.org>
Wed, 28 Oct 2015 11:15:51 +0000 (13:15 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 9 Nov 2015 23:03:55 +0000 (18:03 -0500)
commitf06fcc7155dcbcd9b697d499595a2c1a3945bda2
tree16d733165dce040557335efc98e4c687c98fcddc
parent6e3fd44d7b7638e0f7e3331eaf7f90f3a629f3e7
scsi: ufs-qcom: add QUniPro hardware support and power optimizations

New revisions of UFS host controller supports the new UniPro
hardware controller (referred as QUniPro). This patch adds
the support to enable this new UniPro controller hardware.

This change also adds power optimization for bus scaling feature,
as well as support for HS-G3 power mode.

Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Reviewed-by: Gilad Broner <gbroner@codeaurora.org>
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-qcom.c
drivers/scsi/ufs/ufs-qcom.h
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h