linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pinctrl: pinctrl-single: fix the binding documentation
@ 2013-02-11  2:46 Kumar, Anil
  2013-02-12 12:13 ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: Kumar, Anil @ 2013-02-11  2:46 UTC (permalink / raw)
  To: devicetree-discuss, linux-doc, linux-kernel
  Cc: grant.likely, rob.herring, rob, tony, linus.walleij, b-cousson,
	anilkumar.v

As there are no use of #address-cells and #size-cells properties
in pinctrl-single driver DT node. Fix pinctrl-single binding documentation
to remove these properties.

Signed-off-by: Kumar, Anil <anilkumar.v@ti.com>
---
Tested on da850 EVM.

:100644 100644 2c81e45... c6384e2... M	Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt
 .../devicetree/bindings/pinctrl/pinctrl-single.txt |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt
index 2c81e45..c6384e2 100644
--- a/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt
+++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt
@@ -50,8 +50,6 @@ Example:
 pmx_core: pinmux@4a100040 {
 	compatible = "pinctrl-single";
 	reg = <0x4a100040 0x0196>;
-	#address-cells = <1>;
-	#size-cells = <0>;
 	pinctrl-single,register-width = <16>;
 	pinctrl-single,function-mask = <0xffff>;
 };
@@ -60,8 +58,6 @@ pmx_core: pinmux@4a100040 {
 pmx_wkup: pinmux@4a31e040 {
 	compatible = "pinctrl-single;
 	reg = <0x4a31e040 0x0038>;
-	#address-cells = <1>;
-	#size-cells = <0>;
 	pinctrl-single,register-width = <16>;
 	pinctrl-single,function-mask = <0xffff>;
 };
@@ -69,8 +65,6 @@ pmx_wkup: pinmux@4a31e040 {
 control_devconf0: pinmux@48002274 {
 	compatible = "pinctrl-single";
 	reg = <0x48002274 4>;	/* Single register */
-	#address-cells = <1>;
-	#size-cells = <0>;
 	pinctrl-single,bit-per-mux;
 	pinctrl-single,register-width = <32>;
 	pinctrl-single,function-mask = <0x5F>;
-- 
1.7.4.1


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

* Re: [PATCH] pinctrl: pinctrl-single: fix the binding documentation
  2013-02-11  2:46 [PATCH] pinctrl: pinctrl-single: fix the binding documentation Kumar, Anil
@ 2013-02-12 12:13 ` Linus Walleij
  2013-02-14 17:41   ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2013-02-12 12:13 UTC (permalink / raw)
  To: Kumar, Anil, ext Tony Lindgren
  Cc: devicetree-discuss, linux-doc, linux-kernel, grant.likely,
	rob.herring, rob, b-cousson

On Mon, Feb 11, 2013 at 3:46 AM, Kumar, Anil <anilkumar.v@ti.com> wrote:

> As there are no use of #address-cells and #size-cells properties
> in pinctrl-single driver DT node. Fix pinctrl-single binding documentation
> to remove these properties.
>
> Signed-off-by: Kumar, Anil <anilkumar.v@ti.com>
> ---
> Tested on da850 EVM.

I need Tony Lindgrens ACK on this before I apply it.

Thanks,
Linus Walleij

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

* Re: [PATCH] pinctrl: pinctrl-single: fix the binding documentation
  2013-02-12 12:13 ` Linus Walleij
@ 2013-02-14 17:41   ` Tony Lindgren
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2013-02-14 17:41 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Kumar, Anil, devicetree-discuss, linux-doc, linux-kernel,
	grant.likely, rob.herring, rob, b-cousson

* Linus Walleij <linus.walleij@linaro.org> [130212 04:16]:
> On Mon, Feb 11, 2013 at 3:46 AM, Kumar, Anil <anilkumar.v@ti.com> wrote:
> 
> > As there are no use of #address-cells and #size-cells properties
> > in pinctrl-single driver DT node. Fix pinctrl-single binding documentation
> > to remove these properties.
> >
> > Signed-off-by: Kumar, Anil <anilkumar.v@ti.com>
> > ---
> > Tested on da850 EVM.
> 
> I need Tony Lindgrens ACK on this before I apply it.

No thanks, this driver is supposed to be generic and I would
not be surprised if it eventually will be used on some 64-bit
system. See "5) Required nodes and properties" in file
Documentation/devicetree/booting-without-of.txt.

Regards,

Tony

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

end of thread, other threads:[~2013-02-14 17:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-11  2:46 [PATCH] pinctrl: pinctrl-single: fix the binding documentation Kumar, Anil
2013-02-12 12:13 ` Linus Walleij
2013-02-14 17:41   ` Tony Lindgren

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).