RE: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Philip, Avinash
On Mon, Jul 16, 2012 at 18:16:13, Lars-Peter Clausen wrote: > On 07/16/2012 02:23 PM, Philip, Avinash wrote: > > > > > 1. PWM framework API addition. > > PWM frame work API support. > > /** > > * pwm_setpolarity() - change a PWM device Polarity > > * @pwm: PWM device > >

RE: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Philip, Avinash
On Mon, Jul 16, 2012 at 18:16:08, Thierry Reding wrote: > On Mon, Jul 16, 2012 at 12:23:46PM +, Philip, Avinash wrote: > > On Mon, Jul 16, 2012 at 17:09:21, Thierry Reding wrote: > > > On Mon, Jul 16, 2012 at 11:15:50AM +, Philip, Avinash wrote: > > > > Hi Thierry, > > > > > > > > On one

Re: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Thierry Reding
On Mon, Jul 16, 2012 at 12:23:46PM +, Philip, Avinash wrote: > On Mon, Jul 16, 2012 at 17:09:21, Thierry Reding wrote: > > On Mon, Jul 16, 2012 at 11:15:50AM +, Philip, Avinash wrote: > > > Hi Thierry, > > > > > > On one of the custom boards we are using, uses PWM to drive the > > >

Re: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Lars-Peter Clausen
On 07/16/2012 02:23 PM, Philip, Avinash wrote: > On Mon, Jul 16, 2012 at 17:09:21, Thierry Reding wrote: >> On Mon, Jul 16, 2012 at 11:15:50AM +, Philip, Avinash wrote: >>> Hi Thierry, >>> >>> On one of the custom boards we are using, uses PWM to drive the backlight. >>> However, for >>> this

RE: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Philip, Avinash
On Mon, Jul 16, 2012 at 17:09:21, Thierry Reding wrote: > On Mon, Jul 16, 2012 at 11:15:50AM +, Philip, Avinash wrote: > > Hi Thierry, > > > > On one of the custom boards we are using, uses PWM to drive the backlight. > > However, for > > this device, PWM signal needs to be inversed. > > So,

Re: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Thierry Reding
On Mon, Jul 16, 2012 at 11:15:50AM +, Philip, Avinash wrote: > Hi Thierry, > > On one of the custom boards we are using, uses PWM to drive the backlight. > However, for > this device, PWM signal needs to be inversed. > So, we need to a platform data to indicate this parameter. > Current PWM

Re: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Thierry Reding
On Mon, Jul 16, 2012 at 11:15:50AM +, Philip, Avinash wrote: Hi Thierry, On one of the custom boards we are using, uses PWM to drive the backlight. However, for this device, PWM signal needs to be inversed. So, we need to a platform data to indicate this parameter. Current PWM

RE: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Philip, Avinash
On Mon, Jul 16, 2012 at 17:09:21, Thierry Reding wrote: On Mon, Jul 16, 2012 at 11:15:50AM +, Philip, Avinash wrote: Hi Thierry, On one of the custom boards we are using, uses PWM to drive the backlight. However, for this device, PWM signal needs to be inversed. So, we need to a

Re: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Lars-Peter Clausen
On 07/16/2012 02:23 PM, Philip, Avinash wrote: On Mon, Jul 16, 2012 at 17:09:21, Thierry Reding wrote: On Mon, Jul 16, 2012 at 11:15:50AM +, Philip, Avinash wrote: Hi Thierry, On one of the custom boards we are using, uses PWM to drive the backlight. However, for this device, PWM

Re: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Thierry Reding
On Mon, Jul 16, 2012 at 12:23:46PM +, Philip, Avinash wrote: On Mon, Jul 16, 2012 at 17:09:21, Thierry Reding wrote: On Mon, Jul 16, 2012 at 11:15:50AM +, Philip, Avinash wrote: Hi Thierry, On one of the custom boards we are using, uses PWM to drive the backlight. However,

RE: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Philip, Avinash
On Mon, Jul 16, 2012 at 18:16:08, Thierry Reding wrote: On Mon, Jul 16, 2012 at 12:23:46PM +, Philip, Avinash wrote: On Mon, Jul 16, 2012 at 17:09:21, Thierry Reding wrote: On Mon, Jul 16, 2012 at 11:15:50AM +, Philip, Avinash wrote: Hi Thierry, On one of the custom

RE: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Philip, Avinash
On Mon, Jul 16, 2012 at 18:16:13, Lars-Peter Clausen wrote: On 07/16/2012 02:23 PM, Philip, Avinash wrote: 1. PWM framework API addition. PWM frame work API support. /** * pwm_setpolarity() - change a PWM device Polarity * @pwm: PWM device * @polarity: