linux_dsm_epyc7002/arch/arm/mach-s3c24xx
Mika Westerberg c673a2b400 leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptors
Commit 21f2aae91e902aad ("leds: leds-gpio: Add support for GPIO
descriptors") already converted most of the driver to use GPIO descriptors.
What is still missing is the platform specific hook gpio_blink_set() and
board files which pass legacy GPIO numbers to this driver in platform data.

In this patch we handle the former and convert gpio_blink_set() to take
GPIO descriptor instead. In order to do this we convert the existing four
users to accept GPIO descriptor and translate it to legacy GPIO number in
the platform code. This effectively "pushes" legacy GPIO number usage from
the driver to platforms.

Also add comment to the remaining block describing that it is legacy code
path and we are getting rid of it eventually.

Suggested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-11-04 21:58:25 +01:00
..
include/mach ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
anubis.h ARM: S3C24XX: make anubis-cpld, anubis-irq and anubis-map local 2013-01-10 10:45:34 -08:00
bast-ide.c ARM: S3C24XX: make bast-cpld.h, bast-irq.h and bast-map.h local 2013-01-10 10:45:35 -08:00
bast-irq.c ARM: S3C24XX: remove plat/irq.h in plat-samsung 2013-03-05 10:42:47 +09:00
bast.h ARM: S3C24XX: make bast-cpld.h, bast-irq.h and bast-map.h local 2013-01-10 10:45:35 -08:00
common-smdk.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
common-smdk.h ARM: S3C24XX: plat/common-smdk.h local 2013-03-05 10:42:47 +09:00
common.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
common.h ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
cpufreq-utils.c ARM: S3C24XX: remove SAMSUNG_CLOCK remnants after ccf conversion 2014-05-13 08:00:46 +09:00
dma-s3c2410.c ARM: SAMSUNG: Replace inclusion of plat/regs-serial.h header file 2014-02-14 10:35:00 +09:00
dma-s3c2412.c ARM: SAMSUNG: Replace inclusion of plat/regs-serial.h header file 2014-02-14 10:35:00 +09:00
dma-s3c2440.c ARM: SAMSUNG: Replace inclusion of plat/regs-serial.h header file 2014-02-14 10:35:00 +09:00
dma-s3c2443.c ARM: SAMSUNG: Replace inclusion of plat/regs-serial.h header file 2014-02-14 10:35:00 +09:00
dma.c ARM: SAMSUNG: remove IRQF_DISABLED 2013-12-12 07:05:19 +09:00
gta02.h ARM: S3C24XX: make gta02.h local 2013-01-10 10:45:35 -08:00
h1940-bluetooth.c leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptors 2014-11-04 21:58:25 +01:00
h1940.h leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptors 2014-11-04 21:58:25 +01:00
iotiming-s3c2410.c ARM: S3C24XX: header mach/regs-mem.h local 2013-02-04 10:31:43 -08:00
iotiming-s3c2412.c ARM: SAMSUNG: Remove legacy clock code 2014-07-19 04:24:59 +09:00
irq-pm.c ARM: S3C24XX: remove plat/irq.h in plat-samsung 2013-03-05 10:42:47 +09:00
Kconfig ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-amlm5900.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-anubis.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-at2440evb.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-bast.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-gta02.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-h1940.c leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptors 2014-11-04 21:58:25 +01:00
mach-jive.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-mini2440.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-n30.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-nexcoder.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-osiris-dvs.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
mach-osiris.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-otom.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-qt2410.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-rx1950.c leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptors 2014-11-04 21:58:25 +01:00
mach-rx3715.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-s3c2416-dt.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-smdk2410.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-smdk2413.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-smdk2416.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-smdk2440.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-smdk2443.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-tct_hammer.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-vr1000.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
mach-vstms.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
Makefile kbuild: remove unnecessary variable initializaions 2014-10-02 13:55:02 +02:00
Makefile.boot ARM: S3C2410: move mach-s3c2410/* into mach-s3c24xx/ 2012-03-03 07:47:38 +09:00
osiris.h ARM: S3C24XX: make osiris-cpld.h and osiris-map.h local 2013-01-10 10:45:36 -08:00
otom.h ARM: S3C24XX: make otom-map.h local 2013-01-10 10:45:36 -08:00
pll-s3c2410.c cpufreq: rename index as driver_data in cpufreq_frequency_table 2013-06-04 14:25:59 +02:00
pll-s3c2440-12000000.c cpufreq: rename index as driver_data in cpufreq_frequency_table 2013-06-04 14:25:59 +02:00
pll-s3c2440-16934400.c cpufreq: rename index as driver_data in cpufreq_frequency_table 2013-06-04 14:25:59 +02:00
pm-h1940.S ARM: samsung: fix assembly syntax for new gas 2013-02-14 15:04:34 +01:00
pm-s3c2410.c ARM: s3c24xx: explicit dependency on <plat/gpio-cfg.h> 2014-01-14 15:24:54 +01:00
pm-s3c2412.c ARM: S3C24XX: use samsung_sync_wakemask in s3c2412 pm 2013-03-05 20:20:59 +09:00
pm-s3c2416.c arm-soc: cleanups 2013-02-21 14:58:40 -08:00
pm.c ARM: S3C24XX: remove SAMSUNG_CLOCK remnants after ccf conversion 2014-05-13 08:00:46 +09:00
regs-dsc.h ARM: S3C24XX: Remove unused GPIO drive strength register definitions 2013-04-08 21:37:07 +09:00
regs-mem.h ARM: S3C24XX: header mach/regs-mem.h local 2013-02-04 10:31:43 -08:00
s3c244x.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
s3c2410.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
s3c2412-power.h ARM: S3C24XX: header mach/regs-power.h local 2013-02-04 10:31:39 -08:00
s3c2412.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
s3c2416.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
s3c2440.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
s3c2442.c ARM: SAMSUNG: Remove legacy clock code 2014-07-19 04:24:59 +09:00
s3c2443.c ARM: S3C24XX: remove separate restart code 2014-09-14 02:43:09 +09:00
setup-i2c.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-sdhci-gpio.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
setup-spi.c ARM: SAMSUNG: Remove pdev pointer parameter from spi gpio setup functions 2012-07-13 15:23:46 +09:00
setup-ts.c ARM: s3c24xx: explicit dependency on <plat/gpio-cfg.h> 2014-01-14 15:24:54 +01:00
simtec-audio.c ARM: S3C24XX: make bast-cpld.h, bast-irq.h and bast-map.h local 2013-01-10 10:45:35 -08:00
simtec-nor.c ARM: S3C24XX: make bast-cpld.h, bast-irq.h and bast-map.h local 2013-01-10 10:45:35 -08:00
simtec-pm.c ARM: S3C24XX: header mach/regs-mem.h local 2013-02-04 10:31:43 -08:00
simtec-usb.c ARM: SoC cleanups for 3.14 2014-01-23 18:36:55 -08:00
simtec.h ARM: S3C24XX: Consolidate Simtec extensions 2012-03-07 01:47:11 -08:00
sleep-s3c2410.S ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+ 2014-07-18 12:29:04 +01:00
sleep-s3c2412.S ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+ 2014-07-18 12:29:04 +01:00
sleep.S ARM: SAMSUNG: Replace inclusion of plat/regs-serial.h header file 2014-02-14 10:35:00 +09:00
vr1000.h ARM: S3C24XX: make vr1000-cpld.h, vr1000-irq.h and vr1000-map.h local 2013-01-10 10:45:37 -08:00