1
0
Fork 0
alistair23-linux/arch/arm/mach-s3c24xx
Linus Walleij d2951dfa07 mmc: s3cmci: Use the slot GPIO descriptor
Simplify things by making the S3CMCI driver just use
slot GPIO with descriptors instead of passing around the
global GPIO numbers that we want to get rid of.

Getting the names of the GPIO chips into the machine
descriptor tables was a bit of a challenge but I think
I have them right.

The platform data supports passing in inversion flags, but
no platform is using them, and it is highly unlikely
that we will add more, so drop them. The long term plan
is to let the inversion flags on the GPIO machine
descriptor do the job.

The lines are flagged as GPIO_ACTIVE_[LOW|HIGH] as that is
what they are, and since we can now rely on the descriptors
to have the right polarity, we set the
"override_active_level" to false in mmc_gpiod_request_cd()
and mmc_gpiod_request_ro().

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Cc: Sergio Prado <sergio.prado@e-labworks.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2018-12-17 08:26:24 +01:00
..
include/mach ARM: s3c24xx: Fix typo in guard macro of s3c2412.h 2018-06-25 18:39:18 +02:00
Kconfig ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
Makefile ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
Makefile.boot ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
anubis.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
bast-ide.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
bast-irq.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
bast.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
common-smdk.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
common-smdk.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
common.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
common.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
cpufreq-utils.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
fb-core.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
gta02.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
h1940-bluetooth.c ARM: s3c24xx: Fix invalid SPDX identifier 2018-04-23 17:24:02 +02:00
h1940.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
iotiming-s3c2410.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
iotiming-s3c2412.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
irq-pm.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-amlm5900.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-anubis.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-at2440evb.c mmc: s3cmci: Use the slot GPIO descriptor 2018-12-17 08:26:24 +01:00
mach-bast.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-gta02.c ARM: s3c24xx: Remove empty gta02_pmu children probe 2018-08-30 19:51:43 +02:00
mach-h1940.c mmc: s3cmci: Use the slot GPIO descriptor 2018-12-17 08:26:24 +01:00
mach-jive.c ARM: s3c24xx: jive: Fix some GPIO names 2018-04-26 16:55:03 +02:00
mach-mini2440.c mmc: s3cmci: Use the slot GPIO descriptor 2018-12-17 08:26:24 +01:00
mach-n30.c mmc: s3cmci: Use the slot GPIO descriptor 2018-12-17 08:26:24 +01:00
mach-nexcoder.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-osiris-dvs.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-osiris.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-otom.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-qt2410.c spi: spi-gpio: Rewrite to use GPIO descriptors 2018-02-14 16:02:41 +00:00
mach-rx1950.c mmc: s3cmci: Use the slot GPIO descriptor 2018-12-17 08:26:24 +01:00
mach-rx3715.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-s3c2416-dt.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-smdk2410.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-smdk2413.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-smdk2416.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-smdk2440.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-smdk2443.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-tct_hammer.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-vr1000.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
mach-vstms.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
nand-core.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
osiris.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
otom.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
pll-s3c2410.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
pll-s3c2440-12000000.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
pll-s3c2440-16934400.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
pm-h1940.S ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
pm-s3c2410.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
pm-s3c2412.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
pm-s3c2416.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
pm.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
regs-dsc.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
regs-mem.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
s3c244x.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
s3c2410.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
s3c2412-power.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
s3c2412.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
s3c2416.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
s3c2440.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
s3c2442.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
s3c2443.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
setup-camif.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
setup-i2c.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
setup-sdhci-gpio.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
setup-spi.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
setup-ts.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
simtec-audio.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
simtec-nor.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
simtec-pm.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
simtec-usb.c ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
simtec.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
sleep-s3c2410.S ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
sleep-s3c2412.S ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
sleep.S ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
spi-core.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00
vr1000.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00