From patchwork Wed Feb 1 14:31:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 93035 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2443618qgi; Wed, 1 Feb 2017 06:32:22 -0800 (PST) X-Received: by 10.84.216.73 with SMTP id f9mr4933104plj.159.1485959542341; Wed, 01 Feb 2017 06:32:22 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m32si19326794pld.31.2017.02.01.06.32.22; Wed, 01 Feb 2017 06:32:22 -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 S1751831AbdBAOcE (ORCPT + 25 others); Wed, 1 Feb 2017 09:32:04 -0500 Received: from mail-wj0-f173.google.com ([209.85.210.173]:34096 "EHLO mail-wj0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751794AbdBAOcB (ORCPT ); Wed, 1 Feb 2017 09:32:01 -0500 Received: by mail-wj0-f173.google.com with SMTP id uo9so20794814wjc.1 for ; Wed, 01 Feb 2017 06:32:01 -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=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) Received: from localhost.localdomain (host81-158-165-111.range81-158.btcentralplus.com. [81.158.165.111]) by smtp.gmail.com with ESMTPSA id l37sm34420245wrc.41.2017.02.01.06.31.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Feb 2017 06:31:59 -0800 (PST) From: Lee Jones To: gregkh@linuxfoundation.org, jslaby@suse.com, linux-serial@vger.kernel.org, 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 v2 07/10] ARM: dts: STiH410-b2260: Identify the UART RTS line Date: Wed, 1 Feb 2017 14:31:42 +0000 Message-Id: <20170201143145.31962-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170201143145.31962-1-lee.jones@linaro.org> References: <20170201143145.31962-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.9.3 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 */