From patchwork Fri Feb 3 10:23:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 93162 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp525100qgi; Fri, 3 Feb 2017 02:23:42 -0800 (PST) X-Received: by 10.99.67.1 with SMTP id q1mr16996640pga.210.1486117421971; 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 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 S1753233AbdBCKXi (ORCPT + 25 others); Fri, 3 Feb 2017 05:23:38 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:36044 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753139AbdBCKXe (ORCPT ); Fri, 3 Feb 2017 05:23:34 -0500 Received: by mail-wm0-f44.google.com with SMTP id c85so21392102wmi.1 for ; Fri, 03 Feb 2017 02:23:33 -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=AgDZnHgipRtrCq8WojQoWmZIJsoxOLq5sVAn0TOcMBA=; b=VCewW6xV3bfAClmVoFJvsedCgL6/vEcOqzifWwD+n909wUvNjCKWiaW/5+X+eWGFL2 FqlcuWg5lGNZXgOEg/2vZIRyod2p2tMTxwnjSst+yYsnzaZ2NMoWl2qVlecF+L9jf7p0 zoeDSTfeqAnhdYktrwA4X/ZEq8EGkddmAT9GU= 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=AgDZnHgipRtrCq8WojQoWmZIJsoxOLq5sVAn0TOcMBA=; b=AGppc/GgEumUnlrYn84QhcOmyprtLNcKh69p/DJTtpTjG0ZaESO8l5YSFT21LYsftH h68pnc/AQXOVM2SQ5Rl2Kk73cA+au/hEX8IxPGlq90efIkPvvdznZPMIaBRBE0HBDW1I +VKTH81DT2yCG5yCIN2cwYMQLkvpPpAjMdRe5ztVqCsMAH0llPHemZ+sMgE+8vFRNrKW oR8Y3xVEMOz9Dd4ZCO716SYN/jqXiOsK3EEBxqwJkwlEUxPmp2nEzFzUY2B3btsfMD6p BhAqAvf0/D3arsWKJjUIZCyLWLt2pfvoFX0Toa14GLlnxoFH+4E+cLzW98Skx66G1q4G rfCg== X-Gm-Message-State: AIkVDXLpKcF5om1IboZcSSgOaiRROR0WWwXNuElYmKfGXJsrHiyTSGAKGLUcOHqC7EOpfkSb X-Received: by 10.223.135.244 with SMTP id c49mr11196418wrc.135.1486117413104; Fri, 03 Feb 2017 02:23:33 -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.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Feb 2017 02:23:32 -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 09/10] ARM: dts: STiH407-family: Use new Pinctrl groups Date: Fri, 3 Feb 2017 10:23:18 +0000 Message-Id: <20170203102319.23489-10-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: 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. Acked-by: Peter Griffin 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 */