From patchwork Fri Jan 27 17:28:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 92702 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp341253qgi; Fri, 27 Jan 2017 09:28:51 -0800 (PST) X-Received: by 10.84.231.140 with SMTP id g12mr13930800plk.76.1485538131590; Fri, 27 Jan 2017 09:28:51 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c85si5023767pfk.224.2017.01.27.09.28.51; Fri, 27 Jan 2017 09:28:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933986AbdA0R2q (ORCPT + 7 others); Fri, 27 Jan 2017 12:28:46 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:38713 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933985AbdA0R2n (ORCPT ); Fri, 27 Jan 2017 12:28:43 -0500 Received: by mail-wm0-f54.google.com with SMTP id r144so149526988wme.1 for ; Fri, 27 Jan 2017 09:28:37 -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=KhtjAHrjinTgTqMIvW4cpoPygdJOQSZMqeKMLrUcykGQkOvVegn2hPj4eogy4kF+FJ DRkt+ZviRrpz5FhwwtvEUY7pHZ2bzlGj2fSBvaB03k2HFP+a5TetIZYjfQ7CHM8PLYFj OFCYfoaf66T82mDt19wf5vqa0wUeJUuqU+xz0= 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=TqBvvocGnmGIEN/lVvelIg6VQmASAIjo4lBUaDNnTfz2L4g6Fynjj7Etqnzr4r0d5t IjcOEDVVbqPGoGldZClKD0nuj6rtLDVIvSvoLhkDfsBHWeTv2q8jVszLKeTAjD8gZJTm oBTPyXoiWbXfsB3CEgs/obyic0Vg3ysekFJnnBWD/vXliJH1DyRnDemYc3cd1q2a8kd4 go7C2ME3MFDXu9qEN3T6sIMOkGBdGB2ptTCAO86F6VjZBgTtIPXV2qNizaZeWaE/sW+H B5UNbO7exMbh+Et2wAMSS81pPeagrR/xXPOcrAyrBnQFOab3DmvR2p7jYON15211i7O0 Vvfw== X-Gm-Message-State: AIkVDXLle+buFG4m4Kz5d/gjWPttTTzX86j5+Jtj9Q+rb2TKuHZWgnAtgWVpFmIOQSQJEDRl X-Received: by 10.223.136.155 with SMTP id f27mr8150477wrf.98.1485538111713; Fri, 27 Jan 2017 09:28:31 -0800 (PST) Received: from localhost.localdomain ([2a01:4c8:1b:eeec:f122:1b92:9371:359c]) by smtp.gmail.com with ESMTPSA id k4sm4822140wmf.22.2017.01.27.09.28.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jan 2017 09:28:31 -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: Fri, 27 Jan 2017 17:28:01 +0000 Message-Id: <20170127172804.23881-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170127172804.23881-1-lee.jones@linaro.org> References: <20170127172804.23881-1-lee.jones@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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 */