WSL2-Linux-Kernel/arch/arm/mach-s3c24xx
Linus Walleij 2644f912b4 backlight: pwm_bl: Switch to full GPIO descriptor
The PWM backlight still supports passing a enable GPIO line as
platform data using the legacy <linux/gpio.h> API.

It turns out that ever board using this mechanism except one
is pass .enable_gpio = -1. So we drop all these cargo-culted -1's
from all instances of this platform data in the kernel.

The remaning board, Palm TC, is converted to pass a machine
descriptior table with the "enable" GPIO instead, and delete the
platform data entry for enable_gpio and the code handling it
and things should work smoothly with the new API.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2020-03-18 15:05:57 +00:00
..
include/mach treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
Kconfig ARM: samsung: Rename Samsung and Exynos to lowercase 2020-01-07 20:44:22 +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 backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00: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: Fix boolean expressions in osiris_dvs_notify 2019-01-07 20:41:01 +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 backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00: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 docs: arm: convert docs to ReST and rename to *.rst 2019-07-15 09:20:24 -03: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: s3c: Rename s3c64xx_spi_setname() function 2019-10-28 17:46:57 +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: s3c: Rename s3c64xx_spi_setname() function 2019-10-28 17:46:57 +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: s3c: Rename s3c64xx_spi_setname() function 2019-10-28 17:46:57 +01:00
vr1000.h ARM: S3C24XX: Add SPDX license identifiers 2018-01-03 18:36:43 +01:00