From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796028832; b=1Cs9oLFKfrmV+7RtSP9rmbh165AfD+VEq+ZobwJ2N76fc3lTigBdl6OAMBBtp8xPUfiO CgXopvFKvOda8JQ3Nv07wyPBM8JmzmJrHD1Amy72C8UUVOvwBbedbOAPbqH7S2z1SFmNd vgqGQkAYvwUuER/DGsigwzekIuu9+GTAaSTFxqqH30mOmVL1uzTJdqND0Qv6DjeMeuidG HfyyuP3f89NbFdUq0oUDI91uKhIfORLG4U5Wu3zTVn0VK9ZU+IYBe/G3haVgZ9LugoPTd fXQ6wHRad0CLkHlyyD8E7xmm0pDp7TtKcJD1vThil6JZKspTjsbUoMZCWWLpPEYD2iA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796028832; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=uo3OYlXRl3C++Yk6GqcG6D5zgSEkfchBXQaIGIkEHWY=; b=cvnzWcZLjXk0u4uUl9ZJEXXApUGM2LUjfJvYEE+QjQkz1reiJ8Y2poMxbIZpcVu7e4cT iC2+4KRgM2IWi7LkHGHZdhsE2aXTcFDVuxPCc4UwiFb8EVU+G/veXZkBKsFG2kbaqtL54 jcTHHWbBzb0N5o1E2hw2HwuIh1kzv/2XJ9U8UCRtC8OZn+YRCid0b7uDcBCGlnhUT1EXC vcjh9xRoQ7qvQprJ3Y26jDud+SJq8jRh7eZQl4ygmnZH6SavnLkUQ04br6gMHmpIUqfUs bnZ0rFSAujP/9j7dnySHXMkJ6+y2OFQqe0w+Jd4f7LERdtIuV4BzpkYoKpJF1X42jRg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TjegdjcJ; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with UTF8SMTPS id CDA0C606A320; Mon, 30 Nov 2026 08:53:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=TjegdjcJ Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id D15E51F00898; Mon, 30 Nov 2026 08:53:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796028832; bh=uo3OYlXRl3C++Yk6GqcG6D5zgSEkfchBXQaIGIkEHWY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=TjegdjcJGlQXRKkF5ssENzDMdM8lyLqfq4/WpDrvrFz44BlAr8EeSa5ECZg4nGEoc ddMUVAJ4M6Go/RO55mO2HqktzKWeEifWMlKhx0+jWaw3ZxL6oFaTZfZJk/0XOtZLCj ivAzXaJ7i4ehZFHzbK9p+/h1srbbvaalVeTVLnhDtRRxGK/kcVaeOD4KaNY3l+fzyv ZDjryVqpAQoBvGl0P/fvW5d4m/SwuceYhnVAAgjEZFZFZ84j0sL1GCLkerhWZhcOit BL9rPzHex0rVNoHBXAwCcMs8fgrTk+xYatqTZErj27oAiP8bYflGqju3v05/p1TPgl FcA5WUv2PQWbA== Date: Mon, 30 Nov 2026 09:53:49 +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, Alexandre Mergnat Subject: Re: [PATCH v4 3/4] pwm: meson: use bulk API for per-channel clocks Message-ID: References: <20260827-s6-s7-pwm-v4-0-d28a2015177d@amlogic.com> <20260827-s6-s7-pwm-v4-3-d28a2015177d@amlogic.com> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vemw2zr2vkz7e7ye" Content-Disposition: inline In-Reply-To: <20260827-s6-s7-pwm-v4-3-d28a2015177d@amlogic.com> --vemw2zr2vkz7e7ye Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v4 3/4] pwm: meson: use bulk API for per-channel clocks MIME-Version: 1.0 Hello, On Thu, Aug 27, 2026 at 08:40:12AM +0000, Xianwei Zhao via B4 Relay wrote: > From: Xianwei Zhao >=20 > The S4 PWM driver currently gets each channel clock individually with > of_clk_get() and uses a custom cleanup action to release the clocks. >=20 > Use devm_clk_bulk_get_all() instead to retrieve all per-channel clocks > at once. Verify that the number of clocks matches the number of PWM > channels and assign each clock to its corresponding channel. >=20 > This also allows the per-channel clock initialization code to be shared > by Meson PWM variants using one clock per channel. >=20 > Signed-off-by: Xianwei Zhao I applied this patch (after some trivial conflict resulution due to not having the 2nd patch yet) with the indention fix that Alex pointed out and his Review-by: tag to https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for= -next When you respin the series, please make sure your base contains that commit already. Best regards Uwe --vemw2zr2vkz7e7ye Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmsNOZoACgkQj4D7WH0S /k7cvQgAoGUOsqNNgTTxUtzm7B41XIJPf229E1O3UjgM6nua1T/qYhzf3XMHcdIj 3q0tv+Mv4hz0YLEHrijRpFSiwaa0Yu+wNE2alnqOIGeAX5cwFazKYPTLItUy0ubS HDXWtNSmaaCrdN9fEJLbcfd58bcLaV4u2TLtqWaC+04fCgE3G3dRKpYesBOsoQwt TDyAJwQzhNqzjFnh+eF19hBspGLsd29AxLEZYaUjN5krQ6DDQAEgbICXbdzDeLKB DpNE+lE6qhamnuoYZ3wOu433E0RttYX7bwe4usWViWLs9XoDG/vFbeEGMx+rZvt2 Ox/b/ALtAOv4LKTa2kw5QHY2Qy/g+Q== =WDDG -----END PGP SIGNATURE----- --vemw2zr2vkz7e7ye-- 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 A81F6606A33E for ; Mon, 30 Nov 2026 08:53:55 +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=lw6HJdRG; 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=TjegdjcJ 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=4PQ6UnJSd4DrkjRYJhwFM3QVnJmBjNFmpnH2TRroHHw=; b=lw6HJdRGNwhZ2jrDMf5CgST2hX UGihLI77/VWxMj32J1ZZ8a2ZE16/B2VnUNKHunai+S6m5wnhF1vUq24xQCmvQueeF0HRSjhZEjeJK akkLCACmfbZnLwfXg6r9F340beQgVaVHNNwYm+DUogsN93raHk98BM3CpoaPcCc8g7wOvEzgNnMVv 2vGEknA6KUOGaO57XkzguHGxImWqKEvAG7GzvRNYuH2wEYeMmdd0pYZF6YM0PnL5eZqWeoJKBDpJC bj4gMncgjPo5Q0WgadwIHqFpx2YxtIkakMablQ47ysrH+bDQN32CfR86d5LqLrgKC8wSrHVG4MLIA teAomvXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXx8z-00000003qdY-3HU0; Mon, 30 Nov 2026 08:53:53 +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 1xXx8y-00000003qdN-3jfh; Mon, 30 Nov 2026 08:53:52 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with UTF8SMTP id 8253541F9F; Mon, 30 Nov 2026 08:53:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id D15E51F00898; Mon, 30 Nov 2026 08:53:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796028832; bh=uo3OYlXRl3C++Yk6GqcG6D5zgSEkfchBXQaIGIkEHWY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=TjegdjcJGlQXRKkF5ssENzDMdM8lyLqfq4/WpDrvrFz44BlAr8EeSa5ECZg4nGEoc ddMUVAJ4M6Go/RO55mO2HqktzKWeEifWMlKhx0+jWaw3ZxL6oFaTZfZJk/0XOtZLCj ivAzXaJ7i4ehZFHzbK9p+/h1srbbvaalVeTVLnhDtRRxGK/kcVaeOD4KaNY3l+fzyv ZDjryVqpAQoBvGl0P/fvW5d4m/SwuceYhnVAAgjEZFZFZ84j0sL1GCLkerhWZhcOit BL9rPzHex0rVNoHBXAwCcMs8fgrTk+xYatqTZErj27oAiP8bYflGqju3v05/p1TPgl FcA5WUv2PQWbA== Date: Mon, 30 Nov 2026 09:53:49 +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, Alexandre Mergnat Subject: Re: [PATCH v4 3/4] pwm: meson: use bulk API for per-channel clocks Message-ID: References: <20260827-s6-s7-pwm-v4-0-d28a2015177d@amlogic.com> <20260827-s6-s7-pwm-v4-3-d28a2015177d@amlogic.com> X-Archived-By: MIME-Version: 1.0 In-Reply-To: <20260827-s6-s7-pwm-v4-3-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="===============7960590124717706802==" Sender: "linux-amlogic" X-Spam-Status: No, score=-13.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 --===============7960590124717706802== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vemw2zr2vkz7e7ye" Content-Disposition: inline --vemw2zr2vkz7e7ye Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v4 3/4] pwm: meson: use bulk API for per-channel clocks MIME-Version: 1.0 Hello, On Thu, Aug 27, 2026 at 08:40:12AM +0000, Xianwei Zhao via B4 Relay wrote: > From: Xianwei Zhao >=20 > The S4 PWM driver currently gets each channel clock individually with > of_clk_get() and uses a custom cleanup action to release the clocks. >=20 > Use devm_clk_bulk_get_all() instead to retrieve all per-channel clocks > at once. Verify that the number of clocks matches the number of PWM > channels and assign each clock to its corresponding channel. >=20 > This also allows the per-channel clock initialization code to be shared > by Meson PWM variants using one clock per channel. >=20 > Signed-off-by: Xianwei Zhao I applied this patch (after some trivial conflict resulution due to not having the 2nd patch yet) with the indention fix that Alex pointed out and his Review-by: tag to https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for= -next When you respin the series, please make sure your base contains that commit already. Best regards Uwe --vemw2zr2vkz7e7ye Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmsNOZoACgkQj4D7WH0S /k7cvQgAoGUOsqNNgTTxUtzm7B41XIJPf229E1O3UjgM6nua1T/qYhzf3XMHcdIj 3q0tv+Mv4hz0YLEHrijRpFSiwaa0Yu+wNE2alnqOIGeAX5cwFazKYPTLItUy0ubS HDXWtNSmaaCrdN9fEJLbcfd58bcLaV4u2TLtqWaC+04fCgE3G3dRKpYesBOsoQwt TDyAJwQzhNqzjFnh+eF19hBspGLsd29AxLEZYaUjN5krQ6DDQAEgbICXbdzDeLKB DpNE+lE6qhamnuoYZ3wOu433E0RttYX7bwe4usWViWLs9XoDG/vFbeEGMx+rZvt2 Ox/b/ALtAOv4LKTa2kw5QHY2Qy/g+Q== =WDDG -----END PGP SIGNATURE----- --vemw2zr2vkz7e7ye-- --===============7960590124717706802== 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 --===============7960590124717706802==--