Re: [RESEND PATCH V2 1/2] ARM: dts: AM33xx: Add RNG node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Aug 29, 2013, at 7:52 AM, Lokesh Vutla wrote:

> Add the AM33xx RNG module's device tree data.
> Also add Documentation file describing the data
> for the RNG module.
> 
> Signed-off-by: Lokesh Vutla <lokeshvutla@xxxxxx>
> ---
> Changes since V1:
> - Drop "status=disabled" entry in dt node, Since
>  RNG is present on all AM33xx platforms.
> 
> .../devicetree/bindings/hwrng/omap_rng.txt         |   22 ++++++++++++++++++++
> arch/arm/boot/dts/am33xx.dtsi                      |    7 +++++++
> 2 files changed, 29 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/hwrng/omap_rng.txt
> 
> diff --git a/Documentation/devicetree/bindings/hwrng/omap_rng.txt b/Documentation/devicetree/bindings/hwrng/omap_rng.txt
> new file mode 100644
> index 0000000..6a62acd
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwrng/omap_rng.txt
> @@ -0,0 +1,22 @@
> +OMAP SoC 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.
> +  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.
> +		Only used for "ti,omap4-rng".
> +
> +Example:
> +/* AM335x */
> +rng: rng@48310000 {
> +	compatible = "ti,omap4-rng";
> +	ti,hwmods = "rng";
> +	reg = <0x48310000 0x2000>;
> +	interrupts = <111>;
> +};

For the DT-Binding portion:

Acked-by: Kumar Gala <galak@xxxxxxxxxxxxxx>

- k

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux