From patchwork Wed Feb 1 14:31:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 93040 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2443815qgi; Wed, 1 Feb 2017 06:32:48 -0800 (PST) X-Received: by 10.99.150.10 with SMTP id c10mr4027305pge.160.1485959567938; Wed, 01 Feb 2017 06:32:47 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 205si9343324pgc.109.2017.02.01.06.32.47; Wed, 01 Feb 2017 06:32:47 -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 S1751874AbdBAOcT (ORCPT + 7 others); Wed, 1 Feb 2017 09:32:19 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:38208 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751868AbdBAOcR (ORCPT ); Wed, 1 Feb 2017 09:32:17 -0500 Received: by mail-wm0-f43.google.com with SMTP id r141so41171054wmg.1 for ; Wed, 01 Feb 2017 06:32:12 -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=dSspGU4dezopvbtIYWj9ViX150SC5ihDtLhvs1BmA+U=; b=iT1ZhQnVzg+gTdWYjfK8um5i+wIK5fHr0Ks/IgSuPeIYG2/mCmA/FcHRyHekNZmdf1 WZM9ClyhIuzrkk+HBHitUfrsHxtEcnLE1SfgTpdPvZjSK3NpKNYezW/ShD/oNvWRkrZM ML7E8Ts3x6Kn9FUmZszzge3MAV/f+vJdkqAVc= 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=dSspGU4dezopvbtIYWj9ViX150SC5ihDtLhvs1BmA+U=; b=i1PQxI+Y1As3yj/4whQAK3LImnC++HYLdzfGCh6GmIdPUuO9drkip9VdCLTOSWHNQm +e8o5HRYEv9UbAoCFh/O53lsRdCbjP5GyMeeqHQ6N1QN9b+U/kcpsabYRDvCnV+zGr9S Z9BycBs+4igLd92oKwNvYyucCIZhQ4sRBOqpg2krm6eMPSgjTlpsbTdLMXYiad+rhz+D +lG84xJM94wr5okv31Jr+9yY61PP5dk8nlBalS+hynPntaN3p4tkdJlBo52bGz2gpXih S5Wjpr8n0ukAkz0XeukoRzevAJKV4cUS+am2OGM7IdnizJgZDSVFq9/m82kTUHc+YPCB 4BQw== X-Gm-Message-State: AIkVDXLp04/UUaG3LL3Q1V0I+zFBONEMTHzttylqmWz/8QLreQ51pBaMREeHyPkgxVJqqlsq X-Received: by 10.223.167.66 with SMTP id e2mr2878023wrd.48.1485959521217; Wed, 01 Feb 2017 06:32:01 -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.32.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Feb 2017 06:32:00 -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: Wed, 1 Feb 2017 14:31:43 +0000 Message-Id: <20170201143145.31962-9-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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Each serial port which supports HW flow-control should have 2 Pinctrl groups. One 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. Acked-by: Peter Griffin 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 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/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi index daab16b..bd1a82e 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_hw_flowctrl: serial0-0_hw_flowctrl { + st,pins { + tx = <&pio17 0 ALT1 OUT>; + rx = <&pio17 1 ALT1 IN>; + cts = <&pio17 2 ALT1 IN>; + rts = <&pio17 3 ALT1 OUT>; }; }; };