public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: dts: mxs: Add missing address and size cells in SSP3
@ 2012-09-03  9:28 Maxime Ripard
  2012-09-03  9:28 ` [PATCH 2/3] ARM: dts: mxs Add additionnal muxing options for SSP3 Maxime Ripard
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Maxime Ripard @ 2012-09-03  9:28 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/imx28.dtsi |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index 26a166c..8497a0e 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -86,6 +86,8 @@
 			};
 
 			ssp0: ssp at 80010000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
 				reg = <0x80010000 2000>;
 				interrupts = <96 82>;
 				fsl,ssp-dma-channel = <0>;
@@ -93,6 +95,8 @@
 			};
 
 			ssp1: ssp at 80012000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
 				reg = <0x80012000 2000>;
 				interrupts = <97 83>;
 				fsl,ssp-dma-channel = <1>;
@@ -100,6 +104,8 @@
 			};
 
 			ssp2: ssp at 80014000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
 				reg = <0x80014000 2000>;
 				interrupts = <98 84>;
 				fsl,ssp-dma-channel = <2>;
@@ -107,6 +113,8 @@
 			};
 
 			ssp3: ssp at 80016000 {
+				#address-cells = <1>;
+				#size-cells = <0>;
 				reg = <0x80016000 2000>;
 				interrupts = <99 85>;
 				fsl,ssp-dma-channel = <3>;
-- 
1.7.9.5

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

* [PATCH 2/3] ARM: dts: mxs Add additionnal muxing options for SSP3
  2012-09-03  9:28 [PATCH 1/3] ARM: dts: mxs: Add missing address and size cells in SSP3 Maxime Ripard
@ 2012-09-03  9:28 ` Maxime Ripard
  2012-09-03  9:28 ` [PATCH 3/3] dts: mxs: spi: Add SSP3 to the 10049 board Maxime Ripard
  2012-09-03  9:35 ` [PATCH 1/3] ARM: dts: mxs: Add missing address and size cells in SSP3 Uwe Kleine-König
  2 siblings, 0 replies; 5+ messages in thread
From: Maxime Ripard @ 2012-09-03  9:28 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/imx28.dtsi |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index 8497a0e..6c51ff4 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -586,6 +586,17 @@
 					fsl,voltage = <1>;
 					fsl,pull-up = <1>;
 				};
+
+				spi3_pins_b: spi3 at 1 {
+					reg = <1>;
+					fsl,pinmux-ids = <
+						0x0181 /* MX28_PAD_GPMI_RDN__SSP3_SCK */
+						0x01c1 /* MX28_PAD_GPMI_RESETN__SSP3_CMD */
+					>;
+					fsl,drive-strength = <1>;
+					fsl,voltage = <1>;
+					fsl,pull-up = <1>;
+				};
 			};
 
 			digctl at 8001c000 {
-- 
1.7.9.5

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

* [PATCH 3/3] dts: mxs: spi: Add SSP3 to the 10049 board
  2012-09-03  9:28 [PATCH 1/3] ARM: dts: mxs: Add missing address and size cells in SSP3 Maxime Ripard
  2012-09-03  9:28 ` [PATCH 2/3] ARM: dts: mxs Add additionnal muxing options for SSP3 Maxime Ripard
@ 2012-09-03  9:28 ` Maxime Ripard
  2012-09-03  9:35 ` [PATCH 1/3] ARM: dts: mxs: Add missing address and size cells in SSP3 Uwe Kleine-König
  2 siblings, 0 replies; 5+ messages in thread
From: Maxime Ripard @ 2012-09-03  9:28 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/imx28-cfa10049.dts |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts
index c73b9b8..a0c7b83 100644
--- a/arch/arm/boot/dts/imx28-cfa10049.dts
+++ b/arch/arm/boot/dts/imx28-cfa10049.dts
@@ -16,6 +16,15 @@
 	compatible = "crystalfontz,cfa10049", "crystalfontz,cfa10036", "fsl,imx28";
 
 	apb at 80000000 {
+		apbh at 80000000 {
+			ssp3: ssp at 80016000 {
+				compatible = "fsl,imx28-spi";
+				pinctrl-names = "default";
+				pinctrl-0 = <&spi3_pins_b>;
+				status = "okay";
+			};
+		};
+
 		apbx at 80040000 {
 			i2c1: i2c at 8005a000 {
 				pinctrl-names = "default";
-- 
1.7.9.5

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

* [PATCH 1/3] ARM: dts: mxs: Add missing address and size cells in SSP3
  2012-09-03  9:28 [PATCH 1/3] ARM: dts: mxs: Add missing address and size cells in SSP3 Maxime Ripard
  2012-09-03  9:28 ` [PATCH 2/3] ARM: dts: mxs Add additionnal muxing options for SSP3 Maxime Ripard
  2012-09-03  9:28 ` [PATCH 3/3] dts: mxs: spi: Add SSP3 to the 10049 board Maxime Ripard
@ 2012-09-03  9:35 ` Uwe Kleine-König
  2012-09-03 10:06   ` Maxime Ripard
  2 siblings, 1 reply; 5+ messages in thread
From: Uwe Kleine-König @ 2012-09-03  9:35 UTC (permalink / raw)
  To: linux-arm-kernel

The subject only talks about ssp3, but your patch touches ssp0-ssp3.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

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

* [PATCH 1/3] ARM: dts: mxs: Add missing address and size cells in SSP3
  2012-09-03  9:35 ` [PATCH 1/3] ARM: dts: mxs: Add missing address and size cells in SSP3 Uwe Kleine-König
@ 2012-09-03 10:06   ` Maxime Ripard
  0 siblings, 0 replies; 5+ messages in thread
From: Maxime Ripard @ 2012-09-03 10:06 UTC (permalink / raw)
  To: linux-arm-kernel

Le 03/09/2012 11:35, Uwe Kleine-K?nig a ?crit :
> The subject only talks about ssp3, but your patch touches ssp0-ssp3.

Ah right, stupid mistake.
Thanks!

-- 
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2012-09-03 10:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-03  9:28 [PATCH 1/3] ARM: dts: mxs: Add missing address and size cells in SSP3 Maxime Ripard
2012-09-03  9:28 ` [PATCH 2/3] ARM: dts: mxs Add additionnal muxing options for SSP3 Maxime Ripard
2012-09-03  9:28 ` [PATCH 3/3] dts: mxs: spi: Add SSP3 to the 10049 board Maxime Ripard
2012-09-03  9:35 ` [PATCH 1/3] ARM: dts: mxs: Add missing address and size cells in SSP3 Uwe Kleine-König
2012-09-03 10:06   ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox