Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1479809iob; Thu, 5 May 2022 02:10:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0pM8VcAICqA/XgfCpb40vhVB6KU89TDGvdnNgs29dTCT9p6KRJjKFaJprPwiyagQ+0N2S X-Received: by 2002:a17:903:22c1:b0:15e:bccf:1e8e with SMTP id y1-20020a17090322c100b0015ebccf1e8emr11300442plg.161.1651741846325; Thu, 05 May 2022 02:10:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651741846; cv=none; d=google.com; s=arc-20160816; b=A6SKc3DTjNBpNM9W0RxVZFQkpWU1ZJpSGbxUuPPkKjlWXUMLa2B45cdXAVzLOZIy6f 6BqNdsTnTvcjH/+4OKysXgqMljk83tAiiWcuaouEPjm3+K+yd6Pla3rBoopcM6BwiyVX /OLZR/Ke4S2GQs57h3ULEhHbxE0haGG7w7G1VfniqaNSZJUrtaubtGEDCahHx0YQo5tB HF70HmLXzj34wDV2g+S+bdwkv+WYYGXNDzemSdQFDyXv24rLFcIRerv51E5IdH3tuadD 7dXu0rf4W8jpXE3GyMSIxWVnJjoFzT8XnVDD0dZSGUy9Ho0kOPwjg4CFwap80J8i/l5D ocWA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=O9oVeXk47WkvNtsYPEE8W5dD5rZxZ3SZ905VOIoewIE=; b=UAuMf6A/Epqu1SHMjSJtx7yKbIzIMU4x8DD43cN1NtI57M7IW7CfHvS4cK+Hjc1nhY 4Xz26IcCJ2l9zWnnLvV+0K+2BcFvietGAOnRZKrIOOhus4z+GV/jjP3d0KdUCIPSyJjq KtAumM6lLKjuvyFskpWbnmefhHmC/eDdnXAG9MHW7OwPSCott53ARmbZM8RmoRDbje4l qvvHOYKV26owXRwfNFQaoSbAmo6xygqGpH6W20L9HNWBA50073/b8hZlcW6ubkYNbWOa gZqEDWg8C48Q62s4rmzOfwEoUw1YwKIQ5pFcK+3ovH4sOforkqwX5X59hDTV3/6JZKLM 2ZBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iHzR3+V3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q192-20020a632ac9000000b003c604c0e2fesi988349pgq.359.2022.05.05.02.10.30; Thu, 05 May 2022 02:10:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=iHzR3+V3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357178AbiEDR27 (ORCPT + 99 others); Wed, 4 May 2022 13:28:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356238AbiEDRJG (ORCPT ); Wed, 4 May 2022 13:09:06 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51CE652E7E; Wed, 4 May 2022 09:55:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E6222B827A4; Wed, 4 May 2022 16:54:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E781C385A4; Wed, 4 May 2022 16:54:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651683298; bh=+pd8bGsS0zR0hJwb5IFgrU+qEToXC0YbxDwkOVysbwI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iHzR3+V3C/b4u27j+Au1Qpb5ZvDzGpjESzcG9Fe3L+3FtojSiU7qkJNEFijdZzXaY wrFzGhIuXeKms3Fg/0LajAUiNWOYgunvcl5pLmOYyEayAAvvBADhIQX6AJnSq3MJtG zatTgB/6tUxBU1/6M9hTQVf4ACxwn1mb122NOjFE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Eugen Hristev , Tudor Ambarus , Nicolas Ferre Subject: [PATCH 5.15 152/177] ARM: dts: at91: sama7g5ek: enable pull-up on flexcom3 console lines Date: Wed, 4 May 2022 18:45:45 +0200 Message-Id: <20220504153106.964060853@linuxfoundation.org> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220504153053.873100034@linuxfoundation.org> References: <20220504153053.873100034@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Eugen Hristev commit 3f7ce6d7091765ed6c67c5d78aa364b9d17e3aab upstream. 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. Fixes: 7540629e2fc7 ("ARM: dts: at91: add sama7g5 SoC DT and sama7g5-ek") Cc: stable@vger.kernel.org # v5.15+ Signed-off-by: Eugen Hristev Reviewed-by: Tudor Ambarus Signed-off-by: Nicolas Ferre Link: https://lore.kernel.org/r/20220307113827.2419331-1-eugen.hristev@microchip.com Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/at91-sama7g5ek.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm/boot/dts/at91-sama7g5ek.dts +++ b/arch/arm/boot/dts/at91-sama7g5ek.dts @@ -403,7 +403,7 @@ pinctrl_flx3_default: flx3_default { pinmux = , ; - bias-disable; + bias-pull-up; }; pinctrl_flx4_default: flx4_default {