From patchwork Tue Aug 9 19:18:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 9272093 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 297536075A for ; Tue, 9 Aug 2016 19:15:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09E5528384 for ; Tue, 9 Aug 2016 19:15:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EEBDE283E2; Tue, 9 Aug 2016 19:15:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 60C6C28384 for ; Tue, 9 Aug 2016 19:15:30 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bXCTS-0006LQ-Nk; Tue, 09 Aug 2016 19:14:02 +0000 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bXCTL-0006Jk-QI for linux-arm-kernel@lists.infradead.org; Tue, 09 Aug 2016 19:13:58 +0000 Received: by mail-pa0-x235.google.com with SMTP id iw10so7916588pac.2 for ; Tue, 09 Aug 2016 12:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1s0VZIbRthpRwKvbOTdGY0IKLKYYArc7MSM0XFKX99I=; b=Q4Mk/j6ddMLqD1MYBeD22PwVtW8RfrYUsWUjR+oaV3OZf0yJAd3r6rufzU+ltd3UOt FpMfNSgn75aSk0EFBxKw3P5VI6nxOfTlZC1ueBVApc8IunqJlPhabNRE/UtLDuFLf1d+ 5tNpBs5eInSvUR/PHv9pj1pM2S1J0rib7ticC1etHG1k7YcaQugH3wcvOwIHH2YXDBo4 RKYQQsHhLP8wrxe2GV+pZiyoXmSl5aACc2isRZ1Z8hdgRxUkXrEZxuYhIu9HiDzD6fbb XudBnKC2Q20udDs+asOqDUveNMXObwf4LtFNsHiG+3n49CFroEnMGZMQZzWpmxNKrlRG va7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1s0VZIbRthpRwKvbOTdGY0IKLKYYArc7MSM0XFKX99I=; b=gIgbuasryadj4AhR4OCgvKeSGMkoqZ+ApS4LU9w/YIrdgM+902fK/xqwc1ioQ9MHSQ vaXCpi0wjtkS71VG49yoaPcAPMx9ZPWK/KRtzuZLSh8mJAcaNF0IN1Peq+69CV9tm0kb 0eplGD3cMEycXiDS+p3VEnhJ5+TEqSUkeH/BvRqFnB7zlRJC0KfdG7PdI4180ub6Ufty u6T8QYQH/zGpVqfXaf/xQocHCpBBBGR9TAeim1F0pKvvxdNQQjJKDJcbwYfGm5ZWOpTG VezObrXxwQmZ0SmN3+iwiOrjcjozDQSy6M5DLyV+S1MDCF7Eyi7sKPpQ5DNciovEZVB1 PE2A== X-Gm-Message-State: AEkooutllp9mPIN/oS9EO5jmv066S3JUW0fNE13LUhCyPGz2z5YpdS9xi6WgBjqBZcQRWw== X-Received: by 10.66.90.34 with SMTP id bt2mr173199865pab.139.1470770014392; Tue, 09 Aug 2016 12:13:34 -0700 (PDT) Received: from tharvey.pdc.gateworks.com (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by smtp.gmail.com with ESMTPSA id g24sm57858021pfk.56.2016.08.09.12.13.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Aug 2016 12:13:33 -0700 (PDT) From: Tim Harvey To: shawnguo@kernel.org Subject: [PATCH v2] ARM: dts: imx: ventana: add RS485 txen gpio support Date: Tue, 9 Aug 2016 12:18:49 -0700 Message-Id: <1470770329-25395-1-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1467207504-5218-1-git-send-email-tharvey@gateworks.com> References: <1467207504-5218-1-git-send-email-tharvey@gateworks.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160809_121358_020984_C7B52D0D X-CRM114-Status: GOOD ( 10.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Tim Harvey --- v2: - replace remove vendor specific property with generic property - replace rts-gpio with rts-gpios to match devicetree binding documentation (although both suffixes are supported) Signed-off-by: Tim Harvey --- arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 3 +++ arch/arm/boot/dts/imx6qdl-gw53xx.dtsi | 3 +++ arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 3 +++ 3 files changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi index 208e3c2..a7100f9 100644 --- a/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw52xx.dtsi @@ -315,6 +315,8 @@ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; + uart-has-rtscts; + rts-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; status = "okay"; }; @@ -493,6 +495,7 @@ fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1 + MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x4001b0b1 /* TEN */ >; }; diff --git a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi index 35b9e80..8953eba 100644 --- a/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw53xx.dtsi @@ -312,6 +312,8 @@ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; + uart-has-rtscts; + rts-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; status = "okay"; }; @@ -482,6 +484,7 @@ fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1 + MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x4001b0b1 /* TEN */ >; }; diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi index 5f8f1ea..6ac41c7 100644 --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi @@ -414,6 +414,8 @@ &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; + uart-has-rtscts; + rts-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; status = "okay"; }; @@ -603,6 +605,7 @@ fsl,pins = < MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1 + MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0x4001b0b1 /* TEN */ >; };