OpenCloudOS-Kernel/arch/mips/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
..
Kconfig MIPS: ingenic: Initial GCW Zero support 2018-01-18 22:08:10 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Platform MIPS: jz4740: Bump zload address 2018-07-23 17:35:19 -07:00
board-qi_lb60.c mmc: jz4740: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
platform.c MIPS: JZ4740: dts: Add bindings for the jz4740-wdt driver 2018-05-14 23:58:23 +01:00
pm.c MIPS: JZ4740: remove clock.h 2015-06-21 21:53:21 +02:00
prom.c MIPS: ingenic: Detect machtype from SoC compatible string 2018-01-18 22:07:24 +00:00
reset.c MIPS: JZ4740: Drop old platform reset code 2018-05-14 23:58:23 +01:00
reset.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
setup.c MIPS: ingenic: Detect machtype from SoC compatible string 2018-01-18 22:07:24 +00:00
time.c MIPS: ingenic: Initial JZ4770 support 2018-01-18 22:07:31 +00:00
timer.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00