mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
commit cc6a931d1f3b412263d515fd93b21fc0ca5147fe upstream.
The modulo register defines the period of the edge-aligned PWM mode
(which is the only mode implemented). The reference manual states:
"The EPWM period is determined by (MOD + 0001h) ..." So the value that
is written to the MOD register must therefore be one less than the
calculated period length. Return -EINVAL if the calculated length is
already zero.
A correct MODULO value is particularly relevant if the PWM has to output
a high frequency due to a low period value.
Fixes:
|
||
| .. | ||
| core.c | ||
| Kconfig | ||
| Makefile | ||
| pwm-ab8500.c | ||
| pwm-atmel-hlcdc.c | ||
| pwm-atmel-tcb.c | ||
| pwm-atmel.c | ||
| pwm-bcm-iproc.c | ||
| pwm-bcm-kona.c | ||
| pwm-bcm2835.c | ||
| pwm-berlin.c | ||
| pwm-brcmstb.c | ||
| pwm-clps711x.c | ||
| pwm-crc.c | ||
| pwm-cros-ec.c | ||
| pwm-ep93xx.c | ||
| pwm-fsl-ftm.c | ||
| pwm-hibvt.c | ||
| pwm-img.c | ||
| pwm-imx-tpm.c | ||
| pwm-imx1.c | ||
| pwm-imx27.c | ||
| pwm-jz4740.c | ||
| pwm-lp3943.c | ||
| pwm-lpc18xx-sct.c | ||
| pwm-lpc32xx.c | ||
| pwm-lpss-pci.c | ||
| pwm-lpss-platform.c | ||
| pwm-lpss.c | ||
| pwm-lpss.h | ||
| pwm-mediatek.c | ||
| pwm-meson.c | ||
| pwm-mtk-disp.c | ||
| pwm-mxs.c | ||
| pwm-omap-dmtimer.c | ||
| pwm-pca9685.c | ||
| pwm-puv3.c | ||
| pwm-pxa.c | ||
| pwm-rcar.c | ||
| pwm-renesas-tpu.c | ||
| pwm-rockchip.c | ||
| pwm-samsung.c | ||
| pwm-sifive.c | ||
| pwm-spear.c | ||
| pwm-sprd.c | ||
| pwm-sti.c | ||
| pwm-stm32-lp.c | ||
| pwm-stm32.c | ||
| pwm-stmpe.c | ||
| pwm-sun4i.c | ||
| pwm-tegra.c | ||
| pwm-tiecap.c | ||
| pwm-tiehrpwm.c | ||
| pwm-tipwmss.c | ||
| pwm-twl-led.c | ||
| pwm-twl.c | ||
| pwm-vt8500.c | ||
| pwm-zx.c | ||
| sysfs.c | ||