linux/arch/arm/mach-s3c
Uwe Kleine-König 19f5027e03 ARM: s3c: Use pwm_get() in favour of pwm_request() in RX1950
pwm_request() is deprecated because (among others) it depends on a global
numbering of PWM devices. So register a pwm_lookup to pick the right PWM
device (identified by provider and its local id) and use pwm_get().

Before this patch the PWM #1 was used. This is provided by the
samsung-pwm device which is the only PWM provider on this machine. The
local offset is 1, see also commit c107fe904a ("ARM: S3C24XX: Use PWM
lookup table for mach-rx1950") with a similar conversion for PWM #0.

As a follow up specify the period only once and symmetrically use pwm_put()
instead of pwm_free() to drop the reference.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20210326090641.122436-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
2021-04-01 19:40:27 +02:00
..
include/mach
adc-core.h
adc.c
anubis.h
ata-core-s3c64xx.h
backlight-s3c64xx.h
bast-ide.c
bast-irq.c
bast.h
common-smdk-s3c24xx.c mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer 2020-12-10 22:37:29 +01:00
common-smdk-s3c24xx.h
cpu.c
cpu.h
cpufreq-utils-s3c24xx.c
cpuidle-s3c64xx.c
crag6410.h
dev-audio-s3c64xx.c
dev-backlight-s3c64xx.c
dev-uart-s3c64xx.c
dev-uart.c
devs.c
devs.h
dma-s3c24xx.h
dma-s3c64xx.h
dma.h
fb-core-s3c24xx.h
fb.h
gpio-cfg-helpers.h
gpio-cfg.h
gpio-core.h
gpio-samsung-s3c24xx.h
gpio-samsung-s3c64xx.h
gpio-samsung.c
gpio-samsung.h
gta02.h
h1940-bluetooth.c
h1940.h
hardware-s3c24xx.h
iic-core.h
init.c
iotiming-s3c2410.c
iotiming-s3c2412.c
irq-pm-s3c24xx.c
irq-pm-s3c64xx.c
irq-s3c24xx-fiq-exports.c
irq-s3c24xx-fiq.S ARM: s3c: fix fiq for clang IAS 2021-02-06 14:11:09 +01:00
irq-s3c24xx.c ARM: s3c: irq-s3c24xx: staticize local functions 2021-02-08 18:10:21 +01:00
irq-uart-s3c64xx.h
Kconfig
Kconfig.s3c24xx
Kconfig.s3c64xx
keypad.h
mach-amlm5900.c
mach-anubis.c mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer 2020-12-10 22:37:29 +01:00
mach-anw6410.c
mach-at2440evb.c mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer 2020-12-10 22:37:29 +01:00
mach-bast.c mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer 2020-12-10 22:37:29 +01:00
mach-crag6410-module.c
mach-crag6410.c
mach-gta02.c mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer 2020-12-10 22:37:29 +01:00
mach-h1940.c
mach-hmt.c
mach-jive.c mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer 2020-12-10 22:37:29 +01:00
mach-mini2440.c mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer 2020-12-10 22:37:29 +01:00
mach-mini6410.c
mach-n30.c
mach-ncp.c
mach-nexcoder.c
mach-osiris-dvs.c
mach-osiris.c mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer 2020-12-10 22:37:29 +01:00
mach-otom.c
mach-qt2410.c mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer 2020-12-10 22:37:29 +01:00
mach-real6410.c
mach-rx1950.c ARM: s3c: Use pwm_get() in favour of pwm_request() in RX1950 2021-04-01 19:40:27 +02:00
mach-rx3715.c mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer 2020-12-10 22:37:29 +01:00
mach-s3c64xx-dt.c
mach-s3c2416-dt.c
mach-smartq5.c
mach-smartq7.c
mach-smartq.c
mach-smartq.h
mach-smdk2410.c
mach-smdk2413.c
mach-smdk2416.c
mach-smdk2440.c
mach-smdk2443.c
mach-smdk6400.c
mach-smdk6410.c
mach-tct_hammer.c
mach-vr1000.c
mach-vstms.c mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layer 2020-12-10 22:37:29 +01:00
Makefile
Makefile.boot
Makefile.s3c24xx
Makefile.s3c64xx
map-s3c24xx.h
map-s3c64xx.h
map-s3c.h
map-s5p.h
map.h
nand-core-s3c24xx.h
onenand-core-s3c64xx.h
osiris.h
otom.h
pl080.c
platformdata.c
pll-s3c2410.c
pll-s3c2440-12000000.c
pll-s3c2440-16934400.c
pm-common.c
pm-common.h
pm-core-s3c24xx.h
pm-core-s3c64xx.h
pm-core.h
pm-gpio.c
pm-h1940.S
pm-s3c24xx.c
pm-s3c64xx.c
pm-s3c2410.c
pm-s3c2412.c
pm-s3c2416.c
pm.c
pm.h
pwm-core.h
regs-adc.h
regs-clock-s3c24xx.h
regs-clock-s3c64xx.h
regs-clock.h
regs-dsc-s3c24xx.h
regs-gpio-memport-s3c64xx.h
regs-gpio-s3c24xx.h
regs-gpio-s3c64xx.h
regs-gpio.h
regs-irq-s3c24xx.h
regs-irq-s3c64xx.h
regs-irq.h
regs-irqtype.h
regs-mem-s3c24xx.h
regs-modem-s3c64xx.h
regs-s3c2443-clock.h
regs-srom-s3c64xx.h
regs-sys-s3c64xx.h
regs-syscon-power-s3c64xx.h
regs-usb-hsotg-phy-s3c64xx.h
rtc-core-s3c24xx.h
s3c24xx.c
s3c24xx.h
s3c64xx.c
s3c64xx.h
s3c244x.c
s3c2410.c
s3c2412-power.h
s3c2412.c
s3c2412.h
s3c2416.c
s3c2440.c
s3c2442.c
s3c2443.c
s3c6400.c
s3c6410.c
sdhci.h
setup-fb-24bpp-s3c64xx.c
setup-i2c0-s3c64xx.c
setup-i2c1-s3c64xx.c
setup-i2c-s3c24xx.c
setup-ide-s3c64xx.c
setup-keypad-s3c64xx.c
setup-sdhci-gpio-s3c24xx.c
setup-sdhci-gpio-s3c64xx.c
setup-spi-s3c24xx.c
setup-spi-s3c64xx.c
setup-ts-s3c24xx.c
setup-usb-phy-s3c64xx.c
simtec-audio.c
simtec-nor.c
simtec-pm.c
simtec-usb.c
simtec.h
sleep-s3c24xx.S
sleep-s3c64xx.S
sleep-s3c2410.S
sleep-s3c2412.S
spi-core-s3c24xx.h
usb-phy.h
vr1000.h
wakeup-mask.c
wakeup-mask.h