Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp266560lqn; Fri, 12 Apr 2024 00:06:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXjgIMX6GYQ2UoNHPGQ2q6xybIjdyjEorRKUa8d8FB5dRFr3kkgA7Z+YwsKEWpBEw+1r1NIQcFclsyDnVWnG2xfZMiM2ZMrEqT+jUO4nQ== X-Google-Smtp-Source: AGHT+IHyvOT3iYFq6Idr3//pblwGU8ntq9RJrtNDmAPWjP9Lsqe0fzJKc0UIZNPAHKa5Avl9deMr X-Received: by 2002:a17:906:3ada:b0:a51:d081:4bab with SMTP id z26-20020a1709063ada00b00a51d0814babmr1537375ejd.21.1712905608280; Fri, 12 Apr 2024 00:06:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712905608; cv=pass; d=google.com; s=arc-20160816; b=A9/En3bLUr7Dhizq3ZbBX9aCUYut8FTAQEHxCVC24tGl4ozr0IV5U/EQ3czVEyt9VR dhOvHlQYb3ewVJlSqkrOAqA5HfMzaSxGwK1S8lQsriWVyM3hm3DKfzqYE4/Zk7gJeqo7 wAGt8tTkN3mIFulFB3ZhN4oeQFwn2eCepyjMKsw4yBhtS+NvoaBoeUlrST6rKAHbWGnx xstmi1BliJF46HtvsUCO8HpfJ0+743Vy+KKZXe+t0RmaEb6TK//RioemY74sdu/ERwnR 7gXP1bTe84C6+4kdaavvhy9iFxnhQ6P4/mTcygkqL9kebtAx9J58etiikilEM0ssGpMf nz3Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=a889H0Vl6ytfi953383tniC1cg7jwH0JMs+GF3iavPk=; fh=wArVu5OKVZMaGn4FP6E6GnmFn3I2/GahAiXSpV3u1VI=; b=CxMPswvFTjEdI+FTyWoByLQ5Ps/xYUAarTmcbHdeDtQ5yTaR82uUrjEuFT8OgFAi44 BhZ71d42aWqJChUBynnL2CpLlgoZjK4klLl/87npf5cDtZv+CE5VLV1iB4z0+iaxnDDN 8KguENIehANjXqfXxzXSbAJd83GNN39ek4lvKNSd3Zitpk5fYb4QVVvl4pvDrOS7j5Aq d/eMeP33xtkj6syZY4E5qD0iq7+jUDWsQQqwebelIPJR2KrxJasdgpPTDTfDbMU6Gdhx tGUs+tS7xZhjRq1xb8PgFkrs9BYOXBMI83uM/ZMZNui0dSIhrWbgxBVkwNxVDXQ8Jfz0 uAJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-142103-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142103-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id w21-20020a170906481500b00a51ce4039e5si1393892ejq.109.2024.04.12.00.06.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 00:06:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142103-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-142103-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142103-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6B3D41F21B9A for ; Fri, 12 Apr 2024 07:06:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A41CA50278; Fri, 12 Apr 2024 07:01:43 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE39F4D13F for ; Fri, 12 Apr 2024 07:01:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712905303; cv=none; b=uhk6lNUcKyTm2RVG2JycMH/4aYQrSWr6j7yDV9vpdC2D4Iq2QiJaAh+X06QYr37Nx+EjtVwR/VaOqFz/1Bpto3jqTHjyrzt0ZuLYCjOiqeUlpOFrT21A/2CbWQcWdnuHblZLQnRtPFMYKjZQAbjCZOXEow0pc4MXzRc1zO3I3iY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712905303; c=relaxed/simple; bh=vMBjqvieHfb35a2/KoqXnkyncA2FHQMCKbMGAoO81lY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=b7a2f/6efivyblV6qNlpI1cYvn5vrCSocqI3pDA5txepjgbLZwFJLrwUMszhh6Yf4Sp7A1WvzdZ8FYtyd3WwWY8W3YqKjRNMoWGDcD5l6V/a8NGYaduhAN0PKDjYMcBpfyqCdw3cdbHB2d7FPjk0LH70cLOn4sJ4SiDjY/OBCr0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rvAub-0000oP-1T; Fri, 12 Apr 2024 09:01:25 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rvAuZ-00BpOm-Qd; Fri, 12 Apr 2024 09:01:23 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rvAuZ-0011RJ-2H; Fri, 12 Apr 2024 09:01:23 +0200 Date: Fri, 12 Apr 2024 09:01:23 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Nylon Chen Cc: linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org, conor@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, thierry.reding@gmail.com, vincent.chen@sifive.com, zong.li@sifive.com, nylon7717@gmail.com Subject: Re: [PATCH v9 2/3] pwm: sifive: change the PWM algorithm Message-ID: References: <20240222081231.213406-1-nylon.chen@sifive.com> <20240222081231.213406-3-nylon.chen@sifive.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="26vwn4hmygkd27i7" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org --26vwn4hmygkd27i7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Fri, Apr 12, 2024 at 10:07:12AM +0800, Nylon Chen wrote: > Nylon Chen =E6=96=BC 2024=E5=B9=B44=E6=9C=882=E6= =97=A5 =E9=80=B1=E4=BA=8C =E4=B8=8A=E5=8D=8810:08=E5=AF=AB=E9=81=93=EF=BC=9A > > Uwe Kleine-K=C3=B6nig =E6=96=BC 2024= =E5=B9=B43=E6=9C=8819=E6=97=A5 =E9=80=B1=E4=BA=8C =E4=B8=8A=E5=8D=882:16=E5= =AF=AB=E9=81=93=EF=BC=9A > > > On Thu, Feb 22, 2024 at 04:12:30PM +0800, Nylon Chen wrote: > > > > /* The hardware cannot generate a 100% duty cycle */ > Do you mean that if the inference is correct, this comment should be modi= fied? If the polarity was wrong before and the hardware was believed to not be able to generate a 100% relative duty cycle, then maybe it's really a 0% relative duty cycle that's impossible? Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=C3=B6nig = | Industrial Linux Solutions | https://www.pengutronix.de/ | --26vwn4hmygkd27i7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmYY3EIACgkQj4D7WH0S /k5rHwgAhpRRZGowKVE0iokFu7iytXC6fdzFLCzGGn8LC2r59oYV4X8E4ruZzGxi KMljwKutSBOpirgQ7/8usYyYqlOfAO+x6BXkkg3SHBprmGPfq2+iVEGv5Tj95B7j 9t+GueFeOTR6xJRF++3pv88sp4zYLYHIhtRVSU5YZy1Wb8MbRjJfR5kI+dDy5xtF UqW5uhIzpV54qyNHnwf8dV0pCooMilhcHS/eGiVa+nSTdoon6rlNJWs+YZgUr1Ud lDiRWzbwQdju5xFUnoR2hGn/FO/6Jgmws9FKkM0ttnkWdgcYvzsBe7gk6qRPQGgr kw8IV64UfIbDlmpcuiLqeNi7Iq08uA== =KwIm -----END PGP SIGNATURE----- --26vwn4hmygkd27i7--