Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1359772

Re: [PATCH 2/5] Documentation: dt: Add binding info for jz4740-rtc driver

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/5] Documentation: dt: Add binding info for jz4740-rtc driver
Date 2016-03-17 13:00 +0100
Message-ID <rdEKS-6X2-15@gated-at.bofh.it> (permalink)
References <r9tbk-4pS-3@gated-at.bofh.it> <r9tbl-4pS-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Mar 05, 2016 at 11:38:48PM +0100, Paul Cercueil wrote:
> Signed-off-by: Paul Cercueil <paul@crapouillou.net>
> ---
>  .../devicetree/bindings/rtc/ingenic,jz4740-rtc.txt | 38 ++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/rtc/ingenic,jz4740-rtc.txt
> 
> diff --git a/Documentation/devicetree/bindings/rtc/ingenic,jz4740-rtc.txt b/Documentation/devicetree/bindings/rtc/ingenic,jz4740-rtc.txt
> new file mode 100644
> index 0000000..71e4ad0
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/rtc/ingenic,jz4740-rtc.txt
> @@ -0,0 +1,38 @@
> +JZ4740 and similar SoCs real-time clock driver
> +
> +Required properties:
> +
> +- compatible: One of:
> +  - "ingenic,jz4740-rtc" - for use with the JZ4740 SoC
> +  - "ingenic,jz4780-rtc" - for use with the JZ4780 SoC
> +- reg: Address range of rtc register set
> +- interrupts: IRQ number for the alarm interrupt
> +- interrupt-parent: phandle of the interrupt controller
> +- clocks: phandle to the "rtc" clock
> +- clock-names: must be "rtc"
> +
> +Optional properties:
> +- system-power-controller: To use this component as the
> +  system power controller

> +- reset-pin-assert-time: Reset pin low-level assertion time
> +  after wakeup (default 60ms; range 0-125ms if RTC clock at 
> +  32 kHz)
> +- min-wakeup-pin-assert-time: Minimum wakeup pin assertion time
> +  (default 100ms; range 0-2s if RTC clock at 32 kHz)

Please append units on these (-msec).

> +
> +Example:
> +
> +rtc@10003000 {
> +	compatible = "ingenic,jz4740-rtc";
> +	reg = <0x10003000 0x3F>;
> +
> +	interrupt-parent = <&intc>;
> +	interrupts = <32>;
> +
> +	clocks = <&rtc_clock>;
> +	clock-names = "rtc";
> +
> +	system-power-controller;
> +	reset-pin-assert-time = <60>;
> +	min-wakeup-pin-assert-time = <100>;
> +};
> -- 
> 2.7.0
> 

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/5] rtc: rtc-jz4740: Add support for the RTC in the jz4780 SoC Paul Cercueil <paul@crapouillou.net> - 2016-03-05 23:50 +0100
  [PATCH 2/5] Documentation: dt: Add binding info for jz4740-rtc driver Paul Cercueil <paul@crapouillou.net> - 2016-03-05 23:50 +0100
    Re: [PATCH 2/5] Documentation: dt: Add binding info for jz4740-rtc  driver Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-03-06 13:20 +0100
    Re: [PATCH 2/5] Documentation: dt: Add binding info for jz4740-rtc  driver Rob Herring <robh@kernel.org> - 2016-03-17 13:00 +0100
    Re: [PATCH 2/5] Documentation: dt: Add binding info for jz4740-rtc  driver Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-03-17 13:10 +0100
  Re: [PATCH 1/5] rtc: rtc-jz4740: Add support for the RTC in the  jz4780 SoC Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-03-17 13:10 +0100

csiph-web