Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1565864 > unrolled thread
| Started by | Lee Jones <lee.jones@linaro.org> |
|---|---|
| First post | 2017-01-24 14:50 +0100 |
| Last post | 2017-01-25 12:10 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 6/8] ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control Lee Jones <lee.jones@linaro.org> - 2017-01-24 14:50 +0100
Re: [STLinux Kernel] [PATCH 6/8] ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control Peter Griffin <peter.griffin@linaro.org> - 2017-01-25 12:10 +0100
| From | Lee Jones <lee.jones@linaro.org> |
|---|---|
| Date | 2017-01-24 14:50 +0100 |
| Subject | [PATCH 6/8] ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control |
| Message-ID | <t39DY-4W7-37@gated-at.bofh.it> |
Each serial port which supports HW flow-control should have 2 Pinctrl
groups. Once for when HW flow-control is in progress, where the IP
will take over controlling the lines and another group which enables
the lines to be toggled using GPIO mechanisms.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index daab16b..fbb7f86 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -465,8 +465,16 @@
serial0 {
pinctrl_serial0: serial0-0 {
st,pins {
- tx = <&pio17 0 ALT1 OUT>;
- rx = <&pio17 1 ALT1 IN>;
+ tx = <&pio17 0 ALT1 OUT>;
+ rx = <&pio17 1 ALT1 IN>;
+ };
+ };
+ pinctrl_serial0_flowctrl: serial0-0_flowctrl {
+ st,pins {
+ tx = <&pio17 0 ALT1 OUT>;
+ rx = <&pio17 1 ALT1 IN>;
+ cts = <&pio17 2 ALT1 IN>;
+ rts = <&pio17 3 ALT1 OUT>;
};
};
};
--
2.10.2
[toc] | [next] | [standalone]
| From | Peter Griffin <peter.griffin@linaro.org> |
|---|---|
| Date | 2017-01-25 12:10 +0100 |
| Subject | Re: [STLinux Kernel] [PATCH 6/8] ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control |
| Message-ID | <t3tCH-ZC-41@gated-at.bofh.it> |
| In reply to | #1565864 |
Hi Lee,
On Tue, 24 Jan 2017, Lee Jones wrote:
> Each serial port which supports HW flow-control should have 2 Pinctrl
> groups. Once for when HW flow-control is in progress, where the IP
Nit: Once?
> will take over controlling the lines and another group which enables
> the lines to be toggled using GPIO mechanisms.
>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Peter Griffin <peter.griffin@linaro.org>
> ---
> arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 ++++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index daab16b..fbb7f86 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -465,8 +465,16 @@
> serial0 {
> pinctrl_serial0: serial0-0 {
> st,pins {
> - tx = <&pio17 0 ALT1 OUT>;
> - rx = <&pio17 1 ALT1 IN>;
> + tx = <&pio17 0 ALT1 OUT>;
> + rx = <&pio17 1 ALT1 IN>;
> + };
> + };
> + pinctrl_serial0_flowctrl: serial0-0_flowctrl {
> + st,pins {
> + tx = <&pio17 0 ALT1 OUT>;
> + rx = <&pio17 1 ALT1 IN>;
> + cts = <&pio17 2 ALT1 IN>;
> + rts = <&pio17 3 ALT1 OUT>;
> };
> };
> };
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web