scsi: ufs: set the device reference clock setting
authorSubhash Jadavani <subhashj@codeaurora.org>
Tue, 16 Oct 2018 08:59:41 +0000 (14:29 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 9 Nov 2018 12:52:59 +0000 (07:52 -0500)
commit9e1e8a75708031937a0f92567c19760c92658410
tree31e130823c44c8091cb8258d3d88f64abb1154f9
parent371a6c328ad423c51ffcf68ec211d3eeb80f1874
scsi: ufs: set the device reference clock setting

UFS host supplies the reference clock to UFS device and UFS device
specification allows host to provide one of the 4 frequencies (19.2 MHz, 26
MHz, 38.4 MHz, 52 MHz) for reference clock. Host should set the device
reference clock frequency setting in the device based on what frequency it
is supplying to UFS device.

Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
drivers/scsi/ufs/ufs.h
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h