2015-09-17 13:45:54

by Lee Jones

[permalink] [raw]
Subject: [PATCH v2 4/7] hwrng: st: Provide DT bindings for ST's Random Number Generator

Signed-off-by: Lee Jones <[email protected]>
---
Documentation/devicetree/bindings/rng/st,rng.txt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rng/st,rng.txt

diff --git a/Documentation/devicetree/bindings/rng/st,rng.txt b/Documentation/devicetree/bindings/rng/st,rng.txt
new file mode 100644
index 0000000..dbc64e6
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/st,rng.txt
@@ -0,0 +1,15 @@
+STMicroelectronics HW Random Number Generator
+----------------------------------------------
+
+Required parameters:
+compatible : Should be "st,rng"
+reg : Base address and size of IP's register map.
+clocks : Phandle to device's clock (See: ../clocks/clock-bindings.txt)
+
+Example:
+
+rng@0xfee80000 {
+ compatible = "st,rng";
+ reg = <0xfee80000 0x1000>;
+ clocks = <&clk_sysin>;
+}
--
1.9.1


2015-09-18 16:21:37

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH v2 4/7] hwrng: st: Provide DT bindings for ST's Random Number Generator

On 09/17/2015 06:45 AM, Lee Jones wrote:
> Signed-off-by: Lee Jones <[email protected]>
> ---
> Documentation/devicetree/bindings/rng/st,rng.txt | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/rng/st,rng.txt
>
> diff --git a/Documentation/devicetree/bindings/rng/st,rng.txt b/Documentation/devicetree/bindings/rng/st,rng.txt
> new file mode 100644
> index 0000000..dbc64e6
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/rng/st,rng.txt
> @@ -0,0 +1,15 @@
> +STMicroelectronics HW Random Number Generator
> +----------------------------------------------
> +
> +Required parameters:
> +compatible : Should be "st,rng"
> +reg : Base address and size of IP's register map.
> +clocks : Phandle to device's clock (See: ../clocks/clock-bindings.txt)
> +
> +Example:
> +
> +rng@0xfee80000 {

Drop the 0x part please.

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

2015-09-18 16:23:42

by Lee Jones

[permalink] [raw]
Subject: Re: [PATCH v2 4/7] hwrng: st: Provide DT bindings for ST's Random Number Generator

On 18 September 2015 at 17:21, Stephen Boyd <[email protected]> wrote:
> On 09/17/2015 06:45 AM, Lee Jones wrote:
>> Signed-off-by: Lee Jones <[email protected]>
>> ---
>> Documentation/devicetree/bindings/rng/st,rng.txt | 15 +++++++++++++++
>> 1 file changed, 15 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/rng/st,rng.txt
>>
>> diff --git a/Documentation/devicetree/bindings/rng/st,rng.txt b/Documentation/devicetree/bindings/rng/st,rng.txt
>> new file mode 100644
>> index 0000000..dbc64e6
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/rng/st,rng.txt
>> @@ -0,0 +1,15 @@
>> +STMicroelectronics HW Random Number Generator
>> +----------------------------------------------
>> +
>> +Required parameters:
>> +compatible : Should be "st,rng"
>> +reg : Base address and size of IP's register map.
>> +clocks : Phandle to device's clock (See: ../clocks/clock-bindings.txt)
>> +
>> +Example:
>> +
>> +rng@0xfee80000 {
>
> Drop the 0x part please.

Good spot. Will fix as a subsequent patch.

--
Lee Jones
Linaro ST Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog