linux/drivers/pwm
Paul Cercueil 6580fd1730 pwm: jz4740: Force TCU2 channels to return to their init level
When the PWM mode of TCU2 channels is disabled, their corresponding pin
does not always return to its initial level. Force this by using a small
trick: we set duty > period, which is an invalid configuration for the
hardware, which then correctly resets the pin to the initial level.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
2019-06-26 11:39:05 +02:00
..
core.c pwm: Add consumer device link 2019-06-25 14:51:43 +02:00
Kconfig pwm: sifive: Add a driver for SiFive SoC PWM 2019-06-25 14:48:12 +02:00
Makefile pwm: sifive: Add a driver for SiFive SoC PWM 2019-06-25 14:48:12 +02:00
pwm-ab8500.c
pwm-atmel-hlcdc.c
pwm-atmel-tcb.c ARM: at91: move SoC specific definitions to SoC folder 2019-05-02 21:55:58 +02:00
pwm-atmel.c pwm: atmel: Remove useless symbolic definitions 2019-03-04 12:52:49 +01:00
pwm-bcm2835.c pwm: bcm2835: Switch to SPDX identifier 2018-12-24 12:06:55 +01:00
pwm-bcm-iproc.c
pwm-bcm-kona.c pwm: bcm-kona: Update macros to remove braces around numbers 2019-03-04 12:52:49 +01:00
pwm-berlin.c pwm: Clear chip_data in pwm_put() 2019-05-09 17:09:54 +02:00
pwm-brcmstb.c
pwm-clps711x.c pwm: clps711x: Switch to SPDX identifier 2018-12-24 12:06:56 +01:00
pwm-crc.c
pwm-cros-ec.c pwm: cros-ec: Switch to SPDX identifier 2018-07-09 19:02:23 +02:00
pwm-ep93xx.c ARM: ep93xx: move pinctrl interfaces into include/linux/soc 2019-04-28 23:08:40 -07:00
pwm-fsl-ftm.c drivers/pwm: pwm-fsl-ftm: use common header for FlexTimer #defines 2019-04-25 21:33:41 +02:00
pwm-hibvt.c pwm: hibvt: Add hi3559v100 support 2019-03-04 11:38:52 +01:00
pwm-img.c pwm: img: Turn final 'else if' into 'else' in img_pwm_config 2019-03-20 12:29:22 +01:00
pwm-imx1.c pwm: imx: Split into two drivers 2019-01-16 08:45:33 +01:00
pwm-imx27.c pwm: imx27: Use devm_platform_ioremap_resource() to simplify code 2019-05-09 16:53:59 +02:00
pwm-imx-tpm.c pwm: Add i.MX TPM PWM driver support 2019-05-09 17:01:48 +02:00
pwm-jz4740.c pwm: jz4740: Force TCU2 channels to return to their init level 2019-06-26 11:39:05 +02:00
pwm-lp3943.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
pwm-lpc18xx-sct.c pwm: lpc18xx-sct: Don't reconfigure PWM in .request and .free 2018-11-16 11:02:47 +01:00
pwm-lpc32xx.c
pwm-lpss-pci.c
pwm-lpss-platform.c pwm: lpss: Force runtime-resume on suspend on Cherry Trail 2018-10-16 13:15:57 +02:00
pwm-lpss.c pwm: lpss: Only set update bit if we are actually changing the settings 2018-10-16 13:16:15 +02:00
pwm-lpss.h pwm: lpss: Force runtime-resume on suspend on Cherry Trail 2018-10-16 13:15:57 +02:00
pwm-mediatek.c pwm: mediatek: Add MT7628 support 2018-08-20 11:36:07 +02:00
pwm-meson.c pwm: meson: Fix the G12A AO clock parents order 2019-06-25 14:57:44 +02:00
pwm-mtk-disp.c pwm: Add MediaTek MT8183 display PWM driver support 2019-03-04 11:45:08 +01:00
pwm-mxs.c pwm: mxs: Switch to SPDX identifier 2018-07-12 09:03:06 +02:00
pwm-omap-dmtimer.c pwm: omap-dmtimer: Return -EPROBE_DEFER if no dmtimer platform data 2018-08-20 11:32:19 +02:00
pwm-pca9685.c pwm: Clear chip_data in pwm_put() 2019-05-09 17:09:54 +02:00
pwm-puv3.c pwm: puv3: Delete an error message for a failed memory allocation 2018-03-27 23:27:05 +02:00
pwm-pxa.c
pwm-rcar.c pwm: rcar: Improve calculation of divider 2019-03-04 12:14:21 +01:00
pwm-renesas-tpu.c pwm: Use SPDX identifier for Renesas drivers 2018-10-12 13:35:45 +02:00
pwm-rockchip.c
pwm-samsung.c pwm: samsung: Don't uses devm_*() functions in ->request() 2019-05-09 17:29:15 +02:00
pwm-sifive.c pwm: sifive: Add a driver for SiFive SoC PWM 2019-06-25 14:48:12 +02:00
pwm-spear.c
pwm-sti.c
pwm-stm32-lp.c pwm: stm32-lp: Add power management support 2019-06-25 14:49:50 +02:00
pwm-stm32.c pwm: stm32: Use 3 cells ->of_xlate() 2019-06-25 14:53:51 +02:00
pwm-stmpe.c pwm: stmpe: Fix wrong register offset for hwpwm=2 case 2017-12-05 09:33:05 +01:00
pwm-sun4i.c pwm: sun4i: Simplify controller mapping 2018-03-28 01:12:12 +02:00
pwm-tegra.c pwm: tegra: Remove gratuituous blank line 2018-09-26 16:01:39 +02:00
pwm-tiecap.c
pwm-tiehrpwm.c pwm: tiehrpwm: Update shadow register for disabling PWMs 2019-03-20 12:31:07 +01:00
pwm-tipwmss.c
pwm-twl-led.c
pwm-twl.c
pwm-vt8500.c
pwm-zx.c
sysfs.c pwm: sysfs: fix typo "its" -> "it's" 2019-03-20 12:34:14 +01:00