Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-08 Thread weiqing kong
On Wed, 2016-06-08 at 13:22 +0200, Matthias Brugger wrote: > > On 08/06/16 09:21, weiqing kong wrote: > > On Fri, 2016-06-03 at 17:35 +0200, Matthias Brugger wrote: > >> > >> On 30/05/16 10:41, Weiqing Kong wrote: > >>> Use the mtk_pwm_data struction to define different registers > >>> and add

Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-08 Thread weiqing kong
On Wed, 2016-06-08 at 13:22 +0200, Matthias Brugger wrote: > > On 08/06/16 09:21, weiqing kong wrote: > > On Fri, 2016-06-03 at 17:35 +0200, Matthias Brugger wrote: > >> > >> On 30/05/16 10:41, Weiqing Kong wrote: > >>> Use the mtk_pwm_data struction to define different registers > >>> and add

Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-08 Thread Matthias Brugger
On 08/06/16 09:21, weiqing kong wrote: On Fri, 2016-06-03 at 17:35 +0200, Matthias Brugger wrote: On 30/05/16 10:41, Weiqing Kong wrote: Use the mtk_pwm_data struction to define different registers and add MT2701 specific register operations, such as MT2701 doesn't have commit register,

Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-08 Thread Matthias Brugger
On 08/06/16 09:21, weiqing kong wrote: On Fri, 2016-06-03 at 17:35 +0200, Matthias Brugger wrote: On 30/05/16 10:41, Weiqing Kong wrote: Use the mtk_pwm_data struction to define different registers and add MT2701 specific register operations, such as MT2701 doesn't have commit register,

Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-08 Thread weiqing kong
On Fri, 2016-06-03 at 17:35 +0200, Matthias Brugger wrote: > > On 30/05/16 10:41, Weiqing Kong wrote: > > Use the mtk_pwm_data struction to define different registers > > and add MT2701 specific register operations, such as MT2701 > > doesn't have commit register, needs to disable double buffer >

Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-08 Thread weiqing kong
On Fri, 2016-06-03 at 17:35 +0200, Matthias Brugger wrote: > > On 30/05/16 10:41, Weiqing Kong wrote: > > Use the mtk_pwm_data struction to define different registers > > and add MT2701 specific register operations, such as MT2701 > > doesn't have commit register, needs to disable double buffer >

Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-03 Thread Matthias Brugger
On 30/05/16 10:41, Weiqing Kong wrote: Use the mtk_pwm_data struction to define different registers and add MT2701 specific register operations, such as MT2701 doesn't have commit register, needs to disable double buffer before writing register, and needs to select manual mode and use

Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-03 Thread Matthias Brugger
On 30/05/16 10:41, Weiqing Kong wrote: Use the mtk_pwm_data struction to define different registers and add MT2701 specific register operations, such as MT2701 doesn't have commit register, needs to disable double buffer before writing register, and needs to select manual mode and use

[PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-05-30 Thread Weiqing Kong
Use the mtk_pwm_data struction to define different registers and add MT2701 specific register operations, such as MT2701 doesn't have commit register, needs to disable double buffer before writing register, and needs to select manual mode and use PWM_PERIOD/PWM_HIGH_WIDTH. Signed-off-by: Weiqing

[PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-05-30 Thread Weiqing Kong
Use the mtk_pwm_data struction to define different registers and add MT2701 specific register operations, such as MT2701 doesn't have commit register, needs to disable double buffer before writing register, and needs to select manual mode and use PWM_PERIOD/PWM_HIGH_WIDTH. Signed-off-by: Weiqing