ufs: Add clock initialization support
authorSujit Reddy Thumma <sthumma@codeaurora.org>
Thu, 25 Sep 2014 12:32:23 +0000 (15:32 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 Oct 2014 11:11:19 +0000 (13:11 +0200)
commitc6e79dacd86fd7ddd452fa52b3f4ca996db31e49
treea1482fd92a23e1c34eaaaaf3a70c1339f1b81eb6
parentaa497613093412ee26ef4bfa4ffec8391553dfca
ufs: Add clock initialization support

Add generic clock initialization support for UFSHCD platform
driver. The clock info is read from device tree using standard
clock bindings. A generic max-clock-frequency-hz property is
defined to save information on maximum operating clock frequency
the h/w supports.

Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
drivers/scsi/ufs/ufshcd-pci.c
drivers/scsi/ufs/ufshcd-pltfrm.c
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h