commit | 368db7994060778331290d8027e7602bf78e758a | [log] [tgz] |
---|---|---|
author | Willie Ruan <wruan@codeaurora.org> | Tue Jul 05 08:09:58 2011 -0700 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Mon Oct 03 16:14:26 2011 -0700 |
tree | 3c22e1ec52dc60544d5404992c94ed62df9d4e64 | |
parent | 8a08b966fe5838baec12754480948403fe07a48a [diff] |
misc: pm8058-pwm: add two APIs These two new APIs allow a driver to specify its PWM period and duty cycle separately using PM8058 chip specific parameters or raw values. The API to program a duty cycle uses hardware module's LUT (LookUpTable) to output PWM value, which can be used to alleviate potential glitches using direct writing to PWM register. Signed-off-by: Willie Ruan <wruan@codeaurora.org>