From patchwork Mon Sep 14 23:37:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 53606 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id 104882056A for ; Mon, 14 Sep 2015 23:37:51 +0000 (UTC) Received: by lbbmp1 with SMTP id mp1sf50675316lbb.2 for ; Mon, 14 Sep 2015 16:37:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=B7lx0Y15H8Sli2I7F2ERmOflZDSqk3J+G3h5lGv8c1c=; b=SXw9i0kCqrLNB4AIwSAGv7xcjNdS0K343eBA81HrEkmFSmQMCA82/IfyM9fysnCvic 4/dkWcLYQMT6uyqY+g3Fi0qQuSViTHIoJGz5ak1iNe+tX1EJzw+Bzeao+ujBO2b+rClR W9CU58wlG+0Jhuj6oSO5WSmxrsZ+bMvjE/5W9UI8BhJMz2oO8knUOTvqV7xbKmoGrW+8 i6gvk7CaWYtKUIn6PdLBqBjVg/GVnHFHznRDX2ejecS8BH/EB0rUt75Ggjr9HFL+1IQK pqqxMzC72fufQaDINqfuL548tnQWBHUnc+WSG65lxuM+0asdAjQzffh0scZ57G6Jx8mG JxRQ== X-Gm-Message-State: ALoCoQns2wbwV4055nRVCg5PkPwh5bsKQqJ1eWmI6BmULtF+UfxNO83ib2LOA04YOneEoZwHmLQi X-Received: by 10.180.105.98 with SMTP id gl2mr119550wib.0.1442273869983; Mon, 14 Sep 2015 16:37:49 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.97 with SMTP id x1ls236680laj.7.gmail; Mon, 14 Sep 2015 16:37:49 -0700 (PDT) X-Received: by 10.112.64.72 with SMTP id m8mr10328625lbs.41.1442273869808; Mon, 14 Sep 2015 16:37:49 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id uc9si11330928lbb.103.2015.09.14.16.37.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Sep 2015 16:37:49 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbcao8 with SMTP id ao8so75592409lbc.3 for ; Mon, 14 Sep 2015 16:37:49 -0700 (PDT) X-Received: by 10.152.23.199 with SMTP id o7mr15990769laf.76.1442273869693; Mon, 14 Sep 2015 16:37:49 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1461501lbq; Mon, 14 Sep 2015 16:37:48 -0700 (PDT) X-Received: by 10.68.239.69 with SMTP id vq5mr40171014pbc.111.1442273866743; Mon, 14 Sep 2015 16:37:46 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kw10si5649331pab.162.2015.09.14.16.37.45; Mon, 14 Sep 2015 16:37:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751595AbbINXho (ORCPT + 5 others); Mon, 14 Sep 2015 19:37:44 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:49437 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751466AbbINXhm (ORCPT ); Mon, 14 Sep 2015 19:37:42 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id t8ENbFRo011454; Mon, 14 Sep 2015 18:37:15 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8ENbF1a011130; Mon, 14 Sep 2015 18:37:15 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.224.2; Mon, 14 Sep 2015 18:37:15 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t8ENbEr4020527; Mon, 14 Sep 2015 18:37:15 -0500 Received: from localhost (irmo.am.dhcp.ti.com [128.247.9.166]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id t8ENbE903080; Mon, 14 Sep 2015 18:37:14 -0500 (CDT) From: Suman Anna To: Tony Lindgren CC: Paul Walmsley , , , Suman Anna Subject: [PATCH 2/2] ARM: OMAP3: hwmod data: Remove legacy mailbox data and addrs Date: Mon, 14 Sep 2015 18:37:13 -0500 Message-ID: <1442273833-25013-3-git-send-email-s-anna@ti.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1442273833-25013-1-git-send-email-s-anna@ti.com> References: <1442273833-25013-1-git-send-email-s-anna@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: s-anna@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Remove the mailbox attribute data, irq info and hwmod addr space data that are used for creating the legacy-style mailbox devices, there is no need for these as the support for legacy-mode for this IP is being dropped. Signed-off-by: Suman Anna --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c index dc55f8dedf2c..aff78d5198d2 100644 --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include "soc.h" @@ -1506,26 +1505,9 @@ static struct omap_hwmod_class omap3xxx_mailbox_hwmod_class = { .sysc = &omap3xxx_mailbox_sysc, }; -static struct omap_mbox_dev_info omap3xxx_mailbox_info[] = { - { .name = "dsp", .tx_id = 0, .rx_id = 1 }, -}; - -static struct omap_mbox_pdata omap3xxx_mailbox_attrs = { - .num_users = 2, - .num_fifos = 2, - .info_cnt = ARRAY_SIZE(omap3xxx_mailbox_info), - .info = omap3xxx_mailbox_info, -}; - -static struct omap_hwmod_irq_info omap3xxx_mailbox_irqs[] = { - { .irq = 26 + OMAP_INTC_START, }, - { .irq = -1 }, -}; - static struct omap_hwmod omap3xxx_mailbox_hwmod = { .name = "mailbox", .class = &omap3xxx_mailbox_hwmod_class, - .mpu_irqs = omap3xxx_mailbox_irqs, .main_clk = "mailboxes_ick", .prcm = { .omap2 = { @@ -1536,7 +1518,6 @@ static struct omap_hwmod omap3xxx_mailbox_hwmod = { .idlest_idle_bit = OMAP3430_ST_MAILBOXES_SHIFT, }, }, - .dev_attr = &omap3xxx_mailbox_attrs, }; /* @@ -3276,20 +3257,10 @@ static struct omap_hwmod_ocp_if omap3xxx_l4_per__mcbsp3_sidetone = { .user = OCP_USER_MPU, }; -static struct omap_hwmod_addr_space omap3xxx_mailbox_addrs[] = { - { - .pa_start = 0x48094000, - .pa_end = 0x480941ff, - .flags = ADDR_TYPE_RT, - }, - { } -}; - /* l4_core -> mailbox */ static struct omap_hwmod_ocp_if omap3xxx_l4_core__mailbox = { .master = &omap3xxx_l4_core_hwmod, .slave = &omap3xxx_mailbox_hwmod, - .addr = omap3xxx_mailbox_addrs, .user = OCP_USER_MPU | OCP_USER_SDMA, };