linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* clock enable for i.mx35 pwm
@ 2010-11-16 11:17 Alexander Stein
  0 siblings, 0 replies; only message in thread
From: Alexander Stein @ 2010-11-16 11:17 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

I tried to use the PWM for activating a beeper. I noticed I had to write twice 
to the input device (pwm-beeper.c) to get a sound. I noticed the clock is 
enabled after the PWM is configured (or should be configured). So it seems 
while the clock is disabled, you can't program the PWM unit. So on pwm_request 
the clock should be enabled immediately and on pwm_enable the MX3_PWMCR_EN bit 
should be set (at least for i.mx > 2.1). No idea how to do that in the "older" 
variants.

Any opinions/fix about that?

Best regards,
Alexander

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-16 11:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-16 11:17 clock enable for i.mx35 pwm Alexander Stein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).