From: Ian Campbell Subject: Re: [PATCH v8 8/5] Add UART support and arch timer initialization for OMAP5 Date: Thu, 22 Aug 2013 13:52:07 +0100 Message-ID: <1377175927.9517.99.camel@kazak.uk.xensource.com> References: <1376392466-26685-1-git-send-email-baozich@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1376392466-26685-1-git-send-email-baozich@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chen Baozi Cc: Julien Grall , Xen Developer List List-Id: xen-devel@lists.xenproject.org On Tue, 2013-08-13 at 19:14 +0800, Chen Baozi wrote: > Since OMAP UART has a few distinct features than common 8250 UART, I > re-implemented its driver rather than porting it based on ns16550.c. > There are mainly two big differences between the implementations. First, > OMAP UART introduces the concept of register access mode, which divides > the register map into seperated space. Switching the access mode is then > necessary when configuring it. Second, THRE interrupt needs to be disable > after finished transmission and enabled once transmission started. This > is because the semantic of THRE interrupt differs from common 8250 in TI's > implementation, which would be generated if TX FIFO below trigger level > and cannot be cleared by simply write to THR once. > > Besides UART driver, arch timer initialization for OMAP5432 platform > is also done in this patch series. I applied all 6 of the patches in this series. This intro mail is titled "8/5" so I hope I got the right number ;-)