[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YGIBdBdQJOgbPMTw@workstation.tuxnet>
Date: Mon, 29 Mar 2021 18:33:56 +0200
From: Clemens Gruber <clemens.gruber@...ruber.com>
To: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
Cc: linux-pwm@...r.kernel.org,
Thierry Reding <thierry.reding@...il.com>,
Sven Van Asbroeck <TheSven73@...il.com>,
linux-kernel@...r.kernel.org, kernel@...gutronix.de
Subject: Re: [PATCH v6 2/7] pwm: pca9685: Support hardware readout
Hi Uwe,
On Mon, Mar 29, 2021 at 05:51:40PM +0200, Uwe Kleine-König wrote:
> Hello Clemens,
>
> On Mon, Mar 29, 2021 at 02:57:02PM +0200, Clemens Gruber wrote:
> > 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.
>
> This is fine and for most hardware that's not preventable. My
> requirement here is that
>
> .get_state(pwm, &state);
> .apply_state(pwm, &state);
>
> doesn't yield any changes.
Yes, that would not change anything.
Thanks,
Clemens
Powered by blists - more mailing lists