Re: [PATCH v2] pwm: berlin: Don't use broken prescaler values

2018-07-09 Thread Thierry Reding
On Wed, Jun 06, 2018 at 01:42:10PM -0400, Thomas Hebb wrote: > The Berlin PWM driver is currently broken on at least BG2CD. The > symptoms manifest as a very non-linear and erratic mapping from the duty > cycle configured in software to the duty cycle produced by hardware. > > The cause of the bug

[PATCH v2] pwm: berlin: Don't use broken prescaler values

2018-06-06 Thread Thomas Hebb
The Berlin PWM driver is currently broken on at least BG2CD. The symptoms manifest as a very non-linear and erratic mapping from the duty cycle configured in software to the duty cycle produced by hardware. The cause of the bug is software's configuration of the prescaler, and in particular its us