All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: shmobile: emev2 dts: Add pinmux support
@ 2015-02-17 13:31 ` Geert Uytterhoeven
  0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2015-02-17 13:31 UTC (permalink / raw)
  To: linux-arm-kernel

	Hi Simon, Magnus,

Here are the two remaining patches from Niklas Söderlund to add
pinmux support for EMMA Mobile EV2. The patches for the actual pinctrl
driver have already landed in Linus' tree.

Thanks for applying!

Niklas Söderlund (2):
  ARM: shmobile: emev2 dtsi: Add PFC information
  ARM: shmobile: emev2-kzm9d dts: Add PFC information for uart1

 arch/arm/boot/dts/emev2-kzm9d.dts | 13 +++++++++++++
 arch/arm/boot/dts/emev2.dtsi      | 10 ++++++++++
 2 files changed, 23 insertions(+)

-- 
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

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

* [PATCH 0/2] ARM: shmobile: emev2 dts: Add pinmux support
@ 2015-02-17 13:31 ` Geert Uytterhoeven
  0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2015-02-17 13:31 UTC (permalink / raw)
  To: linux-arm-kernel

	Hi Simon, Magnus,

Here are the two remaining patches from Niklas S?derlund to add
pinmux support for EMMA Mobile EV2. The patches for the actual pinctrl
driver have already landed in Linus' tree.

Thanks for applying!

Niklas S?derlund (2):
  ARM: shmobile: emev2 dtsi: Add PFC information
  ARM: shmobile: emev2-kzm9d dts: Add PFC information for uart1

 arch/arm/boot/dts/emev2-kzm9d.dts | 13 +++++++++++++
 arch/arm/boot/dts/emev2.dtsi      | 10 ++++++++++
 2 files changed, 23 insertions(+)

-- 
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

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

* [PATCH 1/2] ARM: shmobile: emev2 dtsi: Add PFC information
  2015-02-17 13:31 ` Geert Uytterhoeven
@ 2015-02-17 13:31   ` Geert Uytterhoeven
  -1 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2015-02-17 13:31 UTC (permalink / raw)
  To: linux-arm-kernel

From: Niklas Söderlund <niso@kth.se>

With this information all GPIOs can make use of the PFC functionality.

Signed-off-by: Niklas Söderlund <niso@kth.se>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/boot/dts/emev2.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/emev2.dtsi b/arch/arm/boot/dts/emev2.dtsi
index cc7bfe0ba40af9a9..bb45694d91bc1e6c 100644
--- a/arch/arm/boot/dts/emev2.dtsi
+++ b/arch/arm/boot/dts/emev2.dtsi
@@ -169,12 +169,18 @@
 		clock-names = "sclk";
 	};
 
+	pfc: pfc@e0140200 {
+		compatible = "renesas,pfc-emev2";
+		reg = <0xe0140200 0x100>;
+	};
+
 	gpio0: gpio@e0050000 {
 		compatible = "renesas,em-gio";
 		reg = <0xe0050000 0x2c>, <0xe0050040 0x20>;
 		interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 68 IRQ_TYPE_LEVEL_HIGH>;
 		gpio-controller;
+		gpio-ranges = <&pfc 0 0 32>;
 		#gpio-cells = <2>;
 		ngpios = <32>;
 		interrupt-controller;
@@ -186,6 +192,7 @@
 		interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 70 IRQ_TYPE_LEVEL_HIGH>;
 		gpio-controller;
+		gpio-ranges = <&pfc 0 32 32>;
 		#gpio-cells = <2>;
 		ngpios = <32>;
 		interrupt-controller;
@@ -197,6 +204,7 @@
 		interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 72 IRQ_TYPE_LEVEL_HIGH>;
 		gpio-controller;
+		gpio-ranges = <&pfc 0 64 32>;
 		#gpio-cells = <2>;
 		ngpios = <32>;
 		interrupt-controller;
@@ -208,6 +216,7 @@
 		interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 74 IRQ_TYPE_LEVEL_HIGH>;
 		gpio-controller;
+		gpio-ranges = <&pfc 0 96 32>;
 		#gpio-cells = <2>;
 		ngpios = <32>;
 		interrupt-controller;
@@ -219,6 +228,7 @@
 		interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 76 IRQ_TYPE_LEVEL_HIGH>;
 		gpio-controller;
+		gpio-ranges = <&pfc 0 128 31>;
 		#gpio-cells = <2>;
 		ngpios = <31>;
 		interrupt-controller;
-- 
1.9.1


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

* [PATCH 1/2] ARM: shmobile: emev2 dtsi: Add PFC information
@ 2015-02-17 13:31   ` Geert Uytterhoeven
  0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2015-02-17 13:31 UTC (permalink / raw)
  To: linux-arm-kernel

From: Niklas S?derlund <niso@kth.se>

With this information all GPIOs can make use of the PFC functionality.

Signed-off-by: Niklas S?derlund <niso@kth.se>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/boot/dts/emev2.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/emev2.dtsi b/arch/arm/boot/dts/emev2.dtsi
index cc7bfe0ba40af9a9..bb45694d91bc1e6c 100644
--- a/arch/arm/boot/dts/emev2.dtsi
+++ b/arch/arm/boot/dts/emev2.dtsi
@@ -169,12 +169,18 @@
 		clock-names = "sclk";
 	};
 
+	pfc: pfc at e0140200 {
+		compatible = "renesas,pfc-emev2";
+		reg = <0xe0140200 0x100>;
+	};
+
 	gpio0: gpio at e0050000 {
 		compatible = "renesas,em-gio";
 		reg = <0xe0050000 0x2c>, <0xe0050040 0x20>;
 		interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 68 IRQ_TYPE_LEVEL_HIGH>;
 		gpio-controller;
+		gpio-ranges = <&pfc 0 0 32>;
 		#gpio-cells = <2>;
 		ngpios = <32>;
 		interrupt-controller;
@@ -186,6 +192,7 @@
 		interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 70 IRQ_TYPE_LEVEL_HIGH>;
 		gpio-controller;
+		gpio-ranges = <&pfc 0 32 32>;
 		#gpio-cells = <2>;
 		ngpios = <32>;
 		interrupt-controller;
@@ -197,6 +204,7 @@
 		interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 72 IRQ_TYPE_LEVEL_HIGH>;
 		gpio-controller;
+		gpio-ranges = <&pfc 0 64 32>;
 		#gpio-cells = <2>;
 		ngpios = <32>;
 		interrupt-controller;
@@ -208,6 +216,7 @@
 		interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 74 IRQ_TYPE_LEVEL_HIGH>;
 		gpio-controller;
+		gpio-ranges = <&pfc 0 96 32>;
 		#gpio-cells = <2>;
 		ngpios = <32>;
 		interrupt-controller;
@@ -219,6 +228,7 @@
 		interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 76 IRQ_TYPE_LEVEL_HIGH>;
 		gpio-controller;
+		gpio-ranges = <&pfc 0 128 31>;
 		#gpio-cells = <2>;
 		ngpios = <31>;
 		interrupt-controller;
-- 
1.9.1

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

* [PATCH 2/2] ARM: shmobile: emev2-kzm9d dts: Add PFC information for uart1
  2015-02-17 13:31 ` Geert Uytterhoeven
@ 2015-02-17 13:31   ` Geert Uytterhoeven
  -1 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2015-02-17 13:31 UTC (permalink / raw)
  To: linux-arm-kernel

From: Niklas Söderlund <niso@kth.se>

Configure the pinmux on kzm9d to use the serial connector for uart1.

Signed-off-by: Niklas Söderlund <niso@kth.se>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/boot/dts/emev2-kzm9d.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/emev2-kzm9d.dts b/arch/arm/boot/dts/emev2-kzm9d.dts
index 667d323e80a3e176..19446273e4a7f832 100644
--- a/arch/arm/boot/dts/emev2-kzm9d.dts
+++ b/arch/arm/boot/dts/emev2-kzm9d.dts
@@ -94,3 +94,16 @@
 		vdd33a-supply = <&reg_3p3v>;
 	};
 };
+
+&pfc {
+	uart1_pins: uart@e1030000 {
+		renesas,groups = "uart1_ctrl", "uart1_data";
+		renesas,function = "uart1";
+	};
+};
+
+&uart1 {
+	pinctrl-0 = <&uart1_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+};
-- 
1.9.1


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

* [PATCH 2/2] ARM: shmobile: emev2-kzm9d dts: Add PFC information for uart1
@ 2015-02-17 13:31   ` Geert Uytterhoeven
  0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2015-02-17 13:31 UTC (permalink / raw)
  To: linux-arm-kernel

From: Niklas S?derlund <niso@kth.se>

Configure the pinmux on kzm9d to use the serial connector for uart1.

Signed-off-by: Niklas S?derlund <niso@kth.se>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm/boot/dts/emev2-kzm9d.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/emev2-kzm9d.dts b/arch/arm/boot/dts/emev2-kzm9d.dts
index 667d323e80a3e176..19446273e4a7f832 100644
--- a/arch/arm/boot/dts/emev2-kzm9d.dts
+++ b/arch/arm/boot/dts/emev2-kzm9d.dts
@@ -94,3 +94,16 @@
 		vdd33a-supply = <&reg_3p3v>;
 	};
 };
+
+&pfc {
+	uart1_pins: uart at e1030000 {
+		renesas,groups = "uart1_ctrl", "uart1_data";
+		renesas,function = "uart1";
+	};
+};
+
+&uart1 {
+	pinctrl-0 = <&uart1_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+};
-- 
1.9.1

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

* Re: [PATCH 0/2] ARM: shmobile: emev2 dts: Add pinmux support
  2015-02-17 13:31 ` Geert Uytterhoeven
@ 2015-02-18 21:20   ` Simon Horman
  -1 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2015-02-18 21:20 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Feb 17, 2015 at 02:31:53PM +0100, Geert Uytterhoeven wrote:
> 	Hi Simon, Magnus,
> 
> Here are the two remaining patches from Niklas Söderlund to add
> pinmux support for EMMA Mobile EV2. The patches for the actual pinctrl
> driver have already landed in Linus' tree.
> 
> Thanks for applying!

Thanks, done.

> Niklas Söderlund (2):
>   ARM: shmobile: emev2 dtsi: Add PFC information
>   ARM: shmobile: emev2-kzm9d dts: Add PFC information for uart1
> 
>  arch/arm/boot/dts/emev2-kzm9d.dts | 13 +++++++++++++
>  arch/arm/boot/dts/emev2.dtsi      | 10 ++++++++++
>  2 files changed, 23 insertions(+)

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

* [PATCH 0/2] ARM: shmobile: emev2 dts: Add pinmux support
@ 2015-02-18 21:20   ` Simon Horman
  0 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2015-02-18 21:20 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Feb 17, 2015 at 02:31:53PM +0100, Geert Uytterhoeven wrote:
> 	Hi Simon, Magnus,
> 
> Here are the two remaining patches from Niklas S?derlund to add
> pinmux support for EMMA Mobile EV2. The patches for the actual pinctrl
> driver have already landed in Linus' tree.
> 
> Thanks for applying!

Thanks, done.

> Niklas S?derlund (2):
>   ARM: shmobile: emev2 dtsi: Add PFC information
>   ARM: shmobile: emev2-kzm9d dts: Add PFC information for uart1
> 
>  arch/arm/boot/dts/emev2-kzm9d.dts | 13 +++++++++++++
>  arch/arm/boot/dts/emev2.dtsi      | 10 ++++++++++
>  2 files changed, 23 insertions(+)

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

end of thread, other threads:[~2015-02-18 21:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-17 13:31 [PATCH 0/2] ARM: shmobile: emev2 dts: Add pinmux support Geert Uytterhoeven
2015-02-17 13:31 ` Geert Uytterhoeven
2015-02-17 13:31 ` [PATCH 1/2] ARM: shmobile: emev2 dtsi: Add PFC information Geert Uytterhoeven
2015-02-17 13:31   ` Geert Uytterhoeven
2015-02-17 13:31 ` [PATCH 2/2] ARM: shmobile: emev2-kzm9d dts: Add PFC information for uart1 Geert Uytterhoeven
2015-02-17 13:31   ` Geert Uytterhoeven
2015-02-18 21:20 ` [PATCH 0/2] ARM: shmobile: emev2 dts: Add pinmux support Simon Horman
2015-02-18 21:20   ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.