From patchwork Fri Apr 22 12:08:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Subhasish Ghosh X-Patchwork-Id: 727301 Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3MBpc7B019786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 22 Apr 2011 11:51:59 GMT Received: from dlep33.itg.ti.com ([157.170.170.112]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id p3MBoX6F014066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Apr 2011 06:50:33 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id p3MBoWiJ016929; Fri, 22 Apr 2011 06:50:32 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id B97408062A; Fri, 22 Apr 2011 06:50:31 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp51.itg.ti.com (dflp51.itg.ti.com [128.247.22.94]) by linux.omap.com (Postfix) with ESMTP id 425AA8062F for ; Fri, 22 Apr 2011 06:49:14 -0500 (CDT) Received: from red.ext.ti.com (localhost [127.0.0.1]) by dflp51.itg.ti.com (8.13.7/8.13.7) with ESMTP id p3MBnDC2014963 for ; Fri, 22 Apr 2011 06:49:13 -0500 (CDT) Received: from psmtp.com (na3sys009amx233.postini.com [74.125.149.117]) by red.ext.ti.com (8.13.7/8.13.7) with SMTP id p3MBnDAG018341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 22 Apr 2011 06:49:13 -0500 Received: from mail-pw0-f45.google.com ([209.85.160.45]) (using TLSv1) by na3sys009amx233.postini.com ([74.125.148.10]) with SMTP; Fri, 22 Apr 2011 11:49:13 GMT Received: by mail-pw0-f45.google.com with SMTP id 6so397975pwj.4 for ; Fri, 22 Apr 2011 04:49:13 -0700 (PDT) Received: by 10.142.173.5 with SMTP id v5mr608194wfe.66.1303472953018; Fri, 22 Apr 2011 04:49:13 -0700 (PDT) Received: from localhost ([122.166.13.232]) by mx.google.com with ESMTPS id 25sm3820034wfb.22.2011.04.22.04.49.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Apr 2011 04:49:12 -0700 (PDT) From: Subhasish Ghosh To: davinci-linux-open-source@linux.davincidsp.com Subject: [PATCH v4 05/11] mfd: pruss SUART private data. Date: Fri, 22 Apr 2011 17:38:23 +0530 Message-Id: <1303474109-6212-6-git-send-email-subhasish@mistralsolutions.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1303474109-6212-1-git-send-email-subhasish@mistralsolutions.com> References: <1303474109-6212-1-git-send-email-subhasish@mistralsolutions.com> X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:99.90000/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.0750) s cv GT3 gt2 gt1 r p m c X-pstn-addresses: from [db-null] Cc: sachi@mistralsolutions.com, Subhasish Ghosh , open list , m-watkins@ti.com, linux-arm-kernel@lists.infradead.org X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 22 Apr 2011 11:51:59 +0000 (UTC) This patch adds the PRUSS SUART data. Signed-off-by: Subhasish Ghosh --- include/linux/mfd/pruss.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/linux/mfd/pruss.h b/include/linux/mfd/pruss.h index 8ef25b3..c5e2af2 100644 --- a/include/linux/mfd/pruss.h +++ b/include/linux/mfd/pruss.h @@ -87,6 +87,11 @@ #define PRU_INTC_CHANMAP12_HALF (0x00010908) #define PRU_INTC_REGMAP_MASK (0xFFFFFFFF) +struct da850_evm_pruss_suart_data { + u32 version; + int (*setup)(void); +}; + s32 pruss_enable(struct device *dev, u8 pruss_num); s32 pruss_load(struct device *dev, u8 pruss_num,