Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5027131ybv; Wed, 26 Feb 2020 07:12:45 -0800 (PST) X-Google-Smtp-Source: APXvYqxZ18ofuwu5v0Orpwq4KifYd0RNXBfVtTi89AusPCyXhSN0ii0uus2kfe/21UiMB1e06xyF X-Received: by 2002:a05:6808:b13:: with SMTP id s19mr3362352oij.119.1582729965530; Wed, 26 Feb 2020 07:12:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582729965; cv=none; d=google.com; s=arc-20160816; b=RR98sA0Fg3qpqP6K6GtWploxBEKzZo6x/Xc78Hsi4OyVXWquOaxSe1SY5DkwNwhkqS ZzL/Hsp/q/bUrVhfDHf6S56iWKrF2iOtfofMu2rm67IVrnrsFKVtx+Owmt7EE9u+Yoot Dn5PoG3Yqo7pAkk2wvEH4Lx7aiZi5kOUxYy3FhoQAV/ZRNGxL9IdP0iBmJOWT6JgOsnn 0k7z+cKDNj0w3yUmX+/IZudsDTZCBKFvRDnxS31MCQUciJNJIWan59qtq6T8CQtW5d1g 7LBgT9z8LxcIYqF9ir1oaQffjfgf0KTaQ2RcAtVbxc3S/opetZ0Md/XH1mb1geBLS5Bx 1y3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=+kC60XtlFgh6Db/blMVuVWBTbM+pqXRDZ5RZewwnO24=; b=Hb/WIam5/2U8PulR5o2ig6rKeKx8CTGj7LnnZ8A62hkLXLbT0TJAPV/EoagCY0E4rK aa4CGyDTcIMaYEtaprZ6JkTlZTlDBLbm0b1xCHPM5MZcS9hFfDTJTK+PrVJn38x8DCob bf+a6/rLej22IqvP/fr40rWebPty/HTZ2W/LH+yTB4tOpf/k2NX6WUMPqamuuNBs37O2 tTDrGV5VMd73+qOpFW6kUY6W22UCNFSfQQY5sITchSqyLfVwVIrSyHRk1eAbaMFYBVFg Z2cYK1QMCPLI5RrTnqjB2TbcMlRzscOOET2OQoNqhiOj25X6zBrpz2b2bXpFizsWw9n2 dgXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r10si1305955otk.83.2020.02.26.07.12.25; Wed, 26 Feb 2020 07:12:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727941AbgBZPKh (ORCPT + 99 others); Wed, 26 Feb 2020 10:10:37 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:38089 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727670AbgBZPKg (ORCPT ); Wed, 26 Feb 2020 10:10:36 -0500 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j6yKY-0004aS-Th; Wed, 26 Feb 2020 16:10:34 +0100 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1j6yKY-0007AG-J5; Wed, 26 Feb 2020 16:10:34 +0100 Date: Wed, 26 Feb 2020 16:10:34 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Matthias Schiffer Cc: thierry.reding@gmail.com, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] pwm: pca9685: remove unused duty_cycle struct element Message-ID: <20200226151034.7i3h5blmrwre2yzg@pengutronix.de> References: <20200226135229.24929-1-matthias.schiffer@ew.tq-group.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200226135229.24929-1-matthias.schiffer@ew.tq-group.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Matthias, as you seem to have this hardware on your desk, it would be great if you could answer the following questions: - Does the hardware complete the currently running period before applying a new setting? - Is this racy somehow (i.e. can it happen that when going from duty_cycle/period = 1000/5000 to duty_cycle/period = 4000/10000 the output is 1000/10000 (or 4000/5000) for one cycle)? - Does the hardware complete the currently running period before .enabled = false is configured? - How does the output pin behave on a disabled PWM. (Usual candidates are: freeze where is just happens to be, constant inactive and High-Z). Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | https://www.pengutronix.de/ |