From patchwork Tue Aug 21 12:16:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 1354521 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 680FCDFF0F for ; Tue, 21 Aug 2012 12:20:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756543Ab2HUMUc (ORCPT ); Tue, 21 Aug 2012 08:20:32 -0400 Received: from na3sys009aog117.obsmtp.com ([74.125.149.242]:52009 "EHLO na3sys009aog117.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756146Ab2HUMU0 (ORCPT ); Tue, 21 Aug 2012 08:20:26 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]) (using TLSv1) by na3sys009aob117.postini.com ([74.125.148.12]) with SMTP ID DSNKUDN9CLoEyh7HwW5PBLCRmB9txvDrlYDy@postini.com; Tue, 21 Aug 2012 05:20:26 PDT Received: by lbbgm13 with SMTP id gm13so3648151lbb.4 for ; Tue, 21 Aug 2012 05:20:23 -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=/FCqER3qzsbdTcJ+LdQytFQheoXKpYdTvF3WymzA4HQ=; b=hXA3z3X7Jm+Dy4aqLfOUnAvfageTliCPmLhzE7WteQj9LfEsbinzskxKsiajB2EtNv BCX6vJ/0xai1dBRO4ldk5FRdjKKZweFoLfWbAZFcbNuY5Xhzd/niMUhjYCpuXwKcNGsX zGhZFULzZER0zFThkUF7K1fikXti3zPpKlX0JuKrHmGtPPvSQHI0bkLtxZI1Ts+HK1EL VyDSslWZt6szB85IpBusayXHKwTR99YoC2J6n+sewUEaepdFJ70py2pHrhiloNADS1vb Bl4CTQqNxmLsk0Us82ccTQTvlzLtCSxSmBJJiZ3rPwYAcfTWaRB+u9N2sss67nTSc80Z +ryw== Received: by 10.152.131.42 with SMTP id oj10mr17231437lab.49.1345551623037; Tue, 21 Aug 2012 05:20:23 -0700 (PDT) Received: from localhost (cs78217178.pp.htv.fi. [62.78.217.178]) by mx.google.com with ESMTPS id u10sm393382lbf.11.2012.08.21.05.20.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Aug 2012 05:20:22 -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: [PATCH v2 05/13] serial: add OMAP-specific defines Date: Tue, 21 Aug 2012 15:16:03 +0300 Message-Id: <1345551371-18862-6-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.12.rc3 In-Reply-To: <1345551371-18862-1-git-send-email-balbi@ti.com> References: <1345540555-24359-1-git-send-email-balbi@ti.com> <1345551371-18862-1-git-send-email-balbi@ti.com> X-Gm-Message-State: ALoCoQmQUb/qG4yo2CSQbqB5g8o4TxnyyJ3wk9XqxnaGmeZ0eMf+nTJIGpLxxSQgvBLUHedm3T6h 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. 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 */