Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3466374pxp; Tue, 8 Mar 2022 15:12:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzuvs9KHg0SxhAweaNFANHlIDmKHmFEwkW/E16h38wyzS/LZEhrXopNUBgoZBUSrzc/5dou X-Received: by 2002:a63:1760:0:b0:374:6621:9236 with SMTP id 32-20020a631760000000b0037466219236mr16269765pgx.7.1646781132312; Tue, 08 Mar 2022 15:12:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646781132; cv=none; d=google.com; s=arc-20160816; b=f+nS61IFYPZifgx/m1sTDMuzodQ4OvSEXYt+b3KcHUGmoT7eDnFMTGvU2/omOQAJBQ 0iCRh6/Lih9tkx/Gsx043an76S6RRVsYT//JAK/pAVX3F5/QXjo92juIctHm8Pn64uxM wq8NAY+ftqS87Q8VFemSGaXle31zbHXHpKUuBE2uLsEGz8+hj+dko9xFt8MbrB9rzQiv t5Vwu3aIiH3+C/dgs3givTp1aj9QH0rTA+4vxrcf2gPekone8I/tCnKrLKH1n3/KOoqI lcO4dMUNNfjMUgeg8D1gCqceCBYYRQBSWYsikDJkFeJ/71zXghAmxtOoymW8q74QU3T0 HpRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ccrtA+meL0n7YFLj+fM9U9VQ5C8Qee1t95iOKHKbQJo=; b=QzN12BsO5OokkT+vp8KonGNg4WFGznWXCVnPJDGPg6H7VELwrXcKTVBKXdqtJTdl3I r7dSrolycZFEYFbiPuzcS1nZE6dEAA7IFM534sWZpe59acyUHVfUaoSXF4Mx4nYyhaiN F5M4lcKzGpEP+7HGXD6FOmA2X+PDBJghQ2TNpbLL9WbUzqnHwuIrxN6Oq8zYdP/IyVsW DPX6gxalLw9hPGbUxqelNwXAvf+x4lt2HB9aT95UHw4Hlgb3Yp8W1kuKevR2NXImFjJU Y/aBbcYZS2pFz8JADTzUmdDs9Owf5q6GvmynuohD/d3w3ztCBX8uJVjf459woSWtXxds +jZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b="VcKiQ/n5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i18-20020a631312000000b0037888936273si172687pgl.812.2022.03.08.15.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 15:12:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b="VcKiQ/n5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B211F6AA7E; Tue, 8 Mar 2022 15:08:36 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240914AbiCGLjm (ORCPT + 99 others); Mon, 7 Mar 2022 06:39:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240630AbiCGLjl (ORCPT ); Mon, 7 Mar 2022 06:39:41 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 903D022B29; Mon, 7 Mar 2022 03:38:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646653127; x=1678189127; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=PNhoQUuxv6ZTZ8pXldFPdRP+qDfnktJ77T039WzFaeE=; b=VcKiQ/n5hBM4lNRLFTFAE7iIAA/Z+/nG6E5z/0Ev64YqGnK8klJXnpLA WuTgXkEwIYRvETIF4A+oiMV25FvLbJ65S6nR1wVowWjN3M6/Vf3qmx2hQ 3F6qcQIoFUBgZtFlCIrsskBdn/tZ1ZzUwgWimelIS0EqbSQQ9g1EhIyEJ s7j2jvR2347i+YQVu4q5E2PNv4Zmpb5hAXbsPupyGmxr2pQ6tiBw5X3dz Zwz+EtY3+98hY53l/ACROvgvEQ4JzwY5tH9WR4DgQDUVMoWa0JoHAlP5S 7rhLWE+RINQiPgGI08NmMToiB9Y1PndlfFLeF8oq+HGoBRfe50cZsH9Ap g==; X-IronPort-AV: E=Sophos;i="5.90,162,1643698800"; d="scan'208";a="164763027" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 07 Mar 2022 04:38:46 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Mon, 7 Mar 2022 04:38:46 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Mon, 7 Mar 2022 04:38:42 -0700 From: Eugen Hristev To: CC: , , , , , , Eugen Hristev Subject: [PATCH] ARM: dts: at91: sama7g5ek: enable pull-up on flexcom3 console lines Date: Mon, 7 Mar 2022 13:38:27 +0200 Message-ID: <20220307113827.2419331-1-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Flexcom3 is used as board console serial. There are no pull-ups on these lines on the board. This means that if a cable is not connected (that has pull-ups included), stray characters could appear on the console as the floating pins voltage levels are interpreted as incoming characters. To avoid this problem, enable the internal pull-ups on these lines. Signed-off-by: Eugen Hristev --- arch/arm/boot/dts/at91-sama7g5ek.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91-sama7g5ek.dts b/arch/arm/boot/dts/at91-sama7g5ek.dts index 08685a10eda1d..dd047a8523907 100644 --- a/arch/arm/boot/dts/at91-sama7g5ek.dts +++ b/arch/arm/boot/dts/at91-sama7g5ek.dts @@ -495,7 +495,7 @@ pinctrl_flx0_default: flx0_default { pinctrl_flx3_default: flx3_default { pinmux = , ; - bias-disable; + bias-pull-up; }; pinctrl_flx4_default: flx4_default { -- 2.25.1