aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/idp.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-12-02 09:43:24 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2018-12-17 08:26:24 +0100
commitc914a27c92f91fe2206a035a3d1f9ac8f7ea1fe5 (patch)
treea074f4b404a67161cc4b269e1b6f21c584d204aa /arch/arm/mach-pxa/idp.c
parentARM: pxa: Add GPIO descriptors for Palm27x (diff)
downloadlinux-dev-c914a27c92f91fe2206a035a3d1f9ac8f7ea1fe5.tar.xz
linux-dev-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/idp.c')
0 files changed, 0 insertions, 0 deletions