[PATCH] pwm: imx: Add support for low-speed PWM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




The i.MX PWM driver has a selectable clock source.  In order to get very
long period lengths, the driver must select the 32.768 kHz clock.

It's unclear what the threshold should be to switch clocks, so set it
arbitrarily to 100 usecs.

Sean Cross (1):
  pwm: imx: Support very long period lengths

 drivers/pwm/pwm-imx.c | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux