linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 6/9] ARM: shmobile: kzm9g: Add pin control device in device tree
@ 2013-01-04  0:40 Laurent Pinchart
  2013-01-08  3:53 ` Simon Horman
  2013-01-08  7:21 ` Laurent Pinchart
  0 siblings, 2 replies; 3+ messages in thread
From: Laurent Pinchart @ 2013-01-04  0:40 UTC (permalink / raw)
  To: linux-sh

Add a pfc node in the sh73a0 device tree and include it in kzm9g.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
 arch/arm/boot/dts/sh73a0-kzm9g.dts |    2 +-
 arch/arm/boot/dts/sh73a0.dtsi      |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletions(-)
 create mode 100644 arch/arm/boot/dts/sh73a0.dtsi

diff --git a/arch/arm/boot/dts/sh73a0-kzm9g.dts b/arch/arm/boot/dts/sh73a0-kzm9g.dts
index bcb9119..7b37901 100644
--- a/arch/arm/boot/dts/sh73a0-kzm9g.dts
+++ b/arch/arm/boot/dts/sh73a0-kzm9g.dts
@@ -9,7 +9,7 @@
  */
 
 /dts-v1/;
-/include/ "skeleton.dtsi"
+/include/ "sh73a0.dtsi"
 
 / {
 	model = "KZM-A9-GT";
diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi
new file mode 100644
index 0000000..6b374ff
--- /dev/null
+++ b/arch/arm/boot/dts/sh73a0.dtsi
@@ -0,0 +1,32 @@
+/*
+ * Device Tree Source for the SH73A0 SoC
+ *
+ * Copyright (C) 2012 Renesas Solutions Corp.
+ *
+ * This file is licensed under the terms of the GNU General Public License
+ * version 2.  This program is licensed "as is" without any warranty of any
+ * kind, whether express or implied.
+ */
+
+/include/ "skeleton.dtsi"
+
+/ {
+	compatible = "renesas,sh73a0";
+
+	cpus {
+		cpu@0 {
+			compatible = "arm,cortex-a9";
+		};
+		cpu@1 {
+			compatible = "arm,cortex-a9";
+		};
+	};
+
+	gpio: pfc@e6050000 {
+		compatible = "renesas,pfc-sh73a0";
+		reg = <0xe6050000 0x8000>,
+		      <0xe605801c 0x1c>;
+		gpio-controller;
+		#gpio-cells = <2>;
+	};
+};
-- 
1.7.8.6


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

* Re: [PATCH 6/9] ARM: shmobile: kzm9g: Add pin control device in device tree
  2013-01-04  0:40 [PATCH 6/9] ARM: shmobile: kzm9g: Add pin control device in device tree Laurent Pinchart
@ 2013-01-08  3:53 ` Simon Horman
  2013-01-08  7:21 ` Laurent Pinchart
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2013-01-08  3:53 UTC (permalink / raw)
  To: linux-sh

On Fri, Jan 04, 2013 at 01:40:57AM +0100, Laurent Pinchart wrote:
> Add a pfc node in the sh73a0 device tree and include it in kzm9g.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

Hi Laurent,

could you please split this patch in two?

A patch to sh73a0-kzm9g which I can add to a boards branch.
And a patch to arch/arm/boot/dts/sh73a0.dts which I can add to an
soc branch.

Thanks

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

* Re: [PATCH 6/9] ARM: shmobile: kzm9g: Add pin control device in device tree
  2013-01-04  0:40 [PATCH 6/9] ARM: shmobile: kzm9g: Add pin control device in device tree Laurent Pinchart
  2013-01-08  3:53 ` Simon Horman
@ 2013-01-08  7:21 ` Laurent Pinchart
  1 sibling, 0 replies; 3+ messages in thread
From: Laurent Pinchart @ 2013-01-08  7:21 UTC (permalink / raw)
  To: linux-sh

Hi Simon,

On Tuesday 08 January 2013 12:53:00 Simon Horman wrote:
> On Fri, Jan 04, 2013 at 01:40:57AM +0100, Laurent Pinchart wrote:
> > Add a pfc node in the sh73a0 device tree and include it in kzm9g.
> > 
> > Signed-off-by: Laurent Pinchart 
> > <laurent.pinchart+renesas@ideasonboard.com>
> 
> Hi Laurent,
> 
> could you please split this patch in two?
> 
> A patch to sh73a0-kzm9g which I can add to a boards branch.
> And a patch to arch/arm/boot/dts/sh73a0.dts which I can add to an
> soc branch.

Sure, I'll do that for the next version.

-- 
Regards,

Laurent Pinchart


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

end of thread, other threads:[~2013-01-08  7:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-04  0:40 [PATCH 6/9] ARM: shmobile: kzm9g: Add pin control device in device tree Laurent Pinchart
2013-01-08  3:53 ` Simon Horman
2013-01-08  7:21 ` Laurent Pinchart

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