From patchwork Fri Feb 3 10:23:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 93161 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp525096qgi; Fri, 3 Feb 2017 02:23:41 -0800 (PST) X-Received: by 10.98.61.207 with SMTP id x76mr16831013pfj.152.1486117421580; Fri, 03 Feb 2017 02:23:41 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r39si25101876pld.320.2017.02.03.02.23.41; Fri, 03 Feb 2017 02:23:41 -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 S1753188AbdBCKXg (ORCPT + 7 others); Fri, 3 Feb 2017 05:23:36 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:34989 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753189AbdBCKXd (ORCPT ); Fri, 3 Feb 2017 05:23:33 -0500 Received: by mail-wm0-f51.google.com with SMTP id b65so21489174wmf.0 for ; Fri, 03 Feb 2017 02:23:32 -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=OgIQacMj0E9Mkxvvu+lC6MPVgiOrp4060rGP0fDhKW01tICaoTPA0kRs6FNd/TvZlU 7Z9osQl4+4XkS5g/xiEGqCqITzrRxdIlA9HIpea/8U9fn5qWi+IpeTkJ8pV4NKs4eoge b3g+hFDMn/Ds2a9MoCd7aBwHvDHVK2CTMwMH8= 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=Z3rh3uTi08Ahxymlnsban9sEQHSFG04tpm42ftwc0CYDXO66UDf47AAhqmw8nlJlsf W/A+GaXXHslTYJl4XjhO1co/4vyZ5VgU+b8zS1McDE9Ycld5neYqvERfUUdkOB41a+hj P8r4JwZ+jNZIeMeyOXgj2j0nkhSbV2/ea19/0yJ4FtLsSRmQWpHczFXFemzVYAMTk5N5 3REExdehsmV5G1fZubRv4b9uUk0LontmJoNn9hwTcQluy0Ji4n6GD209KSl369JRZIbS KRo7zDf9xnTTXpXH93rOryBEh3Smi5ko+6MlGwH/Thpbp9+accncbwiE6UEvjKh9crFb zV5Q== X-Gm-Message-State: AIkVDXJhJVUBI/uWl7lXPh6Avcws+nCKfVtRQ6LPeG5gPR6Lw4gPl/qjI5yVop5rqLPHCHXm X-Received: by 10.223.152.18 with SMTP id v18mr11547087wrb.78.1486117412061; Fri, 03 Feb 2017 02:23:32 -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.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Feb 2017 02:23:31 -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 08/10] ARM: dts: STiH407-pinctrl: Add Pinctrl group for HW flow-control Date: Fri, 3 Feb 2017 10:23:17 +0000 Message-Id: <20170203102319.23489-9-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: 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>; }; }; };