Message ID | 1442497557-9271-5-git-send-email-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | b4a5407ea82869bf947c8a1176984f80c30e25a6 |
Headers | show |
On 09/17/2015 06:45 AM, Lee Jones wrote: > Signed-off-by: Lee Jones <lee.jones@linaro.org> > --- > 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.
On 18 September 2015 at 17:21, Stephen Boyd <sboyd@codeaurora.org> wrote: > On 09/17/2015 06:45 AM, Lee Jones wrote: >> Signed-off-by: Lee Jones <lee.jones@linaro.org> >> --- >> 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.
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>; +}
Signed-off-by: Lee Jones <lee.jones@linaro.org> --- Documentation/devicetree/bindings/rng/st,rng.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/st,rng.txt