From patchwork Fri Jan 27 17:28:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 92703 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp341440qgi; Fri, 27 Jan 2017 09:29:18 -0800 (PST) X-Received: by 10.98.91.131 with SMTP id p125mr10366788pfb.165.1485538158034; Fri, 27 Jan 2017 09:29:18 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v11si4935625plg.281.2017.01.27.09.29.17; Fri, 27 Jan 2017 09:29:18 -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 S933991AbdA0R2r (ORCPT + 2 others); Fri, 27 Jan 2017 12:28:47 -0500 Received: from mail-wm0-f45.google.com ([74.125.82.45]:36902 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933972AbdA0R2l (ORCPT ); Fri, 27 Jan 2017 12:28:41 -0500 Received: by mail-wm0-f45.google.com with SMTP id c206so149715539wme.0 for ; Fri, 27 Jan 2017 09:28: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=p3iqFSt9RTkH5rNTtjh+p5yGeibJd/dE/k57tEjCHIs=; b=dVwucHX3IsgjEkciKzQMru+Tj2C9aNQjpdlBUFbeqGOSBzv4nnMLurHCcaw9XNCu9G ST2c13cFTeREQNSqudIn7OnzZZ58kaDOcnGuqrms0SngfspuliTDeFqFyAz8WBDqN0Cg 2CSSpxFCjx9dHInsqXSxLkizLiv/TQCgrIKrc= 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=p3iqFSt9RTkH5rNTtjh+p5yGeibJd/dE/k57tEjCHIs=; b=qa1M5ccf2oq+PtxdWq7BRUBwvK7kFEsrOucWwZH1caX4tjIaCjtWdXGvumpXclkMdb /Xl7sJaF0yGs+frYWrsXxKKBiEHs0Ut2rNT0i/FPmhQ3JhB6VCd32Na508Vms+7c7xXr O57pw1NV9BMnyRQ8BH0rWuef53rVWpyjATLZJiaJfiuyq8XFsi9OzgKgCsDrhQUxUClu zlS3rtgvM8vpWemVNtZlAOjDdDydu8CzJWam6tQCHXkEhHpZiMXN/IN1HpaZHQzZjJBh iv9wzklPgZ5jAdwc9TuhEfjVLDoZBYlZExIy6Ekpw+s7BwaYixcfgKpQ4Rv0eK1Gfbai OJdQ== X-Gm-Message-State: AIkVDXKXqbqCsE/2Bt/+ObhUCVBrLzIY/qccXxaQVobm29LiPdY1z+e5qnhNoKE2K3AebE9R X-Received: by 10.223.178.146 with SMTP id g18mr8596265wrd.124.1485538115575; Fri, 27 Jan 2017 09:28:35 -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.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jan 2017 09:28:35 -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 09/10] ARM: dts: STiH407-family: Use new Pinctrl groups Date: Fri, 27 Jan 2017 17:28:03 +0000 Message-Id: <20170127172804.23881-10-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 Having just defined some new Pinctrl groups for when when HW flow- control is {en,dis}abled, let's reference them for use within the driver. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 3 +-- arch/arm/boot/dts/stih410-b2260.dts | 5 ++++- 2 files changed, 5 insertions(+), 3 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-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index c8b2944..e480e32 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -222,9 +222,8 @@ compatible = "st,asc"; reg = <0x9830000 0x2c>; interrupts = ; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_serial0>; clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>; + /* Pinctrl moved out to a per-board configuration */ status = "disabled"; }; diff --git a/arch/arm/boot/dts/stih410-b2260.dts b/arch/arm/boot/dts/stih410-b2260.dts index fa16aba..8deecf6 100644 --- a/arch/arm/boot/dts/stih410-b2260.dts +++ b/arch/arm/boot/dts/stih410-b2260.dts @@ -62,8 +62,11 @@ /* Low speed expansion connector */ uart0: serial@9830000 { label = "LS-UART0"; - status = "okay"; + pinctrl-names = "default", "manual-rts"; + pinctrl-0 = <&pinctrl_serial0_flowctrl>; + pinctrl-1 = <&pinctrl_serial0>; rts-gpios = <&pio17 3 GPIO_ACTIVE_LOW>; + status = "okay"; }; /* Low speed expansion connector */