From patchwork Fri Feb 3 10:23:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 93165 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp525361qgi; Fri, 3 Feb 2017 02:24:31 -0800 (PST) X-Received: by 10.84.173.4 with SMTP id o4mr20042932plb.106.1486117471473; Fri, 03 Feb 2017 02:24:31 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a14si25108765pll.266.2017.02.03.02.24.31; Fri, 03 Feb 2017 02:24:31 -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 S1753277AbdBCKYI (ORCPT + 25 others); Fri, 3 Feb 2017 05:24:08 -0500 Received: from mail-wm0-f45.google.com ([74.125.82.45]:34973 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753161AbdBCKXc (ORCPT ); Fri, 3 Feb 2017 05:23:32 -0500 Received: by mail-wm0-f45.google.com with SMTP id b65so21488460wmf.0 for ; Fri, 03 Feb 2017 02:23:31 -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=jYAcy1rcoyjvjvK8FhY/5hMyo7VZCVysEPO5yDh+WNI=; b=bIy0NRGm9ZQwTy29tegD479jDs7ce4ulLFTtZSPf4/QHDQ99CGsW0D2GdYaogdrPIY fFoTTjatIxOIo6xrRlU2ypHV0YHMXF6qZgyjwjnYTZ0Ny8ZQ28n8bELe6IgNKTd0ThiR 9fCvCW0CYIOGiy9X2McsHf1XjXogrgDqmMN4o= 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=jYAcy1rcoyjvjvK8FhY/5hMyo7VZCVysEPO5yDh+WNI=; b=e31eLpbaWW7UskJfsEfiWGePfuWJ6A6KnOGhNVdImBBR+o8tLq8V+9UpLZt5Typg8v ihY4+I/uRcfnqiCNa05GyYM7kuWOOnuH2u1ve81zEkoWcOlB6h+eyZ0LPYpvl6RyuUdn cijl3/RVd94toR8ahrHBhFMhHnVTVdthd/VzAVbyDxXh4dUKTgmJNDutvhX+h4E03AWX FJ7y97OMYDIFOV5qeVdni1p9elkfWU/+tG8fCfgy40+kyVsPDjR47RWygpkGEU7/Ff7e MZvIiXdtDlnJjtk90SKAApizK77DpVDhhCFmW3zp8HPPHjgP6dJVXZQq8Fi2N7qfprVi JxtA== X-Gm-Message-State: AIkVDXInIHMCgBhFP6Q1fBUKTQNRNbHiw4/ZBaxg8ui02tIvcNUmUSA/mpU/Ei7VPTTxdAtd X-Received: by 10.223.178.243 with SMTP id g106mr13737196wrd.32.1486117411097; Fri, 03 Feb 2017 02:23:31 -0800 (PST) Received: from dell.Home ([2a02:c7d:1faf:e900:a188:db10:388f:f973]) by smtp.gmail.com with ESMTPSA id z90sm44668100wrc.24.2017.02.03.02.23.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Feb 2017 02:23:30 -0800 (PST) From: Lee Jones To: gregkh@linuxfoundation.org, jslaby@suse.com, linux-serial@vger.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 v4 07/10] ARM: dts: STiH410-b2260: Identify the UART RTS line Date: Fri, 3 Feb 2017 10:23:16 +0000 Message-Id: <20170203102319.23489-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170203102319.23489-1-lee.jones@linaro.org> References: <20170203102319.23489-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. Acked-by: Peter Griffin 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 */