Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp1874611imc; Fri, 22 Feb 2019 12:56:20 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib1DTU+PEhMTJcg47+y14tNkkNDJPHVpBmTS4jr+I7x9bvSYGSzkjiAM901+JlNtHeeO6nN X-Received: by 2002:a62:5249:: with SMTP id g70mr6114413pfb.115.1550868979996; Fri, 22 Feb 2019 12:56:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550868979; cv=none; d=google.com; s=arc-20160816; b=ZaRWJsudmGe/pLsd7XjEkMgaMOed1fVw3BmT95Cr27FwNlZK8Xn0SF7I3zCRMGAtJe beSy8mvTYn8VpVptb6sg5z9hyTSD/b7QjLbwifF5fRE2B5rdA4+cM+Ne1zPLJkcAj1zh gBhjiAMSF+h9nve8rJOtw5kUvPf0dVwerVXT+2U769HL5MXniakhD6PHTdcYNGV6/0Ru ORh6S4VfTHOeQoMTmy4V0E7mNguLpmeGTBnM2vY0s5mkvKwVlNwK2OBucOH0KCpwH3ZC V+GC3g9//kQezL0Qre4wbd9NMytSN7W3lwUNrKCCZCf9oUrlN7jcukFWSI8nMXR54x3H lUMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ClWZycsCSgGbfTJu45ipibL4MP68m4gTUPpPWajOjwY=; b=BBpADYLiPeXzzeYfHSZO0GUG39QxF9kn1SIOay75+ig0EhXd6gIErhZ75pluEEKS3C eP3N+D4Y1rUd9xoplK/bD7eV1ZLWy5V7sb36P+K4RZ1BmMxww1BfsxEqN80hMwh8vHIQ kz99UizRKRmW55xzre0ROQC9avowiUivP+wLtrJfTjvScN7Wt8LTCx5Ql/yE9eYt8tzN a4gl3uSJ8ls6zQrQMUhwIg7cCKLEKQLwvf+psCBjYDOJ63ifNUKFkt8DfrCMn6GcT1wU UIc+idTq/dnbL9yt82fPePpIFWqXmNtIEuhpuTigH9YjZFMxouOtQWIzSJtngsAXXqmX 52lw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e189si2305085pfc.156.2019.02.22.12.56.04; Fri, 22 Feb 2019 12:56:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727105AbfBVUz0 (ORCPT + 99 others); Fri, 22 Feb 2019 15:55:26 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:49725 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726023AbfBVUz0 (ORCPT ); Fri, 22 Feb 2019 15:55:26 -0500 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gxHqs-0003kw-67; Fri, 22 Feb 2019 21:55:22 +0100 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1gxHqq-0000VC-8O; Fri, 22 Feb 2019 21:55:20 +0100 Date: Fri, 22 Feb 2019 21:55:20 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Christina Quast Cc: linux-serial@vger.kernel.org, gregkh@linuxfoundation.org, jslaby@suse.com, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: Re: [PATCH] tty/serial/imx.c: Rename URTX0 to UTXD0 Message-ID: <20190222205520.fvqpttlzq5lycbvu@pengutronix.de> References: <20190222163127.10172-1-cquast@hanoverdisplays.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190222163127.10172-1-cquast@hanoverdisplays.com> User-Agent: NeoMutt/20170113 (1.7.2) 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 22, 2019 at 04:31:27PM +0000, Christina Quast wrote: > Rename to be coherent with the datasheet. > > Signed-off-by: Christina Quast > --- > drivers/tty/serial/imx.c | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c > index dff75dc94731..a405e0d21ec9 100644 > --- a/drivers/tty/serial/imx.c > +++ b/drivers/tty/serial/imx.c > @@ -40,7 +40,7 @@ > > /* Register definitions */ > #define URXD0 0x0 /* Receiver Register */ > -#define URTX0 0x40 /* Transmitter Register */ > +#define UTXD0 0x40 /* Transmitter Register */ Oh wow, I never noticed this and it was wrong ever since the kernel is tracked in git (back in 1da177e4c3f4 the definition was in include/asm-arm/arch-imx/imx-regs.h)---I didn't check further. Also I checked the i.MX1, i.MX25 and i.MX6 manuals and the transmit register was never called RTX, in all three manuals it is named UTXD. I suggest to also drop the 0 from both URXD0 and UTXD0. If you send a v2 I recommend adding the imx people (from MAINTAINERS) to Cc. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |