From patchwork Mon Apr 12 06:24:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Primoz Fiser X-Patchwork-Id: 12196895 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 4E43AC433ED for ; Mon, 12 Apr 2021 06:26:53 +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 D90BB600CD for ; Mon, 12 Apr 2021 06:26:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D90BB600CD 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:References:In-Reply-To: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:List-Owner; bh=4ltLEtquSzrdrjP9uX+tyIuCjjP4RYpqPc05A59Vl3w=; b=bz6+GIPge3QK+2juLi0L892LL 28SwxSIgoybvcTdqBt9PiGVdKO2VqlzfjYhnh7eEfqCq4sqTw1o8QokSdkK1peGUfCtIEzhaxbB3m ChSv38wa0Prp6c3HCpwTfMA6A74/xEjupBmho3U6g5XUaQ35xgjfLXGnMKjofMSWVhUm0jJraN14m tUOq8WLPJyEPedh5devF5nDQEiCvF87MkJfIDHKOpw3ZX0WfvBbF09uyOafIpscJDAyMkuZFU0PGZ f+pBPFNm+0tdm5Bd0d1d1AwC3vVJL/9yF+FwYbcrbiSJ5Gmf4FvM10IiGVaO2ivxMD5F08FWiDe8w VgUPOoy7A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lVq0m-005neV-B6; Mon, 12 Apr 2021 06:25:30 +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-005nbu-UB 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:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=mO+22My/KZ+sO11KQeqXh3U98CwWZ/+qWW87gDzziJM=; b=Iem1cNsAgapfUduOHeCxixdKoa 1j5GcX9kR4nEELqikeDz7D36GcuAheoCBlU790TaNSi3a7Yooola9IMyzV7Wr/oscMDLSBs4jhwSb NHRmhUCnblh8gxjRLlNhppxz/bmfnp+XWznZTWkE+GgAbZCpv4ZxgxD8YZ0mZoFM+9gmNRj4lo/Wu iM0WFPSbtFPxiITyl0AKQbmWOaUSvxn8RRuGPHa/xHEwqrD83Yjqd66P9jAoC+eJxfcSaX4d04bf9 kpWjMKYBjkXYq4O5XLIyFffIIFOJKpJIYGXwcEzT4zAy++wJZKE5cGOMkhKMvBm7d6Lgs1Zconid9 3n3r0jEg==; Received: from cpanel.siel.si ([46.19.9.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lVq0R-005tvY-Cy 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:References:In-Reply-To: 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:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mO+22My/KZ+sO11KQeqXh3U98CwWZ/+qWW87gDzziJM=; b=YTTpOr8G3Qi/HthoQiQqnX+OCI s+sB52V8+fZG9d3ERBIe/P4kXs+hfbgiGBpQoidjbMSQzowPTr5B+Hj7OTs/lgvNfemNlApzw+Vvs EfhKkhzEfEbLn+b0KPFMP4u2DU/UeMtKOd81SwOPOrf93gS5h4+8AVtwF8LRmMKNNJv0k+5Zxgmi2 uO2dLlWaNLL0h4hcvd5su4thyu5J1JAhdtHSODKxA25euzjT3Rt9EF+lutxXN7FUX/vGJZL/P1VDw DbE2ndESwl8i1WW9e0fG9ThQIecnrg9LKwX0z5PGDJxTKHZWJ3Usne3dBHgw/CIohN22GdXQjIumy mskGrahg==; 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 1lVq0F-00GDwe-ND; Mon, 12 Apr 2021 08:24:55 +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:50 +0200 Message-Id: <20210412062450.1430199-2-primoz.fiser@norik.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210412062450.1430199-1-primoz.fiser@norik.com> References: <20210412062450.1430199-1-primoz.fiser@norik.com> 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_232507_610908_874430C0 X-CRM114-Status: UNSURE ( 8.14 ) 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"; };