summaryrefslogtreecommitdiff
path: root/include/linux/hrtimer.h
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2012-06-25 18:15:20 +0400
committerThierry Reding <thierry.reding@avionic-design.de>2012-09-12 16:25:07 +0400
commit7b27c160c68152581c702b9f1fe362338d2a0cad (patch)
tree0fb2f975f42b1aadcbddb2ff25b06f7c525b112e /include/linux/hrtimer.h
parent8d1c24bfd20829f5943c76b85c4973db264dd666 (diff)
downloadlinux-7b27c160c68152581c702b9f1fe362338d2a0cad.tar.xz
pwm: i.MX: fix clock lookup
The i.MX PWM core has two clocks: The ipg clock and the ipg highfreq (peripheral) clock. The ipg clock has to be enabled for this hardware to work. The actual PWM output can either be driven by the ipg clock or the ipg highfreq. The ipg highfreq has the advantage that it runs even when the SoC is in low power modes. This patch requests both clocks and enables the ipg clock for accessing registers and the peripheral clock to actually turn on the PWM. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Shawn Guo <shawn.guo@linaro.org> Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'include/linux/hrtimer.h')
0 files changed, 0 insertions, 0 deletions