Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4230045pxb; Tue, 2 Mar 2021 09:41:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8QOwcqJd2GfBs/rVeahu0C0xJp9YiHkqyUakxjczNTrC7KUEuNNWE/a55gvN2wj7Fs5i8 X-Received: by 2002:aa7:d511:: with SMTP id y17mr6966392edq.275.1614706902833; Tue, 02 Mar 2021 09:41:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614706902; cv=none; d=google.com; s=arc-20160816; b=dOncosBmuO/8fuqKilAkmZEqngz3tIIoWba3UifJzferfWyFWovKkOXPpIryZzG5kj bf4I2gXZ6jWx++aZOByZU9/kkuiRud5lRwIvbmRfmEGP2RHvbNr55UbKcdReNlvHK+y6 qWExnIgkiGFbahSXNxNc2UTn/hxHbPa87UrtuCcwmGAYIRK+R5snqgBV+ghsDAQdYmbF fCCGPaEJVGT6nFqn9XONiM/JV1709LyeFUdmoyNMcRCXIHmJF7ItgYZggcxOIbG+Ka8p vONjkhf4uC3as6a9S/XrMNLuRmXsxEhHKBk8B+3C04oAXHhaiFPiaCnw3/9v7aX+ZRmn 1jDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ssbGZ8Wpb1uRiqjGus/K6EgSFR0/05fMsuQwv98US1E=; b=UVlZQ6Ls/MDN+u6iDpOX4tecWmCFDPEFdqHt4KSGNt/dhy4UlJp54sPM66Tdx9xR/p hACL/eNY/S9uhXh/SKnKu3MgORR+HdvXqQE9sD9m07xOoE/oOqAj5rAQSHtAoaQ6u0px PwimGzKhxqts/j6qqCVIb35ed82ZLq2FxuQRw9/rGrFYA/TVDJoeA1N0QMlFZNt1P4JW PLxApPjO2TlkCNB0bO8rZUCoHgv7claDCDMFsDJU0N0LvozZ/azzW31obkRX+qQNXQWA XxqQgFVGM7sDId0U6wurmCp2WF9u+cTF5dlyljtzFm4wPeKC3u1MuncPsvHhY3XHrtKP T0mA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g6si13862670ejo.534.2021.03.02.09.41.19; Tue, 02 Mar 2021 09:41:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574953AbhCBDv5 (ORCPT + 99 others); Mon, 1 Mar 2021 22:51:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241313AbhCAVrS (ORCPT ); Mon, 1 Mar 2021 16:47:18 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50747C0617AB for ; Mon, 1 Mar 2021 13:46:38 -0800 (PST) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lGqN8-0003SB-9r; Mon, 01 Mar 2021 22:46:34 +0100 Received: from ukl by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lGqN7-0000nv-O8; Mon, 01 Mar 2021 22:46:33 +0100 Date: Mon, 1 Mar 2021 22:46:33 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Clemens Gruber Cc: linux-pwm@vger.kernel.org, Thierry Reding , Sven Van Asbroeck , Lee Jones , linux-kernel@vger.kernel.org, Mika Westerberg , David Jander Subject: Re: [PATCH v5 4/7] pwm: pca9685: Reset registers to POR state in probe Message-ID: <20210301214633.5xgxwtxuodrb3nyn@pengutronix.de> References: <20201215212228.185517-1-clemens.gruber@pqgruber.com> <20201215212228.185517-4-clemens.gruber@pqgruber.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yqu7abjqlmsekdag" Content-Disposition: inline In-Reply-To: <20201215212228.185517-4-clemens.gruber@pqgruber.com> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --yqu7abjqlmsekdag Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Clemens, On Tue, Dec 15, 2020 at 10:22:25PM +0100, Clemens Gruber wrote: > Reset the prescale and ON/OFF registers to their POR default state in > the probe function. Otherwise, the PWMs could still be active after a > watchdog reset and reboot, etc. My memories are swapped out because it's already so long ago I looked into this series. I thought it was already said that taking over the configured state in probe is the nice thing to do?! Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --yqu7abjqlmsekdag Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmA9YLYACgkQwfwUeK3K 7AlFPgf/XsTyreMD0eEAB771UDAiWVBDvvto9r2YZ9JmdwElc8i6itG3hH24hIpd BRIedAPTMoTkj0XdDCusO9Rz7zu1zmbNEoDnGll7i+c4PDffMx7RIPloCZMD+dpF f/3Ox2PTAO6N9bkFLaFlFgXUiNAGzMA18yDbJOz1rVV3DDi5sn2kqRAOBJN1BlJa PERKV1Y9Rk1DxqQbti4fcE4yy3zAUIZf7Cs9qO5/h/MYWfElpMgspkDjCKqIemWh E0DLGv9bJrso0XP9QeV+//sJgSMQlL64+sxEfs1RaI6aIchm2eW9qij6rNENGNqH EjUTIhByrS60paYrVjE5SmnGyc7DrA== =Xn5c -----END PGP SIGNATURE----- --yqu7abjqlmsekdag--