linux_dsm_epyc7002/arch/mips/include/asm/mach-jz4740
Linus Walleij 0f6f3235b8 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>
2018-12-17 08:26:24 +01:00
..
base.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock.h MIPS: JZ4740: remove clock.h 2015-06-21 21:53:21 +02:00
cpu-feature-overrides.h MIPS16e2: Provide feature overrides for non-MIPS16 systems 2017-07-11 14:13:06 +02:00
dma.h ASoC: jz4740: Improve build test coverage 2014-04-23 12:18:44 +01:00
gpio.h MIPS: jz4740: Remove custom GPIO code 2017-05-22 17:26:34 +02:00
irq.h MIPS: ingenic: Initial JZ4780 support 2015-06-21 21:53:26 +02:00
jz4740_fb.h FBDEV: JZ4740: Add framebuffer driver 2010-08-05 13:26:17 +01:00
jz4740_mmc.h mmc: jz4740: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
platform.h MIPS: JZ4740: dts: Add bindings for the jz4740-wdt driver 2018-05-14 23:58:23 +01:00
timer.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00