From patchwork Fri Jan 27 17:28:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 92704 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp341620qgi; Fri, 27 Jan 2017 09:29:43 -0800 (PST) X-Received: by 10.98.18.75 with SMTP id a72mr10340531pfj.16.1485538183874; Fri, 27 Jan 2017 09:29:43 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 36si2421663pgx.397.2017.01.27.09.29.43; Fri, 27 Jan 2017 09:29:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-serial-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 linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-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 S934083AbdA0R3e (ORCPT + 2 others); Fri, 27 Jan 2017 12:29:34 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:36876 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934016AbdA0R3L (ORCPT ); Fri, 27 Jan 2017 12:29:11 -0500 Received: by mail-wm0-f52.google.com with SMTP id c206so149714185wme.0 for ; Fri, 27 Jan 2017 09:28:39 -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=8RUGt5sVgKUGCQrOJJgWbHeJqtBP+VzRCcYAYFcSe0Y=; b=SlX56UHhURTZoDjh/POApMfd19T0T4jUTQ61rKUs03op9PC1WWEWawgiUUNPevW65/ QxDNyc5zkG8SOaGlYl/WeI9GuqYfhM6Ny+EeTsQfp5jvGV3cPyF7FS80rYntXzuNC47c OR/kHUYcqe1gZCd8N8EYPmGA9Au0hyOvj25PU= 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=8RUGt5sVgKUGCQrOJJgWbHeJqtBP+VzRCcYAYFcSe0Y=; b=YDhSyDxEmfBJPt9sXU4T4DDQi4HsMD5sfgEjKxLY0y8FpP3+gb3lO5U3xuQOH8BwN8 JwyEtIgt1mu7z5hP0DIi4KR2CEbYsHzcnJE+60mwgWzQQBd4Dwj1M2H2l7Yx4CGIEP/n fbUtQiJNsP6etcxlbM06r+m4+JsPRfxdbTbmlPwU0hvziD+BXtpvb5zwXnxwjSdybvHT 9MN+xdjlYKrSjgMn8uAV8iQyjp0y+9+MEUthesJvErP27chKwkTUF5qGGTtGQIbZfPyI LxQEiREnTuy8dLvEjwsAktmCO8ExIkgoGRjnqKEJsDnX3jjlbj+nz0Wvj/m5osOl2sCs qyTA== X-Gm-Message-State: AIkVDXJCuZMjLWFq/fhVTQChAmNz0kHcjJiani/yfyoIzF8EV+mgze0m5J//aSnAMSdc7wlf X-Received: by 10.223.160.246 with SMTP id n51mr8226900wrn.158.1485538113688; Fri, 27 Jan 2017 09:28:33 -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.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jan 2017 09:28:33 -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 08/10] ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control Date: Fri, 27 Jan 2017 17:28:02 +0000 Message-Id: <20170127172804.23881-9-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: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Each serial port which supports HW flow-control should have 2 Pinctrl groups. Once for when HW flow-control is in progress, where the IP will take over controlling the lines and another group which enables the lines to be toggled using GPIO mechanisms. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-serial" 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/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi index daab16b..fbb7f86 100644 --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi @@ -465,8 +465,16 @@ serial0 { pinctrl_serial0: serial0-0 { st,pins { - tx = <&pio17 0 ALT1 OUT>; - rx = <&pio17 1 ALT1 IN>; + tx = <&pio17 0 ALT1 OUT>; + rx = <&pio17 1 ALT1 IN>; + }; + }; + pinctrl_serial0_flowctrl: serial0-0_flowctrl { + st,pins { + tx = <&pio17 0 ALT1 OUT>; + rx = <&pio17 1 ALT1 IN>; + cts = <&pio17 2 ALT1 IN>; + rts = <&pio17 3 ALT1 OUT>; }; }; };