diff mbox series

dt-bindings: RTC: Add sirf,prima2-sysrtc bindings

Message ID 20170915002035.13284-1-alexandre.belloni@free-electrons.com
State Superseded
Headers show
Series dt-bindings: RTC: Add sirf,prima2-sysrtc bindings | expand

Commit Message

Alexandre Belloni Sept. 15, 2017, 12:20 a.m. UTC
Add device tree bindings for the SiRFSoC Real Time Clock.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 .../devicetree/bindings/rtc/sirf,prima2-sysrtc.txt         | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt

Comments

Rob Herring (Arm) Sept. 20, 2017, 8:52 p.m. UTC | #1
On Fri, Sep 15, 2017 at 02:20:35AM +0200, Alexandre Belloni wrote:
> Add device tree bindings for the SiRFSoC Real Time Clock.

Would be useful to note this is already in use and was undocumented.

> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
>  .../devicetree/bindings/rtc/sirf,prima2-sysrtc.txt         | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt
> 
> diff --git a/Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt b/Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt
> new file mode 100644
> index 000000000000..206a5b44af48
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt
> @@ -0,0 +1,14 @@
> +SiRFSoC Real Time Clock
> +
> +Required properties:
> +- compatible: must be "sirf,prima2-sysrtc"
> +- reg: address range of rtc register set.
> +- interrupts: rtc alarm interrupts.
> +
> +Example:
> +			sysrtc@2000 {

rtc@...

Did you want to take all these patches or I can? At least the ones 
touching trivial-devices.txt I'll take so I can deal with any conflicts.

Rob
Alexandre Belloni Sept. 26, 2017, 1:45 p.m. UTC | #2
On 20/09/2017 at 15:52:16 -0500, Rob Herring wrote:
> On Fri, Sep 15, 2017 at 02:20:35AM +0200, Alexandre Belloni wrote:
> > Add device tree bindings for the SiRFSoC Real Time Clock.
> 
> Would be useful to note this is already in use and was undocumented.
> 
> > 
> > Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> > ---
> >  .../devicetree/bindings/rtc/sirf,prima2-sysrtc.txt         | 14 ++++++++++++++
> >  1 file changed, 14 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt
> > 
> > diff --git a/Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt b/Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt
> > new file mode 100644
> > index 000000000000..206a5b44af48
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt
> > @@ -0,0 +1,14 @@
> > +SiRFSoC Real Time Clock
> > +
> > +Required properties:
> > +- compatible: must be "sirf,prima2-sysrtc"
> > +- reg: address range of rtc register set.
> > +- interrupts: rtc alarm interrupts.
> > +
> > +Example:
> > +			sysrtc@2000 {
> 
> rtc@...
> 
> Did you want to take all these patches or I can? At least the ones 
> touching trivial-devices.txt I'll take so I can deal with any conflicts.
> 

I think you can take them through your tree as they don't touch code in
drivers/rtc.

I'll resend v2 as a proper series.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt b/Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt
new file mode 100644
index 000000000000..206a5b44af48
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/sirf,prima2-sysrtc.txt
@@ -0,0 +1,14 @@ 
+SiRFSoC Real Time Clock
+
+Required properties:
+- compatible: must be "sirf,prima2-sysrtc"
+- reg: address range of rtc register set.
+- interrupts: rtc alarm interrupts.
+
+Example:
+			sysrtc@2000 {
+				compatible = "sirf,prima2-sysrtc";
+				reg = <0x2000 0x1000>;
+				interrupts = <52 53 54>;
+			};
+