From patchwork Tue Jan 24 13:43:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 92352 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1717736qgi; Tue, 24 Jan 2017 05:41:48 -0800 (PST) X-Received: by 10.98.99.197 with SMTP id x188mr38406263pfb.179.1485265308859; Tue, 24 Jan 2017 05:41:48 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g14si19180878pgp.183.2017.01.24.05.41.48; Tue, 24 Jan 2017 05:41:48 -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 S1751159AbdAXNlo (ORCPT + 25 others); Tue, 24 Jan 2017 08:41:44 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:36585 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751110AbdAXNlm (ORCPT ); Tue, 24 Jan 2017 08:41:42 -0500 Received: by mail-wm0-f41.google.com with SMTP id c85so182151580wmi.1 for ; Tue, 24 Jan 2017 05:41:41 -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=0iJqkfkjgx6WmlisuauV0Tg1/MHMJihvRcNbJauQJbY=; b=A50kX0ren5qUr4oOI4sim6oA9F7NwqZ5Utgn0FdM3tl/A9C2acjhUs657RtJE6fnJF 01xCJuH8ik70W28XpRWTtS+W+xGTLJ9Zt4cg4C/W8lGVo6NpY4QzfvT7/QdXFHyWnO3Q /hv1bSMSeaPH9Qsbr+A7Cb54R2LUmPE8Mt9Gg= 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=0iJqkfkjgx6WmlisuauV0Tg1/MHMJihvRcNbJauQJbY=; b=EJ/UKt07ozd3UY24Jm1hiLQbnZw9BGwMSmKc4ME/usfd8xlTrvMryScju+Dma2RWjP ZCK/2Zyfz33P+EQR0AMXVbN65DCokgK9wUE6cTB6NB5yPRQm8nxfVlkyIDjJExzxvHlU oSj8N3F8scdfUMVFHNZuH4lROerM97hQlfbpm0KRIAJiu516FzulXGse4veh4c3uHjGS q7LNHCOAcsR+Y3vgnQT99nDR/1uH0jZFbAam59fi6hfW48FiFA3FeAww12vMOuyKgLjx eWjqk/CIdsD4UZRtXwZ0tqrKjqzGXuHF07RvRJLyNn4aD1xfucHd2ux9tWCJrtkLOAO/ 8cew== X-Gm-Message-State: AIkVDXIRegrTtkf1cs7vJE9PsYbAxi8SpXgOLU77krNCDEQvM6ezVuA9kQZJu4O8O1HznTcY X-Received: by 10.223.177.18 with SMTP id l18mr28489432wra.96.1485265281776; Tue, 24 Jan 2017 05:41:21 -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.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jan 2017 05:41:21 -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 6/8] ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control Date: Tue, 24 Jan 2017 13:43:08 +0000 Message-Id: <20170124134310.27512-7-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 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.10.2 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>; }; }; };