From patchwork Thu Aug 23 10:32:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 1365981 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 3843D3FC66 for ; Thu, 23 Aug 2012 10:44:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933747Ab2HWKn4 (ORCPT ); Thu, 23 Aug 2012 06:43:56 -0400 Received: from na3sys009aog107.obsmtp.com ([74.125.149.197]:35438 "EHLO na3sys009aog107.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933490Ab2HWKhV (ORCPT ); Thu, 23 Aug 2012 06:37:21 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]) (using TLSv1) by na3sys009aob107.postini.com ([74.125.148.12]) with SMTP ID DSNKUDYH399zeZyY2gRBXm2W9561ioKXKiBv@postini.com; Thu, 23 Aug 2012 03:37:20 PDT Received: by lbbgj3 with SMTP id gj3so344592lbb.19 for ; Thu, 23 Aug 2012 03:37:18 -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=q1+1ImhT1hA73HfdBI6qk5BcaA9sDD8ufdLGQdcXS6s=; b=i60BDnVzTPV4QTGHTbDKQe/GTc3MFClCWg8XEBjhL1sNZi8Ld9FyxPA+v17yj4DWMG rQbHnQ6/owvfdPLR28+ywO3bN6Vbvx3p2UkinNMIaFD0vFZfBYGHJJmZoDBELHil2BSI ZF7DEffYjKf0Ahi079CLus1OLaz1SE2MMfkNK0cdQ+N9jLf67y4DXk86o8GzS+wMC1Ck LSx5NL+RCnviehXin96WPmqDW58+SSA+CugX63n8QYr8Q7ZCbN3LL+D/dkDYg+g1EDuF RJQmgfNUeolP85vlcsYxbEMCRKo+X5G8i5Hf4WA552zLgVKHEPaAPWGNgCyZb+XaopSo 2iTQ== Received: by 10.112.85.35 with SMTP id e3mr667783lbz.90.1345718238340; Thu, 23 Aug 2012 03:37:18 -0700 (PDT) Received: from localhost (cs78217178.pp.htv.fi. [62.78.217.178]) by mx.google.com with ESMTPS id nf5sm7100010lab.3.2012.08.23.03.37.15 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Aug 2012 03:37:16 -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 , Sourav Poddar , Felipe Balbi Subject: [PATCH v3 05/23] serial: add OMAP-specific defines Date: Thu, 23 Aug 2012 13:32:45 +0300 Message-Id: <1345717983-18179-6-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.12.rc3 In-Reply-To: <1345717983-18179-1-git-send-email-balbi@ti.com> References: <1345717983-18179-1-git-send-email-balbi@ti.com> X-Gm-Message-State: ALoCoQl9WvAjfBwhs2beVuxnSVJXA984IWGF6XLIK0S8Z/iA43RchUuUMm5C/eVEauVgjjFNyMU2 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. Tested-by: Shubhrajyoti D Acked-by: Santosh Shilimkar 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 */