Message ID | 1434672696-13632-3-git-send-email-computersforpeace@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Jun 18, 2015 at 5:11 PM, Brian Norris <computersforpeace@gmail.com> wrote: > Signed-off-by: Brian Norris <computersforpeace@gmail.com> Acked-by: Gregory Fong <gregory.0xf0@gmail.com>
Le 06/18/15 17:11, Brian Norris a écrit : > Signed-off-by: Brian Norris <computersforpeace@gmail.com> Although the binding looks good to me, I am not applying this one just yet since we would want to merge the wake-timer driver and its binding at the same time, thanks! > --- > .../bindings/soc/brcmstb/brcm,brcmstb-waketimer.txt | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/brcmstb/brcm,brcmstb-waketimer.txt > > diff --git a/Documentation/devicetree/bindings/soc/brcmstb/brcm,brcmstb-waketimer.txt b/Documentation/devicetree/bindings/soc/brcmstb/brcm,brcmstb-waketimer.txt > new file mode 100644 > index 000000000000..68c4329b6af0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/brcmstb/brcm,brcmstb-waketimer.txt > @@ -0,0 +1,20 @@ > +* Broadcom STB Wake-up Timer > + > +The Broadcom STB wake-up timer provides a high-resolution timer, with the > +ability to wake up the system from low-power suspend/standby modes. > + > +Required properties: > +- compatible : should contain "brcm,brcmstb-waketimer" > +- reg : the register start and length for the WKTMR block > +- interrupts : The TIMER interrupt > +- interrupt-parent: The phandle to the Always-On (AON) Power Management (PM) L2 > + interrupt controller node > + > +Example: > + > +waketimer@f0411580 { > + compatible = "brcm,brcmstb-waketimer"; > + reg = <0xf0411580 0x14>; > + interrupts = <0x3>; > + interrupt-parent = <&aon_pm_l2_intc>; > +}; >
diff --git a/Documentation/devicetree/bindings/soc/brcmstb/brcm,brcmstb-waketimer.txt b/Documentation/devicetree/bindings/soc/brcmstb/brcm,brcmstb-waketimer.txt new file mode 100644 index 000000000000..68c4329b6af0 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/brcmstb/brcm,brcmstb-waketimer.txt @@ -0,0 +1,20 @@ +* Broadcom STB Wake-up Timer + +The Broadcom STB wake-up timer provides a high-resolution timer, with the +ability to wake up the system from low-power suspend/standby modes. + +Required properties: +- compatible : should contain "brcm,brcmstb-waketimer" +- reg : the register start and length for the WKTMR block +- interrupts : The TIMER interrupt +- interrupt-parent: The phandle to the Always-On (AON) Power Management (PM) L2 + interrupt controller node + +Example: + +waketimer@f0411580 { + compatible = "brcm,brcmstb-waketimer"; + reg = <0xf0411580 0x14>; + interrupts = <0x3>; + interrupt-parent = <&aon_pm_l2_intc>; +};
Signed-off-by: Brian Norris <computersforpeace@gmail.com> --- .../bindings/soc/brcmstb/brcm,brcmstb-waketimer.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/brcmstb/brcm,brcmstb-waketimer.txt