* [PATCH 6/9] ARM: shmobile: lager: add DT pinctrl definitions for a serial interface
@ 2013-05-17 14:55 Guennadi Liakhovetski
2013-05-19 23:06 ` Laurent Pinchart
0 siblings, 1 reply; 2+ messages in thread
From: Guennadi Liakhovetski @ 2013-05-17 14:55 UTC (permalink / raw)
To: linux-sh
Add DT pinctrl group and function definitions for the serial device, used
as a serial console on lager.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
---
arch/arm/boot/dts/r8a7790-lager.dts | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 09a84fc..986f274 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -29,3 +29,13 @@
#size-cells = <1>;
};
};
+
+&pfc {
+ pinctrl-0 = <&scif0_pins>;
+ pinctrl-names = "default";
+
+ scif0_pins: scif0 {
+ renesas,groups = "scif0_data";
+ renesas,function = "scif0";
+ };
+};
--
1.7.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH 6/9] ARM: shmobile: lager: add DT pinctrl definitions for a serial interface
2013-05-17 14:55 [PATCH 6/9] ARM: shmobile: lager: add DT pinctrl definitions for a serial interface Guennadi Liakhovetski
@ 2013-05-19 23:06 ` Laurent Pinchart
0 siblings, 0 replies; 2+ messages in thread
From: Laurent Pinchart @ 2013-05-19 23:06 UTC (permalink / raw)
To: linux-sh
Hi Guennadi,
Thank you for the patch.
On Friday 17 May 2013 16:55:17 Guennadi Liakhovetski wrote:
> Add DT pinctrl group and function definitions for the serial device, used
> as a serial console on lager.
>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
>
> ---
> arch/arm/boot/dts/r8a7790-lager.dts | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
> b/arch/arm/boot/dts/r8a7790-lager.dts index 09a84fc..986f274 100644
> --- a/arch/arm/boot/dts/r8a7790-lager.dts
> +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> @@ -29,3 +29,13 @@
> #size-cells = <1>;
> };
> };
> +
> +&pfc {
> + pinctrl-0 = <&scif0_pins>;
> + pinctrl-names = "default";
> +
> + scif0_pins: scif0 {
> + renesas,groups = "scif0_data";
> + renesas,function = "scif0";
> + };
> +};
According to the schematics the debug serial port is on scifa0. scif0 works as
well, as it shares the rx and tx pins with scifa0.
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-19 23:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-17 14:55 [PATCH 6/9] ARM: shmobile: lager: add DT pinctrl definitions for a serial interface Guennadi Liakhovetski
2013-05-19 23:06 ` Laurent Pinchart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox