diff options
author | Wolfram Sang | 2016-05-02 22:25:40 +0200 |
---|---|---|
committer | Ulf Hansson | 2016-05-04 09:28:04 +0200 |
commit | 3d376fb2ea907f0c1bbccf87125456439feb4ed4 (patch) | |
tree | 46d163b103ef2d47a040ced5c199b577d51b664d /include | |
parent | mmc: sh_mobile_sdhi: make clk_update function more compact (diff) | |
download | kernel-qcow2-linux-3d376fb2ea907f0c1bbccf87125456439feb4ed4.tar.gz kernel-qcow2-linux-3d376fb2ea907f0c1bbccf87125456439feb4ed4.tar.xz kernel-qcow2-linux-3d376fb2ea907f0c1bbccf87125456439feb4ed4.zip |
mmc: tmio/sdhi: introduce flag for RCar 2+ specific features
RCar Gen2 and later implementations of TMIO/SDHI have their own set of
features and additions. FAST_CLK_CHG is just one of them and I see a few
others being added soon. Some may work on older chipsets but this needs
to be tested case by case. Instead of adding a bunch of flags for each
feature, add a global RCar2+ one for now. We can still break out
features if the need arises.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/tmio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index 05d58ee5e6a7..7a26286db895 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -66,8 +66,8 @@ */ #define TMIO_MMC_SDIO_IRQ (1 << 2) -/* Some controllers don't need to wait 10ms for clock changes */ -#define TMIO_MMC_FAST_CLK_CHG (1 << 3) +/* Some features are only available or tested on RCar Gen2 or later */ +#define TMIO_MMC_MIN_RCAR2 (1 << 3) /* * Some controllers require waiting for the SD bus to become |