From patchwork Mon Apr 12 06:24:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Primoz Fiser X-Patchwork-Id: 12196897 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FF3DC433ED for ; Mon, 12 Apr 2021 06:27:23 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EDCA7600CD for ; Mon, 12 Apr 2021 06:27:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EDCA7600CD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=4ltLEtquSzrdrjP9uX+tyIuCjjP4RYpqPc05A59Vl3w=; b=OXjz2PHJVpeGikJyRN1dxuphb/ Vs6hEsZoW7Pr29dn9O6zdItFekhro5wubcxRs6n8k4H+FbQlofM+ol72Lvukg6zxGBUnHIaomX47O sJXoI3jqf4NSp6+5rpXca5qpjFXldLsPEtokaIBHmKU48rfUtEs7vYloIT6f8a2uEKk5egSIiEgog klqDAyECgwfJLIZjeE6kE5x6d95hKRBmiQZOIv0gDvGRZTZQzw9akfXBMSdYP2nCSh6hANH9736DN 8lxBYza0YRlp4K/kOSxO/go/5PiHIbshF6TVruO5K0UseWnI3wdzkn6YKxM/i5BJxTBK1ClgtrHIZ Tl27ovwQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lVq0Y-005ncy-PK; Mon, 12 Apr 2021 06:25:14 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lVq0T-005nbr-N0 for linux-arm-kernel@desiato.infradead.org; Mon, 12 Apr 2021 06:25:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=mO+22My/KZ+sO11KQeqXh3U98CwWZ/+qWW87gDzziJM=; b=lRXdnCBKHE8v5rLFvi/nxfVKI8 y1UX1U3dBVBx09ixk/1nDZ995lGIcS+ZGouiDKfOdrPxIRs1uue8pF6E930REe2ip2K4TuiDCcyWT IWqMDzj+8OKmQe+fZA1MReAGld02FlF8XzAoSFjBzMpfzPOtfgxm2Pd5L89USmFrkw19p758hNLcu CPZokQDOCXZGjOnbHebff4pFap0VDVP518xjyPTfbQc6Aa0ABoHy66yHIQK5O3wLCtqQY08SFO8hI ZSQpzpzjGLYUww/PtO/RjRIlro9zxgOCCXX265vDLy9zLnMHor2JnaBL/ei9aDzdOk4nU6OOJDQ/D ILxDFA6g==; Received: from cpanel.siel.si ([46.19.9.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lVq0Q-005tvG-NE for linux-arm-kernel@lists.infradead.org; Mon, 12 Apr 2021 06:25:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mO+22My/KZ+sO11KQeqXh3U98CwWZ/+qWW87gDzziJM=; b=nO+HHQBA/Sf3eyEGDf1ctEkTmd K9pyXgK+hOy4NE6TRVV7SbsmxnlGziJCdLABNiyDCLuG7TM9MdeJAxJNfvjK+/5TVOU8pJJNgnKZj z3/UBy83eYIqbtIM2mTYcOA8I/xM5e/H5tRpgw4HBqjF7Wlnw4HyozWvGV1iX/u4jxXipx5PeUlbA LZTqHb/mdG9zdjWaKLLhL89uauyPTixr9954uTZ6N+SQCAi5hW72WH8wQpwELFr+x/gvbu9d6tv+s 3lK70li57/E14bbOTrakgA0aRrIXRKyK+90rmnMipRvlMkpI0TZRTPIblpwlF1phNQgX04/Vvac7Y TJjuX90g==; Received: from [89.212.21.243] (port=47212 helo=localhost.localdomain) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1lVq08-00GDwe-DM; Mon, 12 Apr 2021 08:24:48 +0200 From: Primoz Fiser To: Rob Herring , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Primoz Fiser Subject: [PATCH] ARM: dts: imx6: phyFLEX: Fix UART hardware flow control Date: Mon, 12 Apr 2021 08:24:49 +0200 Message-Id: <20210412062450.1430199-1-primoz.fiser@norik.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: primoz.fiser@norik.com X-Authenticated-Sender: cpanel.siel.si: primoz.fiser@norik.com X-Source: X-Source-Args: X-Source-Dir: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210411_232506_949309_4A292FF5 X-CRM114-Status: UNSURE ( 7.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Serial interface uart3 on phyFLEX board is capable of 5-wire connection including signals RTS and CTS for hardware flow control. Fix signals UART3_CTS_B and UART3_RTS_B padmux assignments and add missing property "uart-has-rtscts" to allow serial interface to be configured and used with the hardware flow control. Signed-off-by: Primoz Fiser --- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi index f28a96fcf23e..3f262e8ebf7f 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi @@ -316,8 +316,8 @@ pinctrl_uart3: uart3grp { fsl,pins = < MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 - MX6QDL_PAD_EIM_D30__UART3_RTS_B 0x1b0b1 - MX6QDL_PAD_EIM_D31__UART3_CTS_B 0x1b0b1 + MX6QDL_PAD_EIM_D31__UART3_RTS_B 0x1b0b1 + MX6QDL_PAD_EIM_D30__UART3_CTS_B 0x1b0b1 >; }; @@ -404,6 +404,7 @@ ®_soc { &uart3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart3>; + uart-has-rtscts; status = "disabled"; };