linux/drivers/pwm
Philip, Avinash 01b2d4536f pwm: pwm-tiehrpwm: Fix conflicting channel period setting
EHRPWM hardware supports 2 independent PWM channels. However the device
uses only one register to handle period setting for both channels. So
both channels should be configured for same period (in nsec).

Fix the same by returning error for conflicting period values.

However, allow
1. Configuration of period settings if not conflicting with other
channels
2. Re-configuring of period settings if no other channels being
configured

Signed-off-by: Philip, Avinash <avinashphilip@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
2012-09-10 17:04:38 +02:00
..
Kconfig pwm: Improve Kconfig help text 2012-08-20 11:58:43 +02:00
Makefile
core.c
pwm-bfin.c
pwm-imx.c
pwm-lpc32xx.c
pwm-mxs.c
pwm-pxa.c
pwm-samsung.c
pwm-tegra.c
pwm-tiecap.c pwm: pwm-tiecap: Disable APWM mode after configure 2012-09-10 17:03:13 +02:00
pwm-tiehrpwm.c pwm: pwm-tiehrpwm: Fix conflicting channel period setting 2012-09-10 17:04:38 +02:00
pwm-vt8500.c