From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AFF8C606A31C for ; Mon, 30 Nov 2026 08:39:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=FputhoBO; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=GJwUZCC8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=K345XrVubcYZqC8tgAeboK2bVUPMS445cIi17sGs8cg=; b=FputhoBOzYMo2YFArtcY9ObnZQ /a3dw/TiwKadAx8/AL0HffwLS2pDKkrdBGsrQ2sMbawOaNwV6x/4tuCinnzWOqBS/0oZtlScQeIJQ t0mWhxK6TpWnqLQc8inRVVZDiKbY5G2b+iDH83BWnYCNAMmC3j5GHqXf6jJ4cvcZHUHuytZ66yFZG 4PyIJPK0AV2QZsvmRRYoaSMDwCF6hmbLpVs3O+IBKtAA3v8aU3FGe2SC7q1My9g4zOZXH2Tihge6D VACDFbCHePwWipzyIANalEBlOa7Qt7CM0E4NDM93xeG2KhzA1f/h8RHZpHy0Y5aqT2aqpq8CGLUCi mVpHPZ+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXwue-00000003nBD-40bL; Mon, 30 Nov 2026 08:39:04 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXwud-00000003nAl-45Ko; Mon, 30 Nov 2026 08:39:03 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with UTF8SMTP id 6205E4326C; Mon, 30 Nov 2026 08:39:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id 55AB01F00897; Mon, 30 Nov 2026 08:39:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796027942; bh=2pUglxqN0jOk49+B1nBueaQaK5yq9t+MXp5MHiEsHnI=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=GJwUZCC8gkpCgaefCMmiabWGSGSBx3eCY9HVnJHorMZOTrKiJOIpM2P78Ip2ZYA2g aEkwwFYYA8LD/eFO6Iu2zOSBvxN/pDJ5dZTAiuWI4FkY0jcPgOo6Ky97rhJcBOSkOX xxMh68ylYN51qkHh2ucioqa9oD3bypHFeG9r3Q6Q1bmG8oPp+wY1SmEnTBhw+18WN+ 4eHpg7jpn4HszQ3aq0CV5OG8eX2MgbqCXoTNw5J3h11rCsJ/0aRIYEpZV/AmI3edTf eLg9Op2SKNekwndH5DX8IrRZirNckxv8MRRH3FeZeCFF+msqQrV6mmBxCLf95Gca51 3Xj1cb8OEXOCw== Date: Mon, 30 Nov 2026 09:39:00 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: xianwei.zhao@amlogic.com Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiner Kallweit , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org Subject: Re: [PATCH v4 2/4] pwm: meson: add the PWM count driver data Message-ID: References: <20260827-s6-s7-pwm-v4-0-d28a2015177d@amlogic.com> <20260827-s6-s7-pwm-v4-2-d28a2015177d@amlogic.com> X-Archived-By: MIME-Version: 1.0 In-Reply-To: <20260827-s6-s7-pwm-v4-2-d28a2015177d@amlogic.com> X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============5634377868570292226==" Sender: "linux-amlogic" X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 --===============5634377868570292226== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ejs77byl64nwz5xc" Content-Disposition: inline --ejs77byl64nwz5xc Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v4 2/4] pwm: meson: add the PWM count driver data MIME-Version: 1.0 Hello, On Thu, Aug 27, 2026 at 08:40:11AM +0000, Xianwei Zhao via B4 Relay wrote: > From: Xianwei Zhao >=20 > Add .npwm fill the existing entries, use it in probe, and switch the loop > in meson_pwm_init_clocks_meson8b() and meson_pwm_init_channels_s4() to > chip->npwm. No functional change. I'd write: To prepare adding support for XYZ which doesn't have 2 but 17 PWM outputs, make the various loops iterater using chip->npwm instead of the constant MESON_NUM_PWMS. I would expect that MESON_NUM_PWMS can be dropped in this commit? Otherwise looks fine. --ejs77byl64nwz5xc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmsNNiIACgkQj4D7WH0S /k4q2gf/U7dpqPXwHZ6GX6akAVt6+rlrhO7rq5sS+xno595KwSRhenrvb8kraZGW ihiw9A/mUGJAnV1WnxRyXmaG0+c3luGFcruRhm8D7mJTpwmKzLKcLWisGyc1copu H2eNhUNwL7icndp8Htojtd/xLz7eTtkk8Fk/aIeo0jofoxr0pUNJ+94Q21eConD4 z8phZjuPAZcoNblj5wR5DgVlRqb2og8BfBghOCiu/s0vIy0b5TGf4ijbQ60a1KXd BRQgBxJyEavUagcBPgigzANs/cnla12sAvtKciDL9IxZo159/Cp6Ya1OSfg/yrYQ l5kG7/qbjOPZ+gae56C2WNAtld8plg== =o67Z -----END PGP SIGNATURE----- --ejs77byl64nwz5xc-- --===============5634377868570292226== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic --===============5634377868570292226==--