Re: [PATCH v8 2/8] pwm: pca9685: Support hardware readout

2021-04-12 Thread Uwe Kleine-König
Hello Clemens, On Mon, Apr 12, 2021 at 03:27:39PM +0200, Clemens Gruber wrote: > Implement .get_state to read-out the current hardware state. > > The hardware readout may return slightly different values than those > that were set in apply due to the limited range of possible prescale and > count

[PATCH v8 2/8] pwm: pca9685: Support hardware readout

2021-04-12 Thread Clemens Gruber
Implement .get_state to read-out the current hardware state. The hardware readout may return slightly different values than those that were set in apply due to the limited range of possible prescale and counter register values. Also note that although the datasheet mentions 200 Hz as default freq