diff mbox series

dt-bindings: rng: omap_rng: Drop requirement for clocks

Message ID 20220901171041.32056-1-afd@ti.com
State Accepted
Commit d7e8c4101647104cab1372028fa8515bf2ee1865
Headers show
Series dt-bindings: rng: omap_rng: Drop requirement for clocks | expand

Commit Message

Andrew Davis Sept. 1, 2022, 5:10 p.m. UTC
For K3 devices the clock fed into the RNG module is shared with the rest
of the Crypto module, it is not dedicated to the RNG module and cannot be
controlled by the RNG driver. The driver does not require this clock to
always be defined and the DT binding should not force it either.

Remove this so we can start dropping out the clock properties as needed.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 Documentation/devicetree/bindings/rng/omap_rng.yaml | 11 -----------
 1 file changed, 11 deletions(-)

Comments

Rob Herring Sept. 7, 2022, 8:42 p.m. UTC | #1
On Thu, 01 Sep 2022 12:10:41 -0500, Andrew Davis wrote:
> For K3 devices the clock fed into the RNG module is shared with the rest
> of the Crypto module, it is not dedicated to the RNG module and cannot be
> controlled by the RNG driver. The driver does not require this clock to
> always be defined and the DT binding should not force it either.
> 
> Remove this so we can start dropping out the clock properties as needed.
> 
> Signed-off-by: Andrew Davis <afd@ti.com>
> ---
>  Documentation/devicetree/bindings/rng/omap_rng.yaml | 11 -----------
>  1 file changed, 11 deletions(-)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/rng/omap_rng.yaml b/Documentation/devicetree/bindings/rng/omap_rng.yaml
index 010188cdbec86..ccf54fae83028 100644
--- a/Documentation/devicetree/bindings/rng/omap_rng.yaml
+++ b/Documentation/devicetree/bindings/rng/omap_rng.yaml
@@ -53,17 +53,6 @@  allOf:
       required:
         - interrupts
 
-  - if:
-      properties:
-        compatible:
-          contains:
-            enum:
-              - inside-secure,safexcel-eip76
-
-    then:
-      required:
-        - clocks
-
 
 required:
   - compatible