From: Daniel Golle <daniel@makrotopia.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: "Aurelien Jarno" <aurelien@aurel32.net>,
"Olivia Mackall" <olivia@selenic.com>,
"Herbert Xu" <herbert@gondor.apana.org.au>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Heiko Stuebner" <heiko@sntech.de>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"Uwe Kleine-König" <ukleinek@debian.org>,
"Sebastian Reichel" <sebastian.reichel@collabora.com>,
"Sascha Hauer" <s.hauer@pengutronix.de>,
"Dragan Simic" <dsimic@manjaro.org>,
"Martin Kaiser" <martin@kaiser.cx>,
"Ard Biesheuvel" <ardb@kernel.org>,
linux-crypto@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 1/3] dt-bindings: rng: Add Rockchip RNG bindings
Date: Sun, 23 Jun 2024 14:08:35 +0100 [thread overview]
Message-ID: <ZngeUxK6r0qqBj28@makrotopia.org> (raw)
In-Reply-To: <a31bc0f2-4f82-4e15-95b8-c17dc46e7bf5@kernel.org>
Hi Krzysztof,
thank you for your patiente and repeated review of this series.
On Sun, Jun 23, 2024 at 09:03:15AM +0200, Krzysztof Kozlowski wrote:
> On 23/06/2024 05:32, Daniel Golle wrote:
> > From: Aurelien Jarno <aurelien@aurel32.net>
> >
> > Add the True Random Number Generator on the Rockchip RK3568 SoC.
> >
> > Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
> > Signed-off-by: Daniel Golle <daniel@makrotopia.org>
>
> My comments from v2, which I reminded at v3, were not addressed.
>
> Respond to each of them and acknowledge that you are going to implement
> the change.
Your comments to v1which I'm aware of are:
https://patchwork.kernel.org/comment/25087874/
> > +++ b/Documentation/devicetree/bindings/rng/rockchip-rng.yaml
> Filename matching compatible, so "rockchip,rk3568-rng.yaml"
I've changed the filename.
> > +title: Rockchip TRNG bindings
> Drop "bindings"
I've changed the title accordingly (now: "Rockchip TRNG" in v4).
> > +description:
> > + This driver interface with the True Random Number Generator present in some
>
> Drop "This driver interface" and make it a proper sentence. Bindings are
> not about drivers.
This has been addressed by Aurelien and further improved by me in v3.
> > + clocks:
> > + minItems: 2
> Drop minItems.
Aurelien did that in v2.
> > + clock-names:
> > + items:
> > + - const: clk
> > + - const: hclk
>
> You need to explain what are these in clocks. Also you need better
> names. A clock name "clk" is useless.
Clocks now have meaningful names and descriptions.
> > + reset-names:
> > + items:
> > + - const: reset
>
> Drop reset-names entirely, not useful.
Aurelien did so in v2.
Your comments to v2 which I'm aware of are:
https://patchwork.kernel.org/comment/25111597/
> > Add the RNG bindings for the RK3568 SoC from Rockchip
> Use subject prefixes matching the subsystem (git log --oneline -- ...),
> so it is rng, not RNG. Also, you are not adding all-Rockhip RNG but a
> specific device.
>
> Subject: drop second, redundant "bindings".
I've changed 'RNG' into 'rng' in the subject and spelled it out in the
commit message.
> > +description: True Random Number Generator for some Rockchip SoCs
>
> s/for some Rockchip SoCs/on Rokchip RK3568 SoC/
I've adopted your suggestion in v3 and then fixed the typo in v4.
>
> > + clock-names:
> > + items:
> > + - const: trng_clk
> > + - const: trng_hclk
> These are too vague names. Everything is a clk in clock-names, so no
> need usually to add it as name suffix. Give them some descriptive names,
> e.g. core and ahb.
If changed the names to the suggested 'core' and 'ahb'.
Before sending another round of patches, just to make sure we are on
the same page, please confirm that what remains is
Subject: dt-bindings: rng: Add Rockchip RNG bindings
which not only should be 'rng' in small letters but also name the exact
chip, eg.:
Subject: dt-bindings: rng: add TRNG on the Rockchip RK3568 SoC
If there are any other comments you made which I'm not aware of, please
point me to them.
Cheers
Daniel
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev parent reply other threads:[~2024-06-23 13:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-23 3:32 [PATCH v4 0/3] hwrng: add hwrng support for Rockchip RK3568 Daniel Golle
2024-06-23 3:32 ` [PATCH v4 1/3] dt-bindings: rng: Add Rockchip RNG bindings Daniel Golle
2024-06-23 7:03 ` Krzysztof Kozlowski
2024-06-23 13:08 ` Daniel Golle [this message]
2024-06-26 7:30 ` Krzysztof Kozlowski
2024-06-23 3:33 ` [PATCH v4 2/3] hwrng: add Rockchip SoC hwrng driver Daniel Golle
2024-06-23 7:00 ` Krzysztof Kozlowski
2024-06-23 9:46 ` Uwe Kleine-König
2024-06-23 11:47 ` Dragan Simic
2024-06-23 10:42 ` Aurelien Jarno
2024-06-23 14:10 ` Anand Moon
2024-06-23 3:33 ` [PATCH v4 3/3] arm64: dts: rockchip: add DT entry for RNG to RK356x Daniel Golle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZngeUxK6r0qqBj28@makrotopia.org \
--to=daniel@makrotopia.org \
--cc=ardb@kernel.org \
--cc=aurelien@aurel32.net \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dsimic@manjaro.org \
--cc=heiko@sntech.de \
--cc=herbert@gondor.apana.org.au \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=martin@kaiser.cx \
--cc=olivia@selenic.com \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sebastian.reichel@collabora.com \
--cc=ukleinek@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox