diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-12-02 09:43:24 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-12-17 08:26:24 +0100 |
commit | c914a27c92f91fe2206a035a3d1f9ac8f7ea1fe5 (patch) | |
tree | a074f4b404a67161cc4b269e1b6f21c584d204aa /arch/arm/mach-pxa/mainstone.c | |
parent | 58e2d877e37018b3804ab2601d9c9ad3fbcc74e7 (diff) | |
download | linux-stable-c914a27c92f91fe2206a035a3d1f9ac8f7ea1fe5.tar.gz linux-stable-c914a27c92f91fe2206a035a3d1f9ac8f7ea1fe5.tar.bz2 linux-stable-c914a27c92f91fe2206a035a3d1f9ac8f7ea1fe5.zip |
mmc: pxamci: Support getting GPIO descs for RO and WP
This implements the code path for the PXAMCI hostso that
it can retrieve GPIO descriptors rather than use the
global GPIO numberspace for GPIO lines. If the GPIO
descriptor is present, it will take precedence and get
used in place of the platform data GPIO number.
We move the code around a bit so we request the card
detect first and the write protect second.
We keep the code setting the host flag for the write
protect polarity inversion semantics since the slot
GPIO core needs to be refactored to deal with this
before we can get rid of this.
Cc: Daniel Mack <daniel@zonque.org>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'arch/arm/mach-pxa/mainstone.c')
0 files changed, 0 insertions, 0 deletions