RE: [EXT] Re: [PATCH V10 2/5] pwm: Add i.MX TPM PWM driver support

2019-04-09 Thread Anson Huang
> robh...@kernel.org; linux-kernel@vger.kernel.org; > > thierry.red...@gmail.com; ste...@agner.ch; ker...@pengutronix.de; > > Leonard Crestez ; shawn...@kernel.org; > linux- > > arm-ker...@lists.infradead.org; dl-linux-imx > > Subject: Re: [EXT] Re: [PATCH V10 2/5] pwm: Add

RE: [EXT] Re: [PATCH V10 2/5] pwm: Add i.MX TPM PWM driver support

2019-04-09 Thread Anson Huang
; arm-ker...@lists.infradead.org; dl-linux-imx > Subject: Re: [EXT] Re: [PATCH V10 2/5] pwm: Add i.MX TPM PWM driver > support > > WARNING: This email was created outside of NXP. DO NOT CLICK links or > attachments unless you recognize the sender and know the content is safe. >

Re: [EXT] Re: [PATCH V10 2/5] pwm: Add i.MX TPM PWM driver support

2019-04-09 Thread Uwe Kleine-König
Hello, On Tue, Apr 09, 2019 at 08:51:48AM +, Anson Huang wrote: > > On Tue, Mar 26, 2019 at 06:52:33AM +, Anson Huang wrote: > > > + /* get polarity */ > > > + if (chan) { > > > + state->polarity = chan->polarity; > > > + } else { > > > + /* in case no c

RE: [EXT] Re: [PATCH V10 2/5] pwm: Add i.MX TPM PWM driver support

2019-04-09 Thread Anson Huang
linux-kernel@vger.kernel.org; dl-linux-imx > > Subject: [EXT] Re: [PATCH V10 2/5] pwm: Add i.MX TPM PWM driver support > > WARNING: This email was created outside of NXP. DO NOT CLICK links or > attachments unless you recognize the sender and know the content is safe. > >

Re: [PATCH V10 2/5] pwm: Add i.MX TPM PWM driver support

2019-04-08 Thread Uwe Kleine-König
On Tue, Mar 26, 2019 at 06:52:33AM +, Anson Huang wrote: > i.MX7ULP has TPM(Low Power Timer/Pulse Width Modulation Module) > inside, it can support multiple PWM channels, all the channels > share same counter and period setting, but each channel can > configure its duty and polarity independent

Re: [PATCH V10 2/5] pwm: Add i.MX TPM PWM driver support

2019-03-28 Thread Uwe Kleine-König
On Tue, Mar 26, 2019 at 06:52:33AM +, Anson Huang wrote: > i.MX7ULP has TPM(Low Power Timer/Pulse Width Modulation Module) > inside, it can support multiple PWM channels, all the channels > share same counter and period setting, but each channel can > configure its duty and polarity independent

[PATCH V10 2/5] pwm: Add i.MX TPM PWM driver support

2019-03-25 Thread Anson Huang
i.MX7ULP has TPM(Low Power Timer/Pulse Width Modulation Module) inside, it can support multiple PWM channels, all the channels share same counter and period setting, but each channel can configure its duty and polarity independently. There are several TPM modules in i.MX7ULP, the number of channel