Commit e1f7d17a authored by Kamlesh Gurudasani's avatar Kamlesh Gurudasani Committed by Nishanth Menon

dt-bindings: crypto: ti,sa2ul: make power-domains conditional

Devices specific to compatible ti,am62-sa3ul don't have control over
power of SA3UL from main domain.

"power-domains" property in crypto node tries to access
the SA3UL power, for which it gets NACK and hence, driver doesn't
probe properly for those particular devices.

Make "power-domains" property as false for devices with
compatible ti,am62-sa3ul.

Fixes: 2ce9a729 ("dt-bindings: crypto: Add TI SA2UL crypto accelerator documentation")
Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarKamlesh Gurudasani <kamlesh@ti.com>
Link: https://lore.kernel.org/r/20230614-sa3ul-v5-1-29dd2366fba3@ti.comSigned-off-by: default avatarNishanth Menon <nm@ti.com>
parent 5438d75f
...@@ -66,10 +66,22 @@ patternProperties: ...@@ -66,10 +66,22 @@ patternProperties:
required: required:
- compatible - compatible
- reg - reg
- power-domains
- dmas - dmas
- dma-names - dma-names
allOf:
- if:
properties:
compatible:
contains:
const: ti,am62-sa3ul
then:
properties:
power-domains: false
else:
required:
- power-domains
additionalProperties: false additionalProperties: false
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment