devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: henninger: add MSIOF0 DT support
@ 2014-05-06 20:47 Sergei Shtylyov
  2014-05-11  0:45 ` Simon Horman
  2015-10-09 20:40 ` Sergei Shtylyov
  0 siblings, 2 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2014-05-06 20:47 UTC (permalink / raw)
  To: horms, linux-sh, devicetree
  Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	magnus.damm, linux, linux-arm-kernel

Define the Henninger board dependent part of the MSIOF0 device node.
Add device node for Renesas R2A11302FT PMIC for which no bindings exist yet.

Based on the Koelsch MSIOF device tree patch by Geert Uytterhoeven.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
This patch is against 'renesas-devel-v3.15-rc3-20140502' tag of Simon Horman's
'renesas.git' repo and SDHI0/2 and QSPI DT support patches posted recently.

 arch/arm/boot/dts/r8a7791-henninger.dts |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts
+++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts
@@ -114,6 +114,12 @@
 		renesas,groups = "qspi_ctrl", "qspi_data4";
 		renesas,function = "qspi";
 	};
+
+	msiof0_pins: spi1 {
+		renesas,groups = "msiof0_clk", "msiof0_sync", "msiof0_rx",
+				 "msiof0_tx";
+		renesas,function = "msiof0";
+	};
 };
 
 &scif0 {
@@ -195,3 +201,18 @@
 		};
 	};
 };
+
+&msiof0 {
+	pinctrl-0 = <&msiof0_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+
+	pmic@0 {
+		compatible = "renesas,r2a11302ft";
+		reg = <0>;
+		spi-max-frequency = <6000000>;
+		spi-cpol;
+		spi-cpha;
+	};
+};

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

* Re: [PATCH] ARM: shmobile: henninger: add MSIOF0 DT support
  2014-05-06 20:47 [PATCH] ARM: shmobile: henninger: add MSIOF0 DT support Sergei Shtylyov
@ 2014-05-11  0:45 ` Simon Horman
  2015-10-09 20:40 ` Sergei Shtylyov
  1 sibling, 0 replies; 4+ messages in thread
From: Simon Horman @ 2014-05-11  0:45 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: linux-sh, devicetree, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, magnus.damm, linux, linux-arm-kernel

On Wed, May 07, 2014 at 12:47:59AM +0400, Sergei Shtylyov wrote:
> Define the Henninger board dependent part of the MSIOF0 device node.
> Add device node for Renesas R2A11302FT PMIC for which no bindings exist yet.
> 
> Based on the Koelsch MSIOF device tree patch by Geert Uytterhoeven.
> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Thanks, I have queued this up.

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

* Re: [PATCH] ARM: shmobile: henninger: add MSIOF0 DT support
  2014-05-06 20:47 [PATCH] ARM: shmobile: henninger: add MSIOF0 DT support Sergei Shtylyov
  2014-05-11  0:45 ` Simon Horman
@ 2015-10-09 20:40 ` Sergei Shtylyov
  2015-10-11 23:55   ` Simon Horman
  1 sibling, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2015-10-09 20:40 UTC (permalink / raw)
  To: horms, linux-sh, devicetree
  Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	magnus.damm, linux, linux-arm-kernel

On 05/07/2014 12:47 AM, Sergei Shtylyov wrote:

> Define the Henninger board dependent part of the MSIOF0 device node.
> Add device node for Renesas R2A11302FT PMIC for which no bindings exist yet.

    I've just realized that there's no such PMIC on the Henninger/Porter 
boards and MSIOF0 is only connected to CN6, hence this patch was wrong.
The .dts is going to be deleted anyway though...

> Based on the Koelsch MSIOF device tree patch by Geert Uytterhoeven.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

MBR, Sergei


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

* Re: [PATCH] ARM: shmobile: henninger: add MSIOF0 DT support
  2015-10-09 20:40 ` Sergei Shtylyov
@ 2015-10-11 23:55   ` Simon Horman
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2015-10-11 23:55 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: linux-sh, devicetree, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, magnus.damm, linux, linux-arm-kernel

On Fri, Oct 09, 2015 at 11:40:52PM +0300, Sergei Shtylyov wrote:
> On 05/07/2014 12:47 AM, Sergei Shtylyov wrote:
> 
> >Define the Henninger board dependent part of the MSIOF0 device node.
> >Add device node for Renesas R2A11302FT PMIC for which no bindings exist yet.
> 
>    I've just realized that there's no such PMIC on the Henninger/Porter
> boards and MSIOF0 is only connected to CN6, hence this patch was wrong.
> The .dts is going to be deleted anyway though...

Feel free to send an incremental update to the henninger if you
want to clean this up before removing the file entirely.

> >Based on the Koelsch MSIOF device tree patch by Geert Uytterhoeven.
> >
> >Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> 
> MBR, Sergei
> 

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

end of thread, other threads:[~2015-10-11 23:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06 20:47 [PATCH] ARM: shmobile: henninger: add MSIOF0 DT support Sergei Shtylyov
2014-05-11  0:45 ` Simon Horman
2015-10-09 20:40 ` Sergei Shtylyov
2015-10-11 23:55   ` Simon Horman

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