From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751912AbdEIHOk (ORCPT ); Tue, 9 May 2017 03:14:40 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:37745 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750969AbdEIHOj (ORCPT ); Tue, 9 May 2017 03:14:39 -0400 Date: Tue, 9 May 2017 09:14:35 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Mika =?iso-8859-1?Q?Penttil=E4?= Cc: linux-serial@vger.kernel.org, kernel@pengutronix.de, linux-kernel@vger.kernel.org Subject: Re: [regression, bisected] 4.11+ imx uarts broken Message-ID: <20170509071435.kxt6pjlglzinf2w5@pengutronix.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.6.2-neo (2016-06-11) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Mika, On Tue, May 09, 2017 at 07:18:09AM +0300, Mika Penttilä wrote: > The following commit e61c38d85b7 makes the uarts on i.MX6 nonfunctional (no data transmitted or received). > With e61c38d85b7 reverted the uarts work ok. > > ------------------- > commit e61c38d85b7392e033ee03bca46f1d6006156175 > Author: Uwe Kleine-König > Date: Tue Apr 4 11:18:51 2017 +0200 > > serial: imx: setup DCEDTE early and ensure DCD and RI irqs to be off > > -------------------- are you operating the UART in DTE or DCE mode? Does this affect all UARTs or only those that are not used in the bootloader? Looking at the patch I wonder if setting IMX21_UCR3_RXDMUXSEL | UCR3_ADNIMP is missing for you. Can you please check which hunk of e61c38d85b73 is giving you problems? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |