Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1571591
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Lee Jones <lee.jones@linaro.org> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 07/10] ARM: dts: STiH410-b2260: Identify the UART RTS line |
| Date | Wed, 01 Feb 2017 15:40:01 +0100 |
| Message-ID | <t64eJ-77f-11@gated-at.bofh.it> (permalink) |
| References | <t64eJ-77f-5@gated-at.bofh.it> |
| X-Original-To | gregkh@linuxfoundation.org, jslaby@suse.com, linux-serial@vger.kernel.org, dt@kernel.org, devicetree@vger.kernel.org |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WIgl74pHSwl2tK6bV6y2eFUFU9Y9AzGj1m+32ins5OQ=; b=XVTTM19I7oF3uSXQKVxdhrMPTo6NZCMQyawSCJig2WvL6Mdk3hxTNAl+2Ca0kEZ64b Zfdw5T6pMSVTNkDQ4US1YVur28dn4i89maS8J64LvPbUinGZbYIz1oL0Ls1JBOykmb4P DVnVQvxnRuk/6Ojq7UCJDdXsuWzlVrkqTP5AE= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WIgl74pHSwl2tK6bV6y2eFUFU9Y9AzGj1m+32ins5OQ=; b=ZXkjSY6ubQBqsPsV6q/7SRCgozqhXXBUuGSYmK7HavyZVUs20jSfQOFxnuN8hbH2eP lZloy+W/QFWt2Yrf2La5zMNXf083w3DEkAHpMKQ+zPgVkCyrYHdPjGSDIkjkEm8Qtbcz DP5ZkJYO5Jiceg+e5QOyuqjXU6YQRK3Bu5cuekjG6zduwa0alHGjNKv96BujHSgvW6Px tmYTdzv6lQVU7ef3x2/3OYv/T0uqXPaabHuqn16/VRGa3XTveyjXojJRWC/3vl7ut1ra o0rDzJDE3BgJf21gvMwjK7b+VjHw6FRX1+wHC/JasXhBc+x3k4IDzv2t4ZfmfQ+PWbVR Mxqw== |
| X-Gm-Message-State | AIkVDXL4dsW/fNbaSMiGKqZs+6y3g4lqFSGtmApbk7T22b1Iph00FC34P3+mBkNOLRkVSyQy |
| X-Received | by 10.223.148.2 with SMTP id 2mr3137956wrq.75.1485959520176; Wed, 01 Feb 2017 06:32:00 -0800 (PST) |
| X-Mailer | git-send-email 2.9.3 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 26 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, patrice.chotard@st.com, Lee Jones <lee.jones@linaro.org> |
| X-Original-Date | Wed, 1 Feb 2017 14:31:42 +0000 |
| X-Original-Message-ID | <20170201143145.31962-8-lee.jones@linaro.org> |
| X-Original-References | <20170201143145.31962-1-lee.jones@linaro.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1571591 |
Show key headers only | View raw
When hardware flow-control is disabled, manual toggling of the UART's
reset line (RTS) using userland applications (e.g. stty) is not
possible, since the ASC IP does not provide this functionality in the
same was as some other IPs do. Thus, we have to do this manually.
This patch configures the UART RTS line as a GPIO for manipulation
within the UART driver when HW flow-control is not enabled.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
arch/arm/boot/dts/stih410-b2260.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/stih410-b2260.dts b/arch/arm/boot/dts/stih410-b2260.dts
index 06b0696..fa16aba 100644
--- a/arch/arm/boot/dts/stih410-b2260.dts
+++ b/arch/arm/boot/dts/stih410-b2260.dts
@@ -63,6 +63,7 @@
uart0: serial@9830000 {
label = "LS-UART0";
status = "okay";
+ rts-gpios = <&pio17 3 GPIO_ACTIVE_LOW>;
};
/* Low speed expansion connector */
--
2.9.3
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 07/10] ARM: dts: STiH410-b2260: Identify the UART RTS line Lee Jones <lee.jones@linaro.org> - 2017-02-01 15:40 +0100 Re: [STLinux Kernel] [PATCH v2 07/10] ARM: dts: STiH410-b2260: Identify the UART RTS line Peter Griffin <peter.griffin@linaro.org> - 2017-02-01 16:00 +0100
csiph-web