OpenCloudOS-Kernel/arch/arm/mach-s3c64xx
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 ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
Kconfig ARM: s3c64xx: Drop unneeded select of TIMER_OF 2020-01-21 20:58:03 +01:00
Makefile ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
ata-core.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
backlight.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
common.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
common.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
cpuidle.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
crag6410.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
dev-audio.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
dev-backlight.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
dev-uart.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
irq-pm.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
irq-uart.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-anw6410.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-crag6410-module.c ARM: s3c64xx: Tidy up handling of regulator GPIO lookups 2019-04-14 12:53:03 +02:00
mach-crag6410.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
mach-hmt.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
mach-mini6410.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-ncp.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-real6410.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-s3c64xx-dt.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-smartq.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
mach-smartq.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-smartq5.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-smartq7.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-smdk6400.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-smdk6410.c backlight: pwm_bl: Switch to full GPIO descriptor 2020-03-18 15:05:57 +00:00
onenand-core.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
pl080.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
pm.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
regs-gpio-memport.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
regs-modem.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
regs-srom.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
regs-sys.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
regs-syscon-power.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
regs-usb-hsotg-phy.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
s3c6400.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
s3c6410.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-fb-24bpp.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-i2c0.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-i2c1.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-ide.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-keypad.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-sdhci-gpio.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-spi.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-usb-phy.c ARM: s3c: Rename s5p_usb_phy functions 2019-10-28 17:46:58 +01:00
sleep.S ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
watchdog-reset.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00