From patchwork Wed Feb 1 14:31:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 93039 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2443639qgi; Wed, 1 Feb 2017 06:32:24 -0800 (PST) X-Received: by 10.84.129.67 with SMTP id 61mr4894101plb.103.1485959544268; Wed, 01 Feb 2017 06:32:24 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m32si19326794pld.31.2017.02.01.06.32.23; Wed, 01 Feb 2017 06:32:24 -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 S1751903AbdBAOcV (ORCPT + 25 others); Wed, 1 Feb 2017 09:32:21 -0500 Received: from mail-wj0-f173.google.com ([209.85.210.173]:36863 "EHLO mail-wj0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751871AbdBAOcR (ORCPT ); Wed, 1 Feb 2017 09:32:17 -0500 Received: by mail-wj0-f173.google.com with SMTP id n2so20731456wjq.3 for ; Wed, 01 Feb 2017 06:32:17 -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=1LwRPLRmjUEteIiuuk8ks7kj3jKtk8y4GLn/PPIK384=; b=bad2NbJz8lpLtUzAswAlVkK4qGTafiz0vk1qqJRb+A2fv6F+zYL7f8VwmknSJyKUmH hEaZj+P2XmjAGrs+JagkaQavx9/GjMz2Sj2qQ6zzOi3nTBd5SGqIo9kiTkfET7DL5bFg XCToL5oD5JNbk7Avfm8GMZ8yOxrEeERdTk7pE= 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=1LwRPLRmjUEteIiuuk8ks7kj3jKtk8y4GLn/PPIK384=; b=jmwxEQDth4IvP3+vcgeG5kTPk7bXIaDNC7v98QbqPiAkQ6WweOPoo8Xsi0ERVoRLBD z/9D+pWCk1AdOSucFcyVQUd3fbrYks8XQ0o9jU9OXLZ3gE0S1rnCdPWLkXLNKeRyNCiK j9dtJ+7Lj2ACtHFnKAsrsyWWQr41HFy0T8cSR0XHOg2AiPVkNMEtcXW4LuQrTLrBvVez KPsKsso1etQZ6CWWXx6nZOrCZfxZAXmrJed+pjhMxRToIblK6legSSzZcPI9Q53sa251 1EXQ0N7d8vptZyJpIGneHGJ7R2Mzj6iBAVZFqhrtGxi/u5c/Zv8jqhPUmQHOWzZNxGJJ MgLA== X-Gm-Message-State: AIkVDXJi7/hl1t1MsaDKHcBI4qZ/IxZifKi20oo5z1iI+OZXIXr7B7rCJ7J9Ty23i0wiuU7L X-Received: by 10.223.168.87 with SMTP id l81mr3455796wrc.194.1485959522379; Wed, 01 Feb 2017 06:32:02 -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.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Feb 2017 06:32:01 -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: Wed, 1 Feb 2017 14:31:44 +0000 Message-Id: <20170201143145.31962-10-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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Having just defined some new Pinctrl groups for 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 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..cbcbcb4 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", "no-hw-flowctrl"; + pinctrl-0 = <&pinctrl_serial0_hw_flowctrl>; + pinctrl-1 = <&pinctrl_serial0>; rts-gpios = <&pio17 3 GPIO_ACTIVE_LOW>; + status = "okay"; }; /* Low speed expansion connector */