Skip to content

Commit

Permalink
dt-bindings: rng: bcm2835: document reset support
Browse files Browse the repository at this point in the history
brcm,bcm6368-rng controllers require resetting the IPSEC clock in order to get
a functional RNG.

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Noltari authored and herbertx committed Mar 12, 2021
1 parent 0618e07 commit 3813458
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Documentation/devicetree/bindings/rng/brcm,bcm2835.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ properties:
clock-names:
const: ipsec

resets:
maxItems: 1

reset-names:
const: ipsec

interrupts:
maxItems: 1

Expand All @@ -44,6 +50,8 @@ then:
required:
- clocks
- clock-names
- resets
- reset-names

additionalProperties: false

Expand All @@ -68,4 +76,7 @@ examples:
clocks = <&periph_clk 18>;
clock-names = "ipsec";
resets = <&periph_rst 4>;
reset-names = "ipsec";
};

0 comments on commit 3813458

Please sign in to comment.