Re: [U-Boot] [PATCH 3/3] pwm: sunxi: choose best prescaler to improve PWM resolution

2018-10-24 Thread Vasily Khoruzhick
I think this series already went into Anatolij's u-boot-staging/ag...@denx.de, please make sure that you don't introduce any conflicts.On Wed, Oct 24, 2018 at 9:28 AM Jagan Teki wrote: > > On Wed, Oct 17, 2018 at 10:28 AM Vasily Khoruzhick wrote: > > > > Choose best prescaler to improve PWM resol

Re: [U-Boot] [PATCH 3/3] pwm: sunxi: choose best prescaler to improve PWM resolution

2018-10-24 Thread Jagan Teki
On Wed, Oct 17, 2018 at 10:28 AM Vasily Khoruzhick wrote: > > Choose best prescaler to improve PWM resolution. Without this change > driver chooses first prescaler that gives us period value within > range, but it could be not the best one. > > Signed-off-by: Vasily Khoruzhick > --- Applied to a

Re: [U-Boot] [PATCH 3/3] pwm: sunxi: choose best prescaler to improve PWM resolution

2018-10-22 Thread Vasily Khoruzhick
On Mon, Oct 22, 2018 at 11:29 AM Jagan Teki wrote: > > On Wed, Oct 17, 2018 at 10:28 AM Vasily Khoruzhick wrote: > > > > Choose best prescaler to improve PWM resolution. Without this change > > driver chooses first prescaler that gives us period value within > > range, but it could be not the bes

Re: [U-Boot] [PATCH 3/3] pwm: sunxi: choose best prescaler to improve PWM resolution

2018-10-22 Thread Jagan Teki
On Wed, Oct 17, 2018 at 10:28 AM Vasily Khoruzhick wrote: > > Choose best prescaler to improve PWM resolution. Without this change > driver chooses first prescaler that gives us period value within > range, but it could be not the best one. This commit need to elaborate about the real issue, ie g

[U-Boot] [PATCH 3/3] pwm: sunxi: choose best prescaler to improve PWM resolution

2018-10-16 Thread Vasily Khoruzhick
Choose best prescaler to improve PWM resolution. Without this change driver chooses first prescaler that gives us period value within range, but it could be not the best one. Signed-off-by: Vasily Khoruzhick --- drivers/pwm/sunxi_pwm.c | 32 +++- 1 file changed, 19 in