Re: [PATCH v3 6/6] pwm: mediatek: add MT2712/MT7622 support

2017-08-21 Thread Zhi Mao
Hi Thierry, Thanks for your review code. I will modify the code as you comment in the next release. Regards Zhi On Mon, 2017-08-21 at 10:05 +0200, Thierry Reding wrote: > On Fri, Jun 30, 2017 at 02:05:21PM +0800, Zhi Mao wrote: > > 1. support multiple chip(MT2712, MT7622, MT7623) > > 2. add mtk

Re: [PATCH v3 6/6] pwm: mediatek: add MT2712/MT7622 support

2017-08-21 Thread Thierry Reding
On Fri, Jun 30, 2017 at 02:05:21PM +0800, Zhi Mao wrote: > 1. support multiple chip(MT2712, MT7622, MT7623) > 2. add mtk_pwm_com_reg for match the registers of MT2712 pwm8 >the register offset address of pwm8 for MT2712 is not fixed 0x40 >and they are not the same as pwm0~6. > > Signed-off

[PATCH v3 6/6] pwm: mediatek: add MT2712/MT7622 support

2017-06-29 Thread Zhi Mao
1. support multiple chip(MT2712, MT7622, MT7623) 2. add mtk_pwm_com_reg for match the registers of MT2712 pwm8 the register offset address of pwm8 for MT2712 is not fixed 0x40 and they are not the same as pwm0~6. Signed-off-by: Zhi Mao --- drivers/pwm/pwm-mediatek.c | 55