From patchwork Tue Jan 24 13:43:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 92350 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1717624qgi; Tue, 24 Jan 2017 05:41:32 -0800 (PST) X-Received: by 10.98.88.133 with SMTP id m127mr39247640pfb.155.1485265292512; Tue, 24 Jan 2017 05:41:32 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z12si19215130pgz.5.2017.01.24.05.41.32; Tue, 24 Jan 2017 05:41:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751149AbdAXNla (ORCPT + 25 others); Tue, 24 Jan 2017 08:41:30 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:36887 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751128AbdAXNl1 (ORCPT ); Tue, 24 Jan 2017 08:41:27 -0500 Received: by mail-wm0-f49.google.com with SMTP id c206so209975492wme.0 for ; Tue, 24 Jan 2017 05:41:26 -0800 (PST) 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=Uq+tDU+448/B+rMmLMP6jaSV8MIfwHWV9n8W/JQfdRg=; b=I9FgRZa339sza0rsq+nnTobz+/9EO6Lb5ygvcNcbcMUK2b1klTngWU9SXczbKCjAIk /bR2MDGktl7ufAzapCZwYBP4zjgjexRKktwwSaTl9j74AahICwKTaZoRVdBGzlhRs8Xx SwshqQAP6oD7Sgs/dKsVOHDkg0YjJDirDR7bw= 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=Uq+tDU+448/B+rMmLMP6jaSV8MIfwHWV9n8W/JQfdRg=; b=HUXPx55L4jQi+K4nmQyEtERqDJlnp+szouYIykMoBXUjlgyVZ6U1SwJ6E/uWmMl09L DZT+6nAbRXYVBiP5x3qMBrEQ04nHn3+Apz6iGDelZmSlDhfSLW0+lm4+KqDNUGp6aqb8 JDGStUBIe+p7cyPnT7q2XAvQo1GR2QGVCSpQukmcd0STHDolRajWLoKsph9VkN0RKQh0 MmGAS19qJJXHSvTTiUiD+qLK1ssabH0aD2BWUWdb3prMdY5fPl322fMaJcSMZA2nrxpq SB9ZrS8tJAdwkGy4XTZeQIZqyV9cLUNpCUxF1lFuJKWiDorPjygsBrtKv94eClv3fFLN DVkQ== X-Gm-Message-State: AIkVDXJpsGcNs1rEx731EzSRzAK0WhLTLgSVoRDKrb+l+U2tq0IxmzeVwIhqkvRrzZ4gDcwx X-Received: by 10.223.129.163 with SMTP id 32mr27909288wra.140.1485265280750; Tue, 24 Jan 2017 05:41:20 -0800 (PST) Received: from localhost.localdomain (host81-129-172-30.range81-129.btcentralplus.com. [81.129.172.30]) by smtp.gmail.com with ESMTPSA id d42sm19966165wrd.7.2017.01.24.05.41.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jan 2017 05:41:20 -0800 (PST) From: Lee Jones To: gregkh@linuxfoundation.org, jslaby@suse.com, linux-serial@vger.kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, patrice.chotard@st.com, Lee Jones Subject: [PATCH 5/8] ARM: dts: STiH410-b2260: Identify the UART RTS line Date: Tue, 24 Jan 2017 13:43:07 +0000 Message-Id: <20170124134310.27512-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170124134310.27512-1-lee.jones@linaro.org> References: <20170124134310.27512-1-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/boot/dts/stih410-b2260.dts | 1 + 1 file changed, 1 insertion(+) -- 2.10.2 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 */