scsi: ufs-qcom: add number of lanes per direction
authorYaniv Gardi <ygardi@codeaurora.org>
Thu, 10 Mar 2016 15:37:05 +0000 (17:37 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Mar 2016 01:04:45 +0000 (21:04 -0400)
commit54b879b76ea253105505f840bd842c1927c9e380
treed0caf219520b92c99979ed7558d40099a97cfe4e
parentf6a695cf7a21519fe32b8005ff1a45d81c307f2c
scsi: ufs-qcom: add number of lanes per direction

Different platform may have different number of lanes
for the UFS link.
Add parameter to device tree specifying how many lanes
should be configured for the UFS link.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
drivers/scsi/ufs/ufs-qcom.c
drivers/scsi/ufs/ufshcd-pltfrm.c
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h