Message ID | 1511010253-5006-2-git-send-email-stefan.wahren@i2se.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 11/18/2017 05:04 AM, Stefan Wahren wrote: > As Sylvain Garrigues pointed out the BCM2835 RNG block has an > interrupt. Also in preparation for Florian's upcoming patch series > add this property to the binding. While we are at it fix the > indenting of the example. > > Link: https://github.com/raspberrypi/linux/issues/2195 > CC: Florian Fainelli <f.fainelli@gmail.com> > Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Applied to devicetree/next, thanks!
diff --git a/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt b/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt index 2654269..82ef4dd 100644 --- a/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt +++ b/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt @@ -6,11 +6,16 @@ Required properties: "brcm,bcm5301x-rng" - reg : Specifies base physical address and size of the registers. +Optional properties: + +- interrupts: specify the interrupt for the RNG block + Example: rng { - compatible = "brcm,bcm2835-rng"; - reg = <0x7e104000 0x10>; + compatible = "brcm,bcm2835-rng"; + reg = <0x7e104000 0x10>; + interrupts = <2 29>; }; rng@18033000 {
As Sylvain Garrigues pointed out the BCM2835 RNG block has an interrupt. Also in preparation for Florian's upcoming patch series add this property to the binding. While we are at it fix the indenting of the example. Link: https://github.com/raspberrypi/linux/issues/2195 CC: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> --- Documentation/devicetree/bindings/rng/brcm,bcm2835.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)