All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: rng: omap_rng: Drop requirement for clocks
@ 2022-09-01 17:10 Andrew Davis
  2022-09-07 20:42 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Davis @ 2022-09-01 17:10 UTC (permalink / raw)
  To: Nishanth Menon, Vignesh Raghavendra, Jayesh Choudhary,
	Rob Herring, Krzysztof Kozlowski, linux-crypto, devicetree,
	linux-kernel
  Cc: Andrew Davis

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(-)

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
-- 
2.36.1


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

* Re: [PATCH] dt-bindings: rng: omap_rng: Drop requirement for clocks
  2022-09-01 17:10 [PATCH] dt-bindings: rng: omap_rng: Drop requirement for clocks Andrew Davis
@ 2022-09-07 20:42 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2022-09-07 20:42 UTC (permalink / raw)
  To: Andrew Davis
  Cc: Vignesh Raghavendra, Rob Herring, linux-kernel, Jayesh Choudhary,
	devicetree, linux-crypto, Nishanth Menon, Krzysztof Kozlowski

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!

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

end of thread, other threads:[~2022-09-07 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-01 17:10 [PATCH] dt-bindings: rng: omap_rng: Drop requirement for clocks Andrew Davis
2022-09-07 20:42 ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.