From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756475AbbIXPXD (ORCPT ); Thu, 24 Sep 2015 11:23:03 -0400 Received: from mail.lysator.liu.se ([130.236.254.3]:38878 "EHLO mail.lysator.liu.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752075AbbIXPXA (ORCPT ); Thu, 24 Sep 2015 11:23:00 -0400 Subject: Re: [PATCH] ARM: at91/dt: pullup dbgu rx instead of tx To: Alexandre Belloni References: <1443105855-15738-1-git-send-email-peda@lysator.liu.se> <20150924144753.GY4287@piout.net> Cc: linux-arm-kernel@lists.infradead.org, Peter Rosin , Nicolas Ferre , Jean-Christophe Plagniol-Villard , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org From: Peter Rosin Message-ID: <5604154E.6050404@lysator.liu.se> Date: Thu, 24 Sep 2015 17:22:54 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150924144753.GY4287@piout.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015-09-24 16:47, Alexandre Belloni wrote: > Hi Peter, > > Thanks for the patch but you actually got beaten by Sylvain: > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-September/368426.html Ok, great! I just noticed that other ports have the same problem in sama5d3.dtsi. E.g. uart1 { pinctrl_uart1: uart1-0 { atmel,pins = ; /* conflicts with TWCK0, ISI_HSYNC */ }; }; Given that the original bug I found spread all over the map, it seems like someone was confused when the pull-ups were originally added. Someone (else?) at Atmel needs to audit this so that pull-ups are added on the rx-pins instead of the tx-pins. Cheers, Peter > On 24/09/2015 at 16:44:15 +0200, Peter Rosin wrote : >> From: Peter Rosin >> >> It seems pointless to pullup the tx line, but there is value in pulling >> up the rx line. >> >> Cc: stable@vger.kernel.org >> Signed-off-by: Peter Rosin >> --- >> arch/arm/boot/dts/sama5d3.dtsi | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi >> index 9e2444b07bce..304a40c5552a 100644 >> --- a/arch/arm/boot/dts/sama5d3.dtsi >> +++ b/arch/arm/boot/dts/sama5d3.dtsi >> @@ -545,8 +545,8 @@ >> dbgu { >> pinctrl_dbgu: dbgu-0 { >> atmel,pins = >> - > - AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB31 periph A with pullup */ >> + > + AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB31 periph A */ >> }; >> }; >> >> -- >> 1.7.10.4 >> >