mmc: uniphier-sd: Add support for 64bit controller
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 21 Jul 2017 21:24:33 +0000 (23:24 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 22 Sep 2017 14:23:27 +0000 (23:23 +0900)
commit1c99f68e932b0ebf97aad038400eaf70ce5c6c8e
tree08c50df12825b24d7668cf5e5c6b3ead4f4a3f22
parent3d7b1d1bc4474d2a85dc8d1a8001258dce56806a
mmc: uniphier-sd: Add support for 64bit controller

The Renesas RCar Gen3 contains the same controller, originally
Matsushita, yet the register addresses are shifted by 1 to the
left. The whole controller is also 64bit, including the data
FIFOs and RSP registers. This patch adds support for handling
the register IO by shifting the register offset by 1 in the IO
accessor functions.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/uniphier-sd.c