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=1796029082; b=xgoB3qGRdEi+gaVvPs5r/GPFgORVSOK3pnXid+ueF/rhv4KR6rekFRlLr6jRGX/ZPhfw +2o6q3aLeXwF9Kt3EDC/fpaQBu/Ksum2q8c75D6gXwCFbsWDYUM5thu6HB6JF1mWDl4/4 jViT4qDAzYnbyqxENfyxkrrCw+nHJLqLhNuOpodOa6cZcT6kyiIHeFUzcZUokVzn3wJot 9ExaIogVgZfSSoF9Ixt2Y5NEMAwHHc3hw/Lv4mBnrWqC6GK93aRGWvvcaKi8n7AR0jkH5 1WN+B48xeA79BpFTx5z82MFlpLawpHAfL2PbLoDgZHK7sqHQmfWCrlL5U43fU4Oe5Aw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796029082; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=WY27p7Ez/1Cc1Zmc6bURabNeLiJgXq57VsnxZV8/xZM=; b=qPFD4BkD1X+Q9a1HG8LLBssgrguN59IBgvr7pFMCEw3jvynQTB1Lf+8y4Ao8IHagynTc s6IVCmwCoQIb43knVPULhxt90Y3fP4liEGQ4Ib15Q+LqofDe8wJJRlEyPD8hucbNkKskU aKf3wns+cjnKAcHL4HmWcqc9P6vCkBy+ATjdcvWPelOANaOxj7wCtCvQSLkx2Hn4beBR8 lf+1JsvyLwqeOJJcbSuMAbt31OraXjSYmRZMJNM62PPJ0PNUv18bQ2selSSSMosNJ8VMl ESkv8dgTxBnnY1N+ViCU/Tes9K+Bj9MElqc9Vtd/2Bk98CY7RCC/HaIWINNz5NBnpvQ== 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=ZVNkVIZ3; 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 21996606A31C; Mon, 30 Nov 2026 08:58:01 +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=ZVNkVIZ3 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-Mailing-List: linux-pwm@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="62yqutbkvbirgtoj" Content-Disposition: inline In-Reply-To: <20260827-s6-s7-pwm-v4-4-d28a2015177d@amlogic.com> --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--