From patchwork Tue Aug 21 09:15:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 1353201 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 5939840210 for ; Tue, 21 Aug 2012 09:23:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755388Ab2HUJUV (ORCPT ); Tue, 21 Aug 2012 05:20:21 -0400 Received: from na3sys009aog138.obsmtp.com ([74.125.149.19]:49262 "EHLO na3sys009aog138.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755368Ab2HUJUQ (ORCPT ); Tue, 21 Aug 2012 05:20:16 -0400 Received: from mail-lpp01m010-f47.google.com ([209.85.215.47]) (using TLSv1) by na3sys009aob138.postini.com ([74.125.148.12]) with SMTP ID DSNKUDNSzx/ZPyxbgqISus0pEnybIYfExqNC@postini.com; Tue, 21 Aug 2012 02:20:15 PDT Received: by lagv3 with SMTP id v3so3841663lag.34 for ; Tue, 21 Aug 2012 02:20:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=ln48Cz/UMkPwz4NBEwhDAUSE24XjugoU9LGY+tvvE9w=; b=CvMK3PtZfgR2lsjpPDANP3MNPAjLZHyTGnIOjUxLs40RNpv1H91nlBNBfj0qy+FQOE XVPwjZ2L6aoQ4thFhQA4aXEs2T120kiU9s5Q+YyE7ouniSc9r9Khjd8WJ/WywRjx+J5o 8H22vpqUDOn9QiLqe4mtbOnv1S3RiXFMM7C9qWy8DH0WdI1av8y5Vx4G8zHCRi4I7tkQ yd9iqnkQ1fVsl6g63nkn/V9APtcGa6RbgmyCgRe4ii1FENm7m9zpW+RmI2jw9YU1Q+a9 KV+CanT3gbSLaBMmI/DNm36fHq6XYMaMTT8vKACeG8aWFRtzOJdiM/6ru4LzK+6Fk5xF 8LbA== Received: by 10.152.106.233 with SMTP id gx9mr16994116lab.48.1345540813639; Tue, 21 Aug 2012 02:20:13 -0700 (PDT) Received: from localhost (cs78217178.pp.htv.fi. [62.78.217.178]) by mx.google.com with ESMTPS id eq2sm282653lbb.9.2012.08.21.02.20.12 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Aug 2012 02:20:12 -0700 (PDT) From: Felipe Balbi To: alan@linux.intel.com Cc: Tony Lindgren , Kevin Hilman , Linux OMAP Mailing List , Linux ARM Kernel Mailing List , linux-serial@vger.kernel.org, Linux Kernel Mailing List , Santosh Shilimkar , Shubhrajyoti Datta , Felipe Balbi Subject: [RFC/PATCH 06/13] serial: add OMAP-specific defines Date: Tue, 21 Aug 2012 12:15:48 +0300 Message-Id: <1345540555-24359-7-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.12.rc3 In-Reply-To: <1345540555-24359-1-git-send-email-balbi@ti.com> References: <1345540555-24359-1-git-send-email-balbi@ti.com> X-Gm-Message-State: ALoCoQlXXfmoi7SjE990u/upyZccAnUINRR4+FmyRmooZdkHluusK9l2Am6R76B0ohxdP+yfg9VA Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org OMAP has some extra Interrupt types which can be really useful for SW. Let's define them so we can later use those in OMAP's serial driver. Signed-off-by: Felipe Balbi --- include/linux/serial_reg.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/serial_reg.h b/include/linux/serial_reg.h index 8ce70d7..5ed325e 100644 --- a/include/linux/serial_reg.h +++ b/include/linux/serial_reg.h @@ -40,6 +40,10 @@ #define UART_IIR_BUSY 0x07 /* DesignWare APB Busy Detect */ +#define UART_IIR_RX_TIMEOUT 0x0c /* OMAP RX Timeout interrupt */ +#define UART_IIR_XOFF 0x10 /* OMAP XOFF/Special Character */ +#define UART_IIR_CTS_RTS_DSR 0x20 /* OMAP CTS/RTS/DSR Change */ + #define UART_FCR 2 /* Out: FIFO Control Register */ #define UART_FCR_ENABLE_FIFO 0x01 /* Enable the FIFO */ #define UART_FCR_CLEAR_RCVR 0x02 /* Clear the RCVR FIFO */