devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/3] dt-bindings: timer: Add andestech atcpit100 timer binding doc
@ 2017-10-25  2:38 rick
  0 siblings, 0 replies; 3+ messages in thread
From: rick @ 2017-10-25  2:38 UTC (permalink / raw)
  To: daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, rick, rick, Greentime Hu

Signed-off-by: rick <rickchen36-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Signed-off-by: rick <rick-MUIXKm3Oiri1Z/+hSey0Gg@public.gmane.org>
Signed-off-by: Greentime Hu <green.hu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 .../bindings/timer/andestech,atcpit100-timer.txt   |   31 ++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt

diff --git a/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt b/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt
new file mode 100644
index 0000000..a87278a
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt
@@ -0,0 +1,31 @@
+Andestech ATCPIT100 timer
+------------------------------------------------------------------
+ATCPIT100 is a generic IP block from Andes Technology, embedded in
+Andestech AE3XX platforms and other designs.
+
+This timer is a set of compact multi-function timers, which can be
+used as pulse width modulators (PWM) as well as simple timers.
+
+It supports up to 4 PIT channels. Each PIT channel is a
+multi-function timer and provide the following usage scenarios:
+One 32-bit timer
+Two 16-bit timers
+Four 8-bit timers
+One 16-bit PWM
+One 16-bit timer and one 8-bit PWM
+Two 8-bit timer and one 8-bit PWM
+
+Required properties:
+- compatible	: Should be "andestech,atcpit100"
+- reg		: Address and length of the register set
+- interrupts	: Reference to the timer interrupt
+- clock-frequency : The rate in HZ in input of the Andestech ATCPIT100 timer
+
+Examples:
+
+timer0: timer@f0400000 {
+	compatible = "andestech,atcpit100";
+	reg = <0xf0400000 0x1000>;
+	interrupts = <2 4>;
+	clock-frequency = <30000000>;
+};
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 3/3] dt-bindings: timer: Add andestech atcpit100 timer binding doc
@ 2017-10-25  5:12 rick
  2017-10-27 14:37 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: rick @ 2017-10-25  5:12 UTC (permalink / raw)
  To: daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A,
	tglx-hfZtesqFncYOwBW4kG4KsQ, linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	rickchen36-Re5JQEeQqe8AvxtiuMwx3w, rick, Greentime Hu

Signed-off-by: rick <rickchen36-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Signed-off-by: rick <rick-MUIXKm3Oiri1Z/+hSey0Gg@public.gmane.org>
Signed-off-by: Greentime Hu <green.hu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 .../bindings/timer/andestech,atcpit100-timer.txt   |   31 ++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt

diff --git a/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt b/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt
new file mode 100644
index 0000000..a87278a
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt
@@ -0,0 +1,31 @@
+Andestech ATCPIT100 timer
+------------------------------------------------------------------
+ATCPIT100 is a generic IP block from Andes Technology, embedded in
+Andestech AE3XX platforms and other designs.
+
+This timer is a set of compact multi-function timers, which can be
+used as pulse width modulators (PWM) as well as simple timers.
+
+It supports up to 4 PIT channels. Each PIT channel is a
+multi-function timer and provide the following usage scenarios:
+One 32-bit timer
+Two 16-bit timers
+Four 8-bit timers
+One 16-bit PWM
+One 16-bit timer and one 8-bit PWM
+Two 8-bit timer and one 8-bit PWM
+
+Required properties:
+- compatible	: Should be "andestech,atcpit100"
+- reg		: Address and length of the register set
+- interrupts	: Reference to the timer interrupt
+- clock-frequency : The rate in HZ in input of the Andestech ATCPIT100 timer
+
+Examples:
+
+timer0: timer@f0400000 {
+	compatible = "andestech,atcpit100";
+	reg = <0xf0400000 0x1000>;
+	interrupts = <2 4>;
+	clock-frequency = <30000000>;
+};
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 3/3] dt-bindings: timer: Add andestech atcpit100 timer binding doc
  2017-10-25  5:12 rick
@ 2017-10-27 14:37 ` Rob Herring
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring @ 2017-10-27 14:37 UTC (permalink / raw)
  To: rick; +Cc: daniel.lezcano, tglx, linux-kernel, devicetree, rick,
	Greentime Hu

On Wed, Oct 25, 2017 at 01:12:13PM +0800, rick wrote:

Commit msg?

> Signed-off-by: rick <rickchen36@gmail.com>
> Signed-off-by: rick <rick@andestech.com>

Need a full name.

> Signed-off-by: Greentime Hu <green.hu@gmail.com>

S-o-b should be in chronological order of who touched the code. And the 
sender should be last.
 
> ---
>  .../bindings/timer/andestech,atcpit100-timer.txt   |   31 ++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt
> 
> diff --git a/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt b/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt
> new file mode 100644
> index 0000000..a87278a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/timer/andestech,atcpit100-timer.txt
> @@ -0,0 +1,31 @@
> +Andestech ATCPIT100 timer
> +------------------------------------------------------------------
> +ATCPIT100 is a generic IP block from Andes Technology, embedded in
> +Andestech AE3XX platforms and other designs.
> +
> +This timer is a set of compact multi-function timers, which can be
> +used as pulse width modulators (PWM) as well as simple timers.
> +
> +It supports up to 4 PIT channels. Each PIT channel is a
> +multi-function timer and provide the following usage scenarios:
> +One 32-bit timer
> +Two 16-bit timers
> +Four 8-bit timers
> +One 16-bit PWM
> +One 16-bit timer and one 8-bit PWM
> +Two 8-bit timer and one 8-bit PWM
> +
> +Required properties:
> +- compatible	: Should be "andestech,atcpit100"
> +- reg		: Address and length of the register set
> +- interrupts	: Reference to the timer interrupt
> +- clock-frequency : The rate in HZ in input of the Andestech ATCPIT100 timer
> +
> +Examples:
> +
> +timer0: timer@f0400000 {
> +	compatible = "andestech,atcpit100";
> +	reg = <0xf0400000 0x1000>;
> +	interrupts = <2 4>;
> +	clock-frequency = <30000000>;
> +};
> -- 
> 1.7.9.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-27 14:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-25  2:38 [PATCH 3/3] dt-bindings: timer: Add andestech atcpit100 timer binding doc rick
  -- strict thread matches above, loose matches on Subject: below --
2017-10-25  5:12 rick
2017-10-27 14:37 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).