Skip to contentSkip to conversation

hw_random: brcm63xx-rng: document device tree bindings

PATCH In review Álvaro Fernández Rojas 3 participants 3 messages Jan 17, 2016 – Jan 20, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 4/4 hw_random: brcm63xx-rng: document device tree bindings

Documents device tree bindings for random number generator present on Broadcom BCM6368 SoC.

---
 Documentation/devicetree/bindings/rng/brcm,bcm6368.txt | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rng/brcm,bcm6368.txt
Documentation/devicetree/bindings/rng/brcm,bcm6368.txt new file +17 -0
new file mode 100644
index 0000000..4b5ac60
@@ -0,0 +1,17 @@
+BCM6368 Random number generator
+
+Required properties:
+
+- compatible : should be "brcm,bcm6368-rng"
+- reg : Specifies base physical address and size of the registers
+- clocks : phandle to clock-controller plus clock-specifier pair
+- clock-names : "ipsec" as a clock name
+
+Example:
+	random: rng@10004180 {
+		compatible = "brcm,bcm6368-rng";
+		reg = <0x10004180 0x14>;
+
+		clocks = <&periph_clk 18>;
+		clock-names = "ipsec";
+	};
Signature · 1 line
1.9.1
Reviewed-by on v1 4/4
#1 lore raw
Quoted 4 lines · Álvaro Fernández Rojas

Documents device tree bindings for random number generator present on Broadcom BCM6368 SoC.

I could not track down the proper versioning of this IP block, so this is a good choice, thanks!

Nit: it is kind of nice to re-order the binding addition to come before the driver and/or driver conversion to Device Tree probing.

Signature · 1 line
Florian
maintainer Acked-by on v1 4/4
#2 lore raw
In reply to Álvaro Fernández Rojas
Quoted 8 lines · Álvaro Fernández Rojas

Documents device tree bindings for random number generator present on Broadcom BCM6368 SoC.

---
 Documentation/devicetree/bindings/rng/brcm,bcm6368.txt | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rng/brcm,bcm6368.txt