mmc: sdhci-cadence: import updates from Linux 4.12
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 9 May 2017 06:52:04 +0000 (15:52 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 15 May 2017 09:28:22 +0000 (18:28 +0900)
commit0cacd6b755172ae6be87bdc26528ccea1c2fc53d
treeb86825eb3932e2c560168c761187aff046f70138
parent0e0dcc1916fb174966a3f170b69192e0c83ebced
mmc: sdhci-cadence: import updates from Linux 4.12

This driver is a counterpart of drivers/mmc/host/sdhci-cadence.c
from Linux.  Some updates for v4.12-rc1 can be imported to U-Boot.

 - Fix value of SDHCI_CDNS_HRS04_RDATA_SHIFT
 - Add polling for ACK bit to be sure that data are written to
   the PHY register
 - Retrieve PHY values from DT properties instead of fixed data

The following is the list of upstream commits:

 - Linux commit 4e03f628b464e0580abadf5161eaa38c61d20943
   mmc: sdhci-cadence: fix bit shift of read data from PHY port

 - Linux commit a0f8243229ed071c8da0ea7cedc1b7bf1b1515da
   mmc: sdhci-cadence: Fix writing PHY delay

 - Linux commit a89c472d8b55c5afc4c79e6e3d1338730034eb01
   mmc: sdhci-cadence: Update PHY delay configuration

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/sdhci-cadence.c