From patchwork Thu Sep 6 12:45:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 1414571 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 8C3913FC71 for ; Thu, 6 Sep 2012 12:56:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754779Ab2IFMuV (ORCPT ); Thu, 6 Sep 2012 08:50:21 -0400 Received: from na3sys009aog124.obsmtp.com ([74.125.149.151]:55127 "EHLO na3sys009aog124.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755207Ab2IFMuS (ORCPT ); Thu, 6 Sep 2012 08:50:18 -0400 Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]) (using TLSv1) by na3sys009aob124.postini.com ([74.125.148.12]) with SMTP ID DSNKUEicCVsHwndQ+yKKXTO5dMg5LSB0guE3@postini.com; Thu, 06 Sep 2012 05:50:17 PDT Received: by lagy9 with SMTP id y9so1062966lag.19 for ; Thu, 06 Sep 2012 05:50:15 -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=nIYrZ/jTbEj/pibTKT3hQSI52xlRQKjHclSKXSuWqVlHOERntUfu5EI5G79jr0f0TW Bq8QOw2q05kiPfHvwOjnmoTjRQ7fmuZqxMin6UBbNYsYjD16KEX7/MonPJHv/1Ne5cOn z8Qf2seN91PPOELWpYR/kARAZMrsA3ADYWlkaLpgpxVPKgYqFEr+P/j0Sy6TqyAMDEZT juaof0OmyDu8s3cK5YKSpRHVjuJr8O39dbq5+w/vFybcvhdcKN2qqNC+8AfkdDrAsiH2 bzXmVsszXSqJtdELUt+hUYjFPC7ok62V/MT56XsDjCHLBYkwuAaxhruXkvxNyoV0vvmh IiQw== Received: by 10.112.10.170 with SMTP id j10mr861606lbb.39.1346935815575; Thu, 06 Sep 2012 05:50:15 -0700 (PDT) Received: from localhost (cs78217178.pp.htv.fi. [62.78.217.178]) by mx.google.com with ESMTPS id ly17sm2072331lab.2.2012.09.06.05.50.13 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Sep 2012 05:50:14 -0700 (PDT) From: Felipe Balbi To: Greg KH Cc: alan@linux.intel.com, 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 v4 03/21] serial: add OMAP-specific defines Date: Thu, 6 Sep 2012 15:45:22 +0300 Message-Id: <1346935540-1792-4-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.12.rc3 In-Reply-To: <1346935540-1792-1-git-send-email-balbi@ti.com> References: <20120906122948.GC29202@arwen.pp.htv.fi> <1346935540-1792-1-git-send-email-balbi@ti.com> X-Gm-Message-State: ALoCoQnFc2wIW0tFx02j0vQnz3fCtCzaGBjL6J8hItEFcvX18li2d5Leu0Kgrg5IIPliHJ8xVA8w 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 */