Message ID | 20240223172358.671722-1-varshini.rajendran@microchip.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show |
Series | Add support for sam9x7 SoC family | expand |
On 23.02.2024 19:23, Varshini Rajendran wrote: > Add DT bindings for atmel SHA. This would have deserved a better commit message, I (we) spent a lot of time deciding whether this is the correct approach. https://lore.kernel.org/linux-arm-kernel/342de8f3-852f-9bfa-39c4-4d820f349305@linaro.org/ Anyway: Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> > > Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com> > Acked-by: Rob Herring <robh@kernel.org> > --- > Changes in v4: > - Updated Acked-by tag > --- > .../devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml > index ee2ffb034325..d378c53314dd 100644 > --- a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml > +++ b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml > @@ -12,7 +12,11 @@ maintainers: > > properties: > compatible: > - const: atmel,at91sam9g46-sha > + oneOf: > + - const: atmel,at91sam9g46-sha > + - items: > + - const: microchip,sam9x7-sha > + - const: atmel,at91sam9g46-sha > > reg: > maxItems: 1
diff --git a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml index ee2ffb034325..d378c53314dd 100644 --- a/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml +++ b/Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml @@ -12,7 +12,11 @@ maintainers: properties: compatible: - const: atmel,at91sam9g46-sha + oneOf: + - const: atmel,at91sam9g46-sha + - items: + - const: microchip,sam9x7-sha + - const: atmel,at91sam9g46-sha reg: maxItems: 1