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 5ADEC606A320 for ; Mon, 30 Nov 2026 08:58:19 +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=0o9/R5/+; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ZVNkVIZ3 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: 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=WY27p7Ez/1Cc1Zmc6bURabNeLiJgXq57VsnxZV8/xZM=; b=0o9/R5/+GY9qWfhMKNw9m6Ejn1 80eG1SXdMvq1m3B31UeJFC4IdhWeUZygtkPkmuabYVuZQ5bnJTo3KjNWzrincPFq465BdYoszeYMe sHvMsyJzsxY3eNikmXDvyCeXiHl3Ev3fi7QJNqDmQ5cE5JCI0Z9jJBnR8FUNG8Qhngf9xdH62PdLz ijcmRFP9LAehFzAXvf4xOtoZ+Kh/cwdGQIkKHsRvqQpPc61VhvuAbDTTpdigGbmENegRcOr7oyssk NsCJSFAQgobmyzqlzqIMoL13JPMCtgJuDm9oBiCFaHbxcADohTk57xVyjI4RB9x8MWDl/8pXRn1QG ACOA/qlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXxD4-00000003sN1-3gO8; Mon, 30 Nov 2026 08:58:06 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXxD0-00000003sLD-2qA3; Mon, 30 Nov 2026 08:58:05 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with UTF8SMTP id 0812060D86; Mon, 30 Nov 2026 08:58:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id 0E15B1F00899; Mon, 30 Nov 2026 08:58:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796029081; bh=WY27p7Ez/1Cc1Zmc6bURabNeLiJgXq57VsnxZV8/xZM=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=ZVNkVIZ3IdAAPaj+xSOiyBKSzK7WB+LtIK57APkkr3FQS4R5SAtpE60/w/aGPAdZ6 frgPgejkNkOv1fzdN/tj/OV+fw/vBA84SckXPHz7SfMc55cWATPT9fT23uP1aZGR3Y RuXrgD+BdbhFPSczL0CXw93IKNKypE0mtZCqio+vmqedde2DqOdh1hme+k5CmfsAVy DUguKEMq7/PQd3GwAJpVCnE86l1bodiMZ9+6q2v4uZOFGoV+SMxzzoewDRQhjp+lej krfwkTwBdOXByXxSIQEsStYqTi5ULn/MmZ8/hxKnJnijH6RuZ06dLl3yIKYn70KoeH frKJpySqeIlxA== Date: Mon, 30 Nov 2026 09:57:59 +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 4/4] pwm: meson: Add support for Amlogic S7 Message-ID: References: <20260827-s6-s7-pwm-v4-0-d28a2015177d@amlogic.com> <20260827-s6-s7-pwm-v4-4-d28a2015177d@amlogic.com> X-Archived-By: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="62yqutbkvbirgtoj" Content-Disposition: inline In-Reply-To: <20260827-s6-s7-pwm-v4-4-d28a2015177d@amlogic.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-15.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,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 --62yqutbkvbirgtoj Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v4 4/4] pwm: meson: Add support for Amlogic S7 MIME-Version: 1.0 On Thu, Aug 27, 2026 at 08:40:13AM +0000, Xianwei Zhao via B4 Relay wrote: > From: Xianwei Zhao >=20 > Add support for Amlogic S7 PWM. Amlogic S7 different from the previous > SoCs, a controller includes one pwm, at the same time,the controller has > only one input clock source. nitpick: s/,/, / > Also use the kernel coding style for the empty of_device_id terminator. >=20 > Signed-off-by: Xianwei Zhao > --- > drivers/pwm/pwm-meson.c | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c > index 6f151464d7cc..2da958231719 100644 > --- a/drivers/pwm/pwm-meson.c > +++ b/drivers/pwm/pwm-meson.c > @@ -595,6 +595,13 @@ static const struct meson_pwm_data pwm_s4_data =3D { > .npwm =3D 2, > }; > =20 > +static const struct meson_pwm_data pwm_s7_data =3D { > + .channels_init =3D meson_pwm_init_channels_per_channel_clk, > + .has_constant =3D true, > + .has_polarity =3D true, > + .npwm =3D 1, > +}; > + > static const struct of_device_id meson_pwm_matches[] =3D { > { > .compatible =3D "amlogic,meson8-pwm-v2", > @@ -645,7 +652,11 @@ static const struct of_device_id meson_pwm_matches[]= =3D { > .compatible =3D "amlogic,meson-s4-pwm", > .data =3D &pwm_s4_data > }, > - {}, > + { > + .compatible =3D "amlogic,s7-pwm", > + .data =3D &pwm_s7_data Missing , after the assignment to .data, but that is a pre-existing inconsistency. If you want address it in a separate patch together with consistently using `}, {` (or if you prefer `},\n\t{`) between the entries. > + }, > + { } Further above there is a note: /* The following compatibles are obsolete */ I guess that doesn't apply to this new compatible and thus it should better be added above that comment. Best regards Uwe --62yqutbkvbirgtoj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmsNOpUACgkQj4D7WH0S /k5bmwf6AihWYy/FtJZe2irmSk5ZNjgqr2qT5BDFIHuhyScEZ9idjwEtVjhKZ7Ki nd5Hblqfc170SRSmriS0GKjxdznJLtM57/39W4zK/JihFSC5lay8HJt/WQk07Pte hb+8UKEHH2ksYNuvZAmbsyuCmTkrL9xcoQQAWWd3VNQN67mun+5GGETGFKIV5Jmi etSjhNVGWa2/g4/pbLqYCFS62At0S3Rh5luIWaXyekQCSr89Wc++T66iekh56tR9 ABki43s5X+jnFHHd8ZFqYomqzj4aPpz6K/9Vp15HZqa+B6/vdU9Djod4n9QsBfhV 7D7stlGJLvkX0PKeVAMYRMk8EdzUeg== =xbeH -----END PGP SIGNATURE----- --62yqutbkvbirgtoj--