]> git.karo-electronics.de Git - linux-beck.git/commit
pwm: pwm-tiehrpwm: Adding TBCLK gating support.
authorPhilip, Avinash <avinashphilip@ti.com>
Tue, 27 Nov 2012 08:48:12 +0000 (14:18 +0530)
committerThierry Reding <thierry.reding@avionic-design.de>
Wed, 28 Nov 2012 14:16:16 +0000 (15:16 +0100)
commitd91861dafda44d808272f55758ca91d962feda6e
tree95a9e83fef7076b3a23e2835de5b7b85bc812b38
parent3db9b76d7b6aa6eee1f9be83cf807e531e74bf4f
pwm: pwm-tiehrpwm: Adding TBCLK gating support.

Some platforms (like AM33XX) requires clock gating from control module
explicitly for TBCLK. Enabling of this clock required for the
functioning of the time base sub module in EHRPWM module. Adding support
for handling by enabling the clock on PWM device enable & disable on PWM
device disable. Platforms don't have explicit TBCLK gating has to add
dummy TBCLK node.

Signed-off-by: Philip, Avinash <avinashphilip@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-tiehrpwm.c