devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PACTH v4 0/3] dt-bindings: crypto: Convert atmel-crypto to YAML
@ 2022-02-11  9:39 Tudor Ambarus
  2022-02-11  9:39 ` [PACTH v4 1/3] dt-bindings: crypto: Convert Atmel AES to yaml Tudor Ambarus
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Tudor Ambarus @ 2022-02-11  9:39 UTC (permalink / raw)
  To: herbert, krzysztof.kozlowski, robh+dt
  Cc: nicolas.ferre, claudiu.beznea, alexandre.belloni, linux-crypto,
	linux-arm-kernel, linux-kernel, kavyasree.kotagiri, devicetree,
	Tudor Ambarus

Convert Atmel AES, TDES and SHA documentation to yaml format. There is one
binding defined per file. Keeping all bindings under the same yaml does
not make sense, as these are individual IPs. With the conversion the clock
and clock-names properties are made mandatory, to reflect how the drivers
treat them: when these properties are not provided, the drivers return
error.

v4:
- fix the AES example: match the node's address with the reg's address
- collect Krzysztof's R-b tags

v3:
- update license to (GPL-2.0-only OR BSD-2-Clause)
- add "Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries"
- add Krzysztof's R-b tag on patch 3/3. Chose to keep "maxItems: 1" instead
of "items" and "description" because that's what the guide at [1] suggests:
"# Cases that have only a single entry just need to express that with
maxItems"

[1] https://www.kernel.org/doc/html/latest/devicetree/bindings/writing-schema.html#annotated-example-schema

v2:
- use generic "crypto" node name
- drop redundant status = "okay" - it's the default state anyway
- introduce empty line for readability
- be specific and rename the bindings to let room for future possible
  lines of architectures.

Tudor Ambarus (3):
  dt-bindings: crypto: Convert Atmel AES to yaml
  dt-bindings: crypto: Convert Atmel TDES to yaml
  dt-bindings: crypto: Convert Atmel SHA to yaml

 .../crypto/atmel,at91sam9g46-aes.yaml         | 66 ++++++++++++++++++
 .../crypto/atmel,at91sam9g46-sha.yaml         | 60 ++++++++++++++++
 .../crypto/atmel,at91sam9g46-tdes.yaml        | 64 +++++++++++++++++
 .../bindings/crypto/atmel-crypto.txt          | 68 -------------------
 4 files changed, 190 insertions(+), 68 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml
 create mode 100644 Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml
 create mode 100644 Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml
 delete mode 100644 Documentation/devicetree/bindings/crypto/atmel-crypto.txt

-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-02-17 23:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-11  9:39 [PACTH v4 0/3] dt-bindings: crypto: Convert atmel-crypto to YAML Tudor Ambarus
2022-02-11  9:39 ` [PACTH v4 1/3] dt-bindings: crypto: Convert Atmel AES to yaml Tudor Ambarus
2022-02-17 23:28   ` Rob Herring
2022-02-11  9:39 ` [PACTH v4 2/3] dt-bindings: crypto: Convert Atmel TDES " Tudor Ambarus
2022-02-17 23:28   ` Rob Herring
2022-02-11  9:39 ` [PACTH v4 3/3] dt-bindings: crypto: Convert Atmel SHA " Tudor Ambarus
2022-02-17 23:29   ` Rob Herring
2022-02-11 10:14 ` [PACTH v4 0/3] dt-bindings: crypto: Convert atmel-crypto to YAML Claudiu.Beznea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).