Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752290AbdHRPp2 (ORCPT ); Fri, 18 Aug 2017 11:45:28 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:34827 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750812AbdHRPp0 (ORCPT ); Fri, 18 Aug 2017 11:45:26 -0400 Date: Fri, 18 Aug 2017 17:45:22 +0200 From: Thierry Reding To: David Wu Cc: heiko@sntech.de, boris.brezillon@free-electrons.com, robh+dt@kernel.org, catalin.marinas@arm.com, briannorris@chromium.org, dianders@chromium.org, mark.rutland@arm.com, huangtao@rock-chips.com, linux-pwm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 6/7] pwm: rockchip: Add rk3328 pwm support Message-ID: <20170818154522.GH18307@ulmo> References: <1502206715-24174-1-git-send-email-david.wu@rock-chips.com> <1502206967-24366-1-git-send-email-david.wu@rock-chips.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WRT3RXLOp/bBMgTI" Content-Disposition: inline In-Reply-To: <1502206967-24366-1-git-send-email-david.wu@rock-chips.com> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1805 Lines: 47 --WRT3RXLOp/bBMgTI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 08, 2017 at 11:42:47PM +0800, David Wu wrote: > The rk3328 soc supports atomic update, we could lock the configuration > of period and duty at first, after unlock is configured, the period and > duty are effective at the same time. >=20 > If the polarity, period and duty need to be configured together, > the way for atomic update is "configure lock and old polarity" -> > "configure period and duty" -> "configure unlock and new polarity". >=20 > Signed-off-by: David Wu > Acked-by: Rob Herring > --- > drivers/pwm/pwm-rockchip.c | 43 ++++++++++++++++++++++++++++++++++++++++= +-- > 1 file changed, 41 insertions(+), 2 deletions(-) Applied to for-4.14/drivers. Thierry --WRT3RXLOp/bBMgTI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlmXC5IACgkQ3SOs138+ s6EJiw//VNSz1bku3vHi7OCK/bI4afQ8lX5PzwCct4CNlIFIgT4ImoOa+GcnsOWj YjojRpkubCnbYMU5WmkQlEp4K/6yImyXdNyHjPP1B+wDwvlsY7YRNHd1uL+oXhyI Gfi0fqkV8TNL3E3j0gly7G71pj1s+CPZasVTyySCmW9WG0TYQc+TgZXFXrEpaYO5 iBKnJ8OZ1MBpJjoHQLatpLyaunHxT2Kei4J/UcYZ7FwYQYA/dBMtz6WW6GK/BElF aJz7EZIwrq1i9kKQuc+vYHZcdbYV8JPe2UxjZk+veZmF8qMC19zSlz5KLdEYkyFW xwPEYb0JGE/jSsfYeIumcoHZ02dIa/yb+clIcznVLVar5hvOAyVRsxABZ34A2CnE srh/mkEcfY6GNoTGbtQ0wswQDJD7MHdJAVlGf1h+FMfpggpQEIl0AqoSM9SqIYzd YQiXwcbzbuBKKMzJQzBHlK6ZAyXd0cNc4JkNr+oYxo13fA6H3bcPWCNjLI3uP3Dz GS41HaxGkURyrb8ByxBtuQpAj42c0Ozfww/BUyHP7xEwTHkV2Tq7o8dhbTxhOqef PHuw/a1/Qx5uEdEIWB32tMliLuu+L34xW7Uj2Lai7TFX2twVc5fofJdsmTwKIohS 4B0bReDu+dJTECebJYVlkdYp+ViDXlph960DPI48/e0Lyzrqpwo= =0/oW -----END PGP SIGNATURE----- --WRT3RXLOp/bBMgTI--