Re: [Intel-gfx] [PATCH 4/9] drivers/pwm: Add helper to configure pwm using clock divisor and duty percent

2015-04-13 Thread Shobhit Kumar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/10/2015 01:59 PM, Thierry Reding wrote: > On Wed, Apr 01, 2015 at 11:58:50AM +0530, Shobhit Kumar wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> On 03/24/2015 01:53 PM, Thierry Reding wrote: >>> On Fri, Mar 13, 2015 at 07:28:02PM

Re: [Intel-gfx] [PATCH 4/9] drivers/pwm: Add helper to configure pwm using clock divisor and duty percent

2015-03-31 Thread Shobhit Kumar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/24/2015 01:53 PM, Thierry Reding wrote: > On Fri, Mar 13, 2015 at 07:28:02PM +0530, Shobhit Kumar wrote: >> Some chips instead of using period_ns and duty_ns can be >> configured using the clock divisor and duty percent. Adds an >> alternative co

Re: [Intel-gfx] [PATCH 4/9] drivers/pwm: Add helper to configure pwm using clock divisor and duty percent

2015-03-24 Thread Thierry Reding
On Fri, Mar 13, 2015 at 07:28:02PM +0530, Shobhit Kumar wrote: > Some chips instead of using period_ns and duty_ns can be configured > using the clock divisor and duty percent. Adds an alternative > configuration method for such chips I don't see a need to introduce this alternative configuration

[Intel-gfx] [PATCH 4/9] drivers/pwm: Add helper to configure pwm using clock divisor and duty percent

2015-03-13 Thread Shobhit Kumar
Some chips instead of using period_ns and duty_ns can be configured using the clock divisor and duty percent. Adds an alternative configuration method for such chips v2: Corrected the chip validation for config_alternate in pwmchip_add CC: Samuel Ortiz Cc: Linus Walleij Cc: Alexandre Courbot C