summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorLinus Walleij2018-11-12 15:12:32 +0100
committerUlf Hansson2018-12-17 08:26:24 +0100
commit0f6f3235b816ef7e6692d6f31920bf6aa2d1623d (patch)
treef0dc60f119c2612beaf605c1b1676c868e6ac560 /arch/arc
parentmmc: jz4740: Get CD/WP GPIOs from descriptors (diff)
downloadkernel-qcow2-linux-0f6f3235b816ef7e6692d6f31920bf6aa2d1623d.tar.gz
kernel-qcow2-linux-0f6f3235b816ef7e6692d6f31920bf6aa2d1623d.tar.xz
kernel-qcow2-linux-0f6f3235b816ef7e6692d6f31920bf6aa2d1623d.zip
mmc: jz4740: Use GPIO descriptor for power
The power GPIO line is passed with inversion flags and all from the platform data. Switch to using an optional GPIO descriptor and use this to switch the power. Augment the only boardfile to pass in the proper "power" descriptor in the GPIO descriptor machine table instead. As the GPIO handling is now much simpler, we can cut down on some overhead code. Cc: Paul Cercueil <paul@crapouillou.net> Cc: linux-mips@linux-mips.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Paul Burton <paul.burton@mips.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'arch/arc')
0 files changed, 0 insertions, 0 deletions