Re: [PATCH 3/3] DOC: PWM: Adding binding document for via,vt8500-pwm

2012-10-22 Thread Tony Prisk
On Mon, 2012-10-22 at 08:35 +0200, Thierry Reding wrote:
> On Fri, Oct 19, 2012 at 11:38:55PM +1300, Tony Prisk wrote:
> > Add a binding document describing the PWM controller found
> > on arch-vt8500 supported SoCs.
> > 
> > Signed-off-by: Tony Prisk 
> > ---
> >  .../devicetree/bindings/pwm/vt8500-pwm.txt |   17 +
> >  1 file changed, 17 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
> 
> I think this can be folded into the previous patch. One other comment
> below.
> 
> > diff --git a/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt 
> > b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
> > new file mode 100644
> > index 000..e8ba133
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
> > @@ -0,0 +1,17 @@
> > +VIA/Wondermedia VT8500/WM8xxx series SoC PWM controller
> > +
> > +Required properties:
> > +- compatible: should be "via,vt8500-pwm"
> > +- reg: physical base address and length of the controller's registers
> > +- #pwm-cells: should be 2.  The first cell specifies the per-chip index
> > +  of the PWM to use and the second cell is the period in nanoseconds.
> > +- clocks: pHandle to the PWM source clock
> 
> I think the common spelling is "phandle".
> 
> Thierry

Will fix the capitalisation and merge this with patch 2.

Regards
Tony P

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 3/3] DOC: PWM: Adding binding document for via,vt8500-pwm

2012-10-22 Thread Thierry Reding
On Fri, Oct 19, 2012 at 11:38:55PM +1300, Tony Prisk wrote:
> Add a binding document describing the PWM controller found
> on arch-vt8500 supported SoCs.
> 
> Signed-off-by: Tony Prisk 
> ---
>  .../devicetree/bindings/pwm/vt8500-pwm.txt |   17 +
>  1 file changed, 17 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/pwm/vt8500-pwm.txt

I think this can be folded into the previous patch. One other comment
below.

> diff --git a/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt 
> b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
> new file mode 100644
> index 000..e8ba133
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
> @@ -0,0 +1,17 @@
> +VIA/Wondermedia VT8500/WM8xxx series SoC PWM controller
> +
> +Required properties:
> +- compatible: should be "via,vt8500-pwm"
> +- reg: physical base address and length of the controller's registers
> +- #pwm-cells: should be 2.  The first cell specifies the per-chip index
> +  of the PWM to use and the second cell is the period in nanoseconds.
> +- clocks: pHandle to the PWM source clock

I think the common spelling is "phandle".

Thierry


pgpYZGOIzdLQz.pgp
Description: PGP signature


Re: [PATCH 3/3] DOC: PWM: Adding binding document for via,vt8500-pwm

2012-10-22 Thread Thierry Reding
On Fri, Oct 19, 2012 at 11:38:55PM +1300, Tony Prisk wrote:
 Add a binding document describing the PWM controller found
 on arch-vt8500 supported SoCs.
 
 Signed-off-by: Tony Prisk li...@prisktech.co.nz
 ---
  .../devicetree/bindings/pwm/vt8500-pwm.txt |   17 +
  1 file changed, 17 insertions(+)
  create mode 100644 Documentation/devicetree/bindings/pwm/vt8500-pwm.txt

I think this can be folded into the previous patch. One other comment
below.

 diff --git a/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt 
 b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
 new file mode 100644
 index 000..e8ba133
 --- /dev/null
 +++ b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
 @@ -0,0 +1,17 @@
 +VIA/Wondermedia VT8500/WM8xxx series SoC PWM controller
 +
 +Required properties:
 +- compatible: should be via,vt8500-pwm
 +- reg: physical base address and length of the controller's registers
 +- #pwm-cells: should be 2.  The first cell specifies the per-chip index
 +  of the PWM to use and the second cell is the period in nanoseconds.
 +- clocks: pHandle to the PWM source clock

I think the common spelling is phandle.

Thierry


pgpYZGOIzdLQz.pgp
Description: PGP signature


Re: [PATCH 3/3] DOC: PWM: Adding binding document for via,vt8500-pwm

2012-10-22 Thread Tony Prisk
On Mon, 2012-10-22 at 08:35 +0200, Thierry Reding wrote:
 On Fri, Oct 19, 2012 at 11:38:55PM +1300, Tony Prisk wrote:
  Add a binding document describing the PWM controller found
  on arch-vt8500 supported SoCs.
  
  Signed-off-by: Tony Prisk li...@prisktech.co.nz
  ---
   .../devicetree/bindings/pwm/vt8500-pwm.txt |   17 +
   1 file changed, 17 insertions(+)
   create mode 100644 Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
 
 I think this can be folded into the previous patch. One other comment
 below.
 
  diff --git a/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt 
  b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
  new file mode 100644
  index 000..e8ba133
  --- /dev/null
  +++ b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
  @@ -0,0 +1,17 @@
  +VIA/Wondermedia VT8500/WM8xxx series SoC PWM controller
  +
  +Required properties:
  +- compatible: should be via,vt8500-pwm
  +- reg: physical base address and length of the controller's registers
  +- #pwm-cells: should be 2.  The first cell specifies the per-chip index
  +  of the PWM to use and the second cell is the period in nanoseconds.
  +- clocks: pHandle to the PWM source clock
 
 I think the common spelling is phandle.
 
 Thierry

Will fix the capitalisation and merge this with patch 2.

Regards
Tony P

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 3/3] DOC: PWM: Adding binding document for via,vt8500-pwm

2012-10-19 Thread Tony Prisk
Add a binding document describing the PWM controller found
on arch-vt8500 supported SoCs.

Signed-off-by: Tony Prisk 
---
 .../devicetree/bindings/pwm/vt8500-pwm.txt |   17 +
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/vt8500-pwm.txt

diff --git a/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt 
b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
new file mode 100644
index 000..e8ba133
--- /dev/null
+++ b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
@@ -0,0 +1,17 @@
+VIA/Wondermedia VT8500/WM8xxx series SoC PWM controller
+
+Required properties:
+- compatible: should be "via,vt8500-pwm"
+- reg: physical base address and length of the controller's registers
+- #pwm-cells: should be 2.  The first cell specifies the per-chip index
+  of the PWM to use and the second cell is the period in nanoseconds.
+- clocks: pHandle to the PWM source clock
+
+Example:
+
+pwm1: pwm@d822 {
+   #pwm-cells = <2>;
+   compatible = "via,vt8500-pwm";
+   reg = <0xd822 0x1000>;
+   clocks = <>;
+};
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 3/3] DOC: PWM: Adding binding document for via,vt8500-pwm

2012-10-19 Thread Tony Prisk
Add a binding document describing the PWM controller found
on arch-vt8500 supported SoCs.

Signed-off-by: Tony Prisk li...@prisktech.co.nz
---
 .../devicetree/bindings/pwm/vt8500-pwm.txt |   17 +
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/vt8500-pwm.txt

diff --git a/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt 
b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
new file mode 100644
index 000..e8ba133
--- /dev/null
+++ b/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt
@@ -0,0 +1,17 @@
+VIA/Wondermedia VT8500/WM8xxx series SoC PWM controller
+
+Required properties:
+- compatible: should be via,vt8500-pwm
+- reg: physical base address and length of the controller's registers
+- #pwm-cells: should be 2.  The first cell specifies the per-chip index
+  of the PWM to use and the second cell is the period in nanoseconds.
+- clocks: pHandle to the PWM source clock
+
+Example:
+
+pwm1: pwm@d822 {
+   #pwm-cells = 2;
+   compatible = via,vt8500-pwm;
+   reg = 0xd822 0x1000;
+   clocks = clkpwm;
+};
-- 
1.7.9.5

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/