Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1182022rdh; Mon, 25 Sep 2023 05:50:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IECBcZUnl3aZDvxPY5UCkwqpamZS6cJ91CKq2nyE3PUq96Oq/O7CiZo0UB0mZkAfrUm7N8N X-Received: by 2002:a05:6870:7024:b0:1dc:c65e:ded2 with SMTP id u36-20020a056870702400b001dcc65eded2mr8419723oae.12.1695646229145; Mon, 25 Sep 2023 05:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695646229; cv=none; d=google.com; s=arc-20160816; b=g3ZXNfJE6GBoIzq2WPE1I1fq9EzO3IG8v8u4HWQL4yXw/NVMLYTOylhEuvQNZ794Wm Rf0uQxhIOxG6KTX+JTBxz5s25pGXv/oj7z+9kmc0Bo0EONDH9ZadlvinfledSBeA/exW z0SJA2W9MRoaPbRgZ2SXrRRSf3ABD5fBxa46aFnWDnTxBBO9Ym05JnwIqhyQSt+4GENT U8MGemufMjI23lRJQcCscPKPArFBeSwlkHQAXmClTmAdkbY7RvCzNgSBtieIK0jFSOge kAle6MXOWgwE1yb3KSVNfwpp3UTsMiAp/B7KYO7K+uVHULz8C5aEQ+RqLwlVJOh3FwOh PMpw== 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=oGsVOX7Q8fESuvcEwhcXSOewTunm1JKeYnimtquYOJA=; fh=OPd+BBBkS50izH1xuLsuT+QiCW5BIhL8lj5aVEtOeAY=; b=u+n2dHRHd0MzJab6axVc1e0Ppw+0EO//E4JEHkY6yWOkK/q9FcZ78dhidIgI0v6gEa oButWOQUp8cn/S9NSb+PD1+9iwmZNY4sh5vXpSeRPI54cagrZBAJQTgDcCFFHMFASe1l S9CsXX5z3p2HhTHEF2AJv/eq9qum6ZYsuOURnJkPF6XhqpblG6GckdHPUkACMxfWxb7v op4UE7ejAs6n7eTyLniS3Y19oxwo+rfHmaRY/osTqGJY0qJInFkTCzxEH1eHLMmgUlb5 xEoHmeu6GeJ/nwcEWzJVayWENzyVq4vxAEC5/CCDqZUX1SjQBOn0BClZzx+4DAJDBdIf inUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id cn1-20020a056a020a8100b00573fffb12a6si9631034pgb.793.2023.09.25.05.50.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 05:50:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 4370980907BD; Mon, 25 Sep 2023 05:39:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229862AbjIYMj2 (ORCPT + 99 others); Mon, 25 Sep 2023 08:39:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjIYMj1 (ORCPT ); Mon, 25 Sep 2023 08:39:27 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0B25CE for ; Mon, 25 Sep 2023 05:39:21 -0700 (PDT) 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 1qkkrs-0002iA-UL; Mon, 25 Sep 2023 14:39:16 +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 1qkkro-008sBk-4H; Mon, 25 Sep 2023 14:39:12 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qkkrn-004fbH-Qd; Mon, 25 Sep 2023 14:39:11 +0200 Date: Mon, 25 Sep 2023 14:39:08 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Emil Renner Berthing Cc: William Qiu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-pwm@vger.kernel.org, Emil Renner Berthing , Rob Herring , Thierry Reding , Philipp Zabel , Krzysztof Kozlowski , Conor Dooley , Hal Feng , Paul Walmsley , Palmer Dabbelt , Albert Ou Subject: Re: [PATCH v5 2/4] pwm: starfive: Add PWM driver support Message-ID: <20230925123908.4hohhjarviwattgw@pengutronix.de> References: <20230922092848.72664-1-william.qiu@starfivetech.com> <20230922092848.72664-3-william.qiu@starfivetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xq7ehyumhkwfir4g" 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 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 25 Sep 2023 05:39:28 -0700 (PDT) --xq7ehyumhkwfir4g Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Mon, Sep 25, 2023 at 10:31:49AM +0000, Emil Renner Berthing wrote: > William Qiu wrote: > > The PTC, short for PWM/TIMER/CONUTER, comes from OpenCore's ip, but onl= y PWM > > mode is used in the JH7110. So the register still has the word "PTC". > > s the best way to change all the prefix to STARFIVE? >=20 > I see. Yeah, since you're only using the P from PTC the PTC name doesn't = make a > lot of sense anymore. I'd just call this whole driver > STARFIVE_PWM_/starfive_pwm_ consistently. I don't care much how the driver is named iff there is only a single type of hardware unit on this platform that can be used as a PWM. However if the hardware manual calls this unit PTC I'd at least mention that in a comment at the top of the driver. Thanks Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --xq7ehyumhkwfir4g Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmURf2wACgkQj4D7WH0S /k6D+Af/UurV0zRPp6nHaILWU8arJcTP6K/TCv9XK/rO3ubSZPfvesG/KvvgwhAL NdrQu6EKqRNNIh8gXlBP7VXgQgDlot+E9fNz10BKinKi7i7VFQvJ/W+rzZ91me1+ Z7uxb+hvVa+GZMdc6VTeosGlnuSjugyggCwjGohFanhF6QqGMxn5hpS1/ZrKlCM+ gUDVk5fLhLnT/Mo8GlsQEcbULJnmyZ9JSnoif+XJLvs5F55GUlQOlua9PxXegP4p Jsp5Oxx+wuy5BTkgVm+y1dwV3p4XNjjS/K29nn6ggZNPolFqm1Hx169DIUqE8Zqg YZRA5euMXw7FxnPNLsMic9EoBOzFXw== =M19j -----END PGP SIGNATURE----- --xq7ehyumhkwfir4g--