Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3973527pxu; Mon, 12 Oct 2020 06:23:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeI76UsnTyFeDvbeFGtt9058Rct9ZsZ4WNCEnXkhCMHTNBMfnO8GC3TiMzkZ4pI1RMUBLC X-Received: by 2002:a17:906:2f97:: with SMTP id w23mr29568407eji.54.1602508994470; Mon, 12 Oct 2020 06:23:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602508994; cv=none; d=google.com; s=arc-20160816; b=HOPFvKOYYgS4QtI0RN3gS2wmYPAjZ/1AtibKkQM6WhQvyiXIlp6FVpnszg1NYPNYk6 KRlKBQDZfX5QHrl0zOMHDr41xgaecNb5hWDS/PGYMIZ+VvaSqCkF+qv3CQ+lRtYDgC3O A7fjgmvTX1/oz3u8+Igdi4ojK0Eh+ono7M5xtT6r7DmYh19EbjSnBiLaoK0k/+Fn9t6C 10AidK7xGTIQ96ut1WQKKjBE4sP4a7ghTSRkmLuKk7vpcoZ7YixV3yQb+bBVlnPI+SXB 7eLX0SZouibkpxLCQn8fHOcqsVqsUuMNuzoO94DSe2rARkOQ3VgH/JB5zXa19Oymke3L YCVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=6TtSnDuj7ydkPX0oCww/8i8rDUfN1lhs71N0uNFFuqI=; b=Z0jISONuG7BZ8q9hPSDKwz7jii+pHrSd9Youxbi0fhcr42999e7Zn2+DKmSfcd8hci INmSbmQVLv7LouQPTTcxvAPAeUpnwfwJ7rRVH4ttr9NqfwDHmHSmMQb2Vkn098Kt5oPL deTNHsshkRtRUBHSd2AzTo2xm9MfXgiPqRURYwll98ve40lQcRhIGKqTK0qzG3FJG7bI Ws5/XfvI6Zi1MnefUmAxrldv9dugfhlCi55lV+GwEWTVsW6/ACg5vXlRNvWM5AMKPW4M Jy7393J4mnaWce7/eWcLkkSBwqEKZ+AfTzdglirSyq7NaFyBpU6/Jj4TMAYLpd6yjs0G AJwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x13si8735105edq.569.2020.10.12.06.22.51; Mon, 12 Oct 2020 06:23:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729854AbgJLMsz (ORCPT + 99 others); Mon, 12 Oct 2020 08:48:55 -0400 Received: from inva021.nxp.com ([92.121.34.21]:42200 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729704AbgJLMsy (ORCPT ); Mon, 12 Oct 2020 08:48:54 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9787520010A; Mon, 12 Oct 2020 14:48:51 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 647B8200DC9; Mon, 12 Oct 2020 14:48:44 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 5A6B2402BC; Mon, 12 Oct 2020 14:48:35 +0200 (CEST) From: Anson Huang To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, krzk@kernel.org, aford173@gmail.com, daniel.baluta@nxp.com, shengjiu.wang@nxp.com, peter.chen@nxp.com, alifer.wsdm@gmail.com, abel.vesa@nxp.com, yibin.gong@nxp.com, jun.li@nxp.com, l.stach@pengutronix.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH V2 2/3] arm64: dts: imx8mn: Correct WDOG_B pin configuration Date: Mon, 12 Oct 2020 20:44:01 +0800 Message-Id: <1602506642-5262-2-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1602506642-5262-1-git-send-email-Anson.Huang@nxp.com> References: <1602506642-5262-1-git-send-email-Anson.Huang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Different revision of i.MX8MN EVK boards may have different external pull up registor design, some are enabled while some are NOT, to make sure the WDOG_B pin works properly, better to enable internal pull up resistor. Since enabling internal pull up resistor is NOT harmful and having benefit of flexibility on different board design, just enable it for all i.MX8MN boards; And schmitt input is NOT necessary for this WDOG_B output pin, so remove it; Open drain outputs provide more flexibility to a designer as they can be pulled-up to any voltage found in the system, so enable it as well. Signed-off-by: Anson Huang --- Changes since V1: - Provide more explanation of removing schmitt input and enabling open drain in commit msg. --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 2 +- arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 4aa0dbd..fda8905 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -340,7 +340,7 @@ pinctrl_wdog: wdoggrp { fsl,pins = < - MX8MN_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6 + MX8MN_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x166 >; }; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi index a2d0190..dde01da 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi @@ -545,7 +545,7 @@ pinctrl_wdog: wdoggrp { fsl,pins = < - MX8MN_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0xc6 + MX8MN_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B 0x166 >; }; }; -- 2.7.4