From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH v3 12/14] regulator: pwm: Retrieve correct voltage Date: Tue, 5 Jul 2016 16:32:09 +0200 Message-ID: <20160705143209.GZ6247@sirena.org.uk> References: <1465895602-31008-1-git-send-email-boris.brezillon@free-electrons.com> <1465895602-31008-13-git-send-email-boris.brezillon@free-electrons.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jOWcLJj2EpBZWei/" Return-path: Content-Disposition: inline In-Reply-To: <1465895602-31008-13-git-send-email-boris.brezillon@free-electrons.com> Sender: linux-pwm-owner@vger.kernel.org To: Boris Brezillon Cc: Thierry Reding , linux-pwm@vger.kernel.org, Liam Girdwood , Heiko Stuebner , linux-rockchip@lists.infradead.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Milo Kim , Doug Anderson , Caesar Wang , Stephen Barber , Brian Norris , Ajit Pal Singh , Srinivas Kandagatla , Maxime Coquelin , Patrice Chotard , kernel@stlinux.com, Laxman Dewangan List-Id: linux-rockchip.vger.kernel.org --jOWcLJj2EpBZWei/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jun 14, 2016 at 11:13:20AM +0200, Boris Brezillon wrote: > The continuous PWM voltage regulator is caching the voltage value in > the ->volt_uV field. While most of the time this value should reflect the > real voltage, sometime it can be sightly different if the PWM device > rounded the set_duty_cycle request. > Moreover, this value is not valid until someone has modified the regulator > output. Acked-by: Mark Brown --jOWcLJj2EpBZWei/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXe8ToAAoJECTWi3JdVIfQxjQH/jyKMWjwuag2+CfZHIEBCHYq iSXhAfd3aDDUFR0acMpCSWXbx3t+aBjfOdreBplXquaPvgRVSw7esGbT/Uegx2rj 7UghiULKA6GoyMRewACT6ctyq7/LLykWXR3NH8OMdZ2VGNbgc5EteAEYjgf1qJUx ghVG27uKbUrW8EyQsFOlQbLk0clT4OJg26NRtWGSsdVkHgFUjw0phfX6qsELAJXL NLYYVs0xJVI6HLBRDDnylKpDOHxGm5w2010NX8sQqPGANJ+mI8DyiybjcEqFRX/3 sc34O7U7/cwqOUNSgWBbpI6A9Oo9j8QQra1wAiTvzPBPCKb8AiVEPPsfmx5KDJc= =+D3r -----END PGP SIGNATURE----- --jOWcLJj2EpBZWei/--