mmc: sh_sdhi: Add DM and DT probing support
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 21 Jul 2017 21:22:54 +0000 (23:22 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 05:37:45 +0000 (14:37 +0900)
commitd1c18ca1103956087f303cf6a28fc84ba5b25922
treeba6b6c2be7fb8255fc6c169d1423a397d42125f7
parentac5efc358bd6257c2553580d122ae85ffdb0391b
mmc: sh_sdhi: Add DM and DT probing support

Add MMC DM and DT probing support into the SH SDHI driver.
This patch abstracts out the common bits of the send command
and set ios functions, so they can be used both by DM and non
DM setups and adds the DM probe support.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/mmc/sh_sdhi.c