Re: [PATCH] Documentation: dt-bindings: Document 'rng-seed' for /chosen
From: Rob Herring
Date: Thu Apr 02 2020 - 09:35:57 EST
On Thu, Apr 2, 2020 at 2:13 AM Will Deacon <will@xxxxxxxxxx> wrote:
>
> Hi Florian,
>
> On Wed, Apr 01, 2020 at 08:36:40PM -0700, Florian Fainelli wrote:
> > The /chosen node can have a 'rng-seed' property read as a u32 quantity
> > which would contain a random number provided by the boot agent. This is
> > useful in configurations where the kernel does not have access to a
> > random number generator.
> >
> > Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
> > ---
> > Documentation/devicetree/bindings/chosen.txt | 13 +++++++++++++
> > 1 file changed, 13 insertions(+)
>
> Thanks for doing this; I realised it was undocumented the other day when I
> tried to look it up myself.
Already documented here[1]. I've been meaning to delete chosen.txt so
that's a bit more obvious.
I realize it's a bit harder to find what's documented where. Long term
we'd like to generate documentation from the schema and integrate as
part of the spec. Short term, it would be quite trivial to make a 'am
I documented' utility.
Rob
[1] https://github.com/devicetree-org/dt-schema/blob/master/schemas/chosen.yaml