linux/arch/arm/mach-s3c24xx
Uwe Kleine-König 5ec6fd39f5 ARM: s3c24xx: Switch to atomic pwm API in rx1950
Stop using the legacy PWM API which only still exists because there are
some users left.

Note this change make use of the fact that the value of struct
pwm_state::duty_cycle doesn't matter for a disabled PWM and so its value
can stay constant simplifying the code a bit.

A side effect of the conversion is that the pwm isn't stopped in
rx1950_backlight_init() by the call to pwm_apply_args() just before
reenabling it when rx1950_lcd_power(1) is called.

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2020-01-21 20:56:47 +01:00
..
include/mach treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07: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
Kconfig ARM: samsung: Rename Samsung and Exynos to lowercase 2020-01-07 20:44:22 +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: 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 ARM: s3c24xx: Switch to atomic pwm API in rx1950 2020-01-21 20:56:47 +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
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
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