dt-bindings: rng: convert OMAP and Inside-Secure HWRNG to yaml schema
PATCH v2 1/1 dt-bindings: rng: convert OMAP and Inside-Secure HWRNG to yaml schema
Converts the RNG bindings for OMAP SoCs and Inside-Secure HWRNG modules to YAML schema.
Signed-off-by Jayesh Choudhary <[email protected]>
---
Changelog:
v2:
- modified the license-identifier
- modified 'clock-names' property
.../devicetree/bindings/rng/omap_rng.txt | 38 -------- .../devicetree/bindings/rng/omap_rng.yaml | 93 +++++++++++++++++++ 2 files changed, 93 insertions(+), 38 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rng/omap_rng.txt create mode 100644 Documentation/devicetree/bindings/rng/omap_rng.yaml
Documentation/devicetree/bindings/rng/omap_rng.txt deleted +0 -38
@@ -1,38 +0,0 @@ -OMAP SoC and Inside-Secure HWRNG Module - -Required properties: - -- compatible : Should contain entries for this and backward compatible - RNG versions: - - "ti,omap2-rng" for OMAP2. - - "ti,omap4-rng" for OMAP4, OMAP5 and AM33XX. - - "inside-secure,safexcel-eip76" for SoCs with EIP76 IP block - Note that these two versions are incompatible. -- ti,hwmods: Name of the hwmod associated with the RNG module -- reg : Offset and length of the register set for the module -- interrupts : the interrupt number for the RNG module. - Used for "ti,omap4-rng" and "inside-secure,safexcel-eip76" -- clocks: the trng clock source. Only mandatory for the - "inside-secure,safexcel-eip76" compatible, the second clock is - needed for the Armada 7K/8K SoCs -- clock-names: mandatory if there is a second clock, in this case the - name must be "core" for the first clock and "reg" for the second - one - - -Example: -/* AM335x */ -rng: rng@48310000 { - compatible = "ti,omap4-rng"; - ti,hwmods = "rng"; - reg = <0x48310000 0x2000>; - interrupts = <111>; -}; - -/* SafeXcel IP-76 */ -trng: rng@f2760000 { - compatible = "inside-secure,safexcel-eip76"; - reg = <0xf2760000 0x7d>; - interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&cpm_syscon0 1 25>; -};
Documentation/devicetree/bindings/rng/omap_rng.yaml new file +93 -0
93 lines not on this page · raw message
Signature · 1 line
2.17.1
Quoted 10 lines · Jayesh Choudhary
Converts the RNG bindings for OMAP SoCs and Inside-Secure HWRNG modules to YAML schema.
Signed-off-by Jayesh Choudhary <[email protected]>---
Changelog:
v2:
- modified the license-identifier
- modified 'clock-names' property
Quoted 6 lines
.../devicetree/bindings/rng/omap_rng.txt | 38 -------- .../devicetree/bindings/rng/omap_rng.yaml | 93 +++++++++++++++++++ 2 files changed, 93 insertions(+), 38 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rng/omap_rng.txt create mode 100644 Documentation/devicetree/bindings/rng/omap_rng.yaml
Applied, thanks!