Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2824616pxu; Mon, 7 Dec 2020 17:20:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxm/FgiAYsxQRvg+1zdkdBOxOeDLtYcKZp7R1pdvvR1rIDcLY9vICUuu4JNtshc+ufamysr X-Received: by 2002:a17:906:7f0b:: with SMTP id d11mr21694825ejr.7.1607390412582; Mon, 07 Dec 2020 17:20:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607390412; cv=none; d=google.com; s=arc-20160816; b=Z1V1EnE0yFQrLLgs2j2z5Oj8LeHPOFZVmCtVzJ9d2KHKLrCZO3H4JQz2fy2F+7j2/x rf47BNOi6U+e36qvikh+BX1KxJwYDlTMgaVAlejICKRMSqcIgCLs7P0pC+lkLyKWl3FW 7vF8y98qg5oKKPJ6EfGFuePQd/tH7XcB1qD6w/w9XpPmP2oQMGYwk5MEpXQGr8DFCaow 2HLAZcYTj/aW0KPuj0jrRCZkYwqqy+HoGawWky4djNp3UdSD4KMACtSgdIujURmTysEe JDsFlQNS5VdblRyIGfzecK8FGOEjfahzZNFe8kERCRrDpyVYyRgZx5s0bt5k0eSJeJWV +RSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=wvtwafmRpa5o7FnknQH0FLf14PhWObhwf1sB2Xashig=; b=ltgswl9rCMRHUnP2mzIM+VA2GFmMrVRFhiasL5CRPuxcQjSaqqOBlBsAtQsolq0Nm8 33+TngCGKR2lx9Qz+xSWuXkDQVFVKWa6LeO8k9JSmMn8jpLWG/o9zjaad9dVPvi+aYyu ksSurwJlnBq8Ua2Vte+Ux5QwuXwe7xGQF75iIB11EzbKDUpEIRjkxDARyMJbrroi3Har 4WBbFFpeazacEAlONYw34k0aY8fWM4OFcvk7sgWwHdSc3fZeYrG0J89l+cUVP3RVfJcO UODqNDvnj6EyrDjEu47I0UVbN349sWvWIHxe+1+l1tqv/l/qZwT1Y+4/aO1NmVC6KmM4 lTig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=bAYgifTV; 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 i19si7585905ejr.557.2020.12.07.17.19.49; Mon, 07 Dec 2020 17:20:12 -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; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=bAYgifTV; 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 S1727080AbgLHABr (ORCPT + 99 others); Mon, 7 Dec 2020 19:01:47 -0500 Received: from mout.gmx.net ([212.227.15.19]:48449 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726207AbgLHABr (ORCPT ); Mon, 7 Dec 2020 19:01:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607385603; bh=wvtwafmRpa5o7FnknQH0FLf14PhWObhwf1sB2Xashig=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=bAYgifTVJ7vR2Ea2fItrfoK1BZS+/ht27lJjLRVNR5iAXHRY/M5StKlyDhimYcdO6 6hsUaNJQmbiR6goMzQSzDM/9bW2Qe5RYGo1vrnyPbSBvefLyVgla8KGzAbSEwZBbok tDhVEJ5VVsPq7liNSzyO1YZ0pAC7Le+1/gbEvSMY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.178.51] ([78.42.220.31]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N8GMk-1k8fqt11vc-014E2I; Tue, 08 Dec 2020 01:00:03 +0100 Subject: Re: [PATCH v2] pwm: bcm2835: Support apply function for atomic configuration To: =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Sean Young Cc: thierry.reding@gmail.com, lee.jones@linaro.org, nsaenzjulienne@suse.de, f.fainelli@gmail.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, linux-pwm@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <4683237c-7b40-11ab-b3c0-f94a5dd39b4d@gmx.de> <20201204084417.GA2154@gofer.mess.org> <20201204111326.qjux6k2472dmukot@pengutronix.de> <20201204113846.GA6547@gofer.mess.org> <20201204232834.xzsafkzfmfpw7pqz@pengutronix.de> <20201205173444.GA1265@gofer.mess.org> <20201205192510.o76pjs3yc524nwvm@pengutronix.de> <20201206141941.GA24807@gofer.mess.org> <20201207081628.tm3yg7az5k5sbivu@pengutronix.de> <20201207094320.GA10460@gofer.mess.org> <20201207135209.htp7plyotjxp37q2@pengutronix.de> From: Lino Sanfilippo Message-ID: Date: Tue, 8 Dec 2020 01:00:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201207135209.htp7plyotjxp37q2@pengutronix.de> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:9LTnKuUWkzb+9t5TXmpWktlN8X27SbL8PRv/wO+Yb/T2Ncr1Oh7 ROYMUo89lqZYg5T43iSExDPBF99psOQzkqsSKHvW30QRSmBpgODTqfLzELAD3LMW5HcqWeA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X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 07.12.20 at 14:52, Uwe Kleine-K=F6nig wrote: > > Given that the bcm2835 driver is quite trivial I would be happy to > create a series that "fixes" the driver to round down and provide a > prototype for pwm_round_nearest for you to test on pwm-ir-tx. A willing > tester and a real use-case were the single two things that stopped me > investing time here. > Should I send a v3 of the .apply() support for the bcm2835 driver before y= ou start such a rework? The v3 would contain the check against truncation of the pe= riod but keep the round-closest strategy as it is. Regards, Lino