On Fri, 24 May 2019 at 15:12, Rob Herring <robh+dt@xxxxxxxxxx> wrote: > > On Tue, Apr 30, 2019 at 11:29 AM Ard Biesheuvel > <ard.biesheuvel@xxxxxxxxxx> wrote: > > > > Add a compatible string for the Atmel SHA204A I2C crypto processor. > > > > Cc: Rob Herring <robh+dt@xxxxxxxxxx> > > Cc: Mark Rutland <mark.rutland@xxxxxxx> > > Signed-off-by: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> > > --- > > Documentation/devicetree/bindings/crypto/atmel-crypto.txt | 13 +++++++++++++ > > 1 file changed, 13 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/crypto/atmel-crypto.txt b/Documentation/devicetree/bindings/crypto/atmel-crypto.txt > > index 6b458bb2440d..a93d4b024d0e 100644 > > --- a/Documentation/devicetree/bindings/crypto/atmel-crypto.txt > > +++ b/Documentation/devicetree/bindings/crypto/atmel-crypto.txt > > @@ -79,3 +79,16 @@ atecc508a@c0 { > > compatible = "atmel,atecc508a"; > > reg = <0xC0>; > > }; > > + > > +* Symmetric Cryptography (I2C) > > This doesn't really seem to be related to the rest of the file which > are all sub-blocks on SoCs. You could just add this one to > trivial-devices.yaml. > > > + > > +Required properties: > > +- compatible : must be "atmel,atsha204a". > > +- reg: I2C bus address of the device. > > +- clock-frequency: must be present in the i2c controller node. > > That's a property of the controller and doesn't belong here. > Both comments apply equally to the ECC508 above it, which I duplicated. Would you like me to move that one into trivial-devices.yaml as well? (and drop the clock-freq property) > > + > > +Example: > > +atsha204a@c0 { > > crypto@c0 > OK. > > + compatible = "atmel,atsha204a"; > > + reg = <0xC0>; > > +}; > > -- > > 2.20.1 > >