From: Christoph Egger <siccegge@cs.fau.de> To: Tony Lindgren <tony@atomide.com>, Russell King <linux@arm.linux.org.uk>, Tomi Valkeinen <tomi.valkeinen@nokia.com>, Cory Maccarrone <darkstar6262@gmail.com>, Felipe Balbi <felipe.balbi@nokia.com>, "Zebediah C. McClure" <zmc@lurian.net>, Alistair Buxton <a.j.buxton@gmail.com>, Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>, Jorge Eduardo Candelaria <x0107209@ti.com>, Santosh Shilimkar <santosh.shilimkar@ti.com>, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: vamos@i4.informatik.uni-erlangen.de Subject: [PATCH 11/33] Removing dead OMAP_DSP Date: Wed, 30 Jun 2010 17:57:26 +0200 [thread overview] Message-ID: <fc9feac62dc4eb90e8c3b7039729fa102ad0ac98.1277911346.git.siccegge@cs.fau.de> (raw) In-Reply-To: <cover.1277911345.git.siccegge@cs.fau.de> OMAP_DSP doesn't exist in Kconfig, therefore removing all references for it from the source code. Signed-off-by: Christoph Egger <siccegge@cs.fau.de> --- arch/arm/mach-omap1/board-nokia770.c | 132 -------------------------- arch/arm/mach-omap1/devices.c | 37 ------- arch/arm/mach-omap1/mcbsp.c | 3 - arch/arm/plat-omap/devices.c | 62 ------------ arch/arm/plat-omap/include/plat/dsp_common.h | 40 -------- 5 files changed, 0 insertions(+), 274 deletions(-) delete mode 100644 arch/arm/plat-omap/include/plat/dsp_common.h diff --git a/arch/arm/mach-omap1/board-nokia770.c b/arch/arm/mach-omap1/board-nokia770.c index 71e1a3f..825b4c8 100644 --- a/arch/arm/mach-omap1/board-nokia770.c +++ b/arch/arm/mach-omap1/board-nokia770.c @@ -242,138 +242,6 @@ static inline void nokia770_mmc_init(void) } #endif -#if defined(CONFIG_OMAP_DSP) -/* - * audio power control - */ -#define HEADPHONE_GPIO 14 -#define AMPLIFIER_CTRL_GPIO 58 - -static struct clk *dspxor_ck; -static DEFINE_MUTEX(audio_pwr_lock); -/* - * audio_pwr_state - * +--+-------------------------+---------------------------------------+ - * |-1|down |power-up request -> 0 | - * +--+-------------------------+---------------------------------------+ - * | 0|up |power-down(1) request -> 1 | - * | | |power-down(2) request -> (ignore) | - * +--+-------------------------+---------------------------------------+ - * | 1|up, |power-up request -> 0 | - * | |received down(1) request |power-down(2) request -> -1 | - * +--+-------------------------+---------------------------------------+ - */ -static int audio_pwr_state = -1; - -static inline void aic23_power_up(void) -{ -} -static inline void aic23_power_down(void) -{ -} - -/* - * audio_pwr_up / down should be called under audio_pwr_lock - */ -static void nokia770_audio_pwr_up(void) -{ - clk_enable(dspxor_ck); - - /* Turn on codec */ - aic23_power_up(); - - if (gpio_get_value(HEADPHONE_GPIO)) - /* HP not connected, turn on amplifier */ - gpio_set_value(AMPLIFIER_CTRL_GPIO, 1); - else - /* HP connected, do not turn on amplifier */ - printk("HP connected\n"); -} - -static void codec_delayed_power_down(struct work_struct *work) -{ - mutex_lock(&audio_pwr_lock); - if (audio_pwr_state == -1) - aic23_power_down(); - clk_disable(dspxor_ck); - mutex_unlock(&audio_pwr_lock); -} - -static DECLARE_DELAYED_WORK(codec_power_down_work, codec_delayed_power_down); - -static void nokia770_audio_pwr_down(void) -{ - /* Turn off amplifier */ - gpio_set_value(AMPLIFIER_CTRL_GPIO, 0); - - /* Turn off codec: schedule delayed work */ - schedule_delayed_work(&codec_power_down_work, HZ / 20); /* 50ms */ -} - -static int -nokia770_audio_pwr_up_request(struct dsp_kfunc_device *kdev, int stage) -{ - mutex_lock(&audio_pwr_lock); - if (audio_pwr_state == -1) - nokia770_audio_pwr_up(); - /* force audio_pwr_state = 0, even if it was 1. */ - audio_pwr_state = 0; - mutex_unlock(&audio_pwr_lock); - return 0; -} - -static int -nokia770_audio_pwr_down_request(struct dsp_kfunc_device *kdev, int stage) -{ - mutex_lock(&audio_pwr_lock); - switch (stage) { - case 1: - if (audio_pwr_state == 0) - audio_pwr_state = 1; - break; - case 2: - if (audio_pwr_state == 1) { - nokia770_audio_pwr_down(); - audio_pwr_state = -1; - } - break; - } - mutex_unlock(&audio_pwr_lock); - return 0; -} - -static struct dsp_kfunc_device nokia770_audio_device = { - .name = "audio", - .type = DSP_KFUNC_DEV_TYPE_AUDIO, - .enable = nokia770_audio_pwr_up_request, - .disable = nokia770_audio_pwr_down_request, -}; - -static __init int omap_dsp_init(void) -{ - int ret; - - dspxor_ck = clk_get(0, "dspxor_ck"); - if (IS_ERR(dspxor_ck)) { - printk(KERN_ERR "couldn't acquire dspxor_ck\n"); - return PTR_ERR(dspxor_ck); - } - - ret = dsp_kfunc_device_register(&nokia770_audio_device); - if (ret) { - printk(KERN_ERR - "KFUNC device registration faild: %s\n", - nokia770_audio_device.name); - goto out; - } - return 0; - out: - return ret; -} -#else -#define omap_dsp_init() do {} while (0) -#endif /* CONFIG_OMAP_DSP */ - static void __init omap_nokia770_init(void) { platform_add_devices(nokia770_devices, ARRAY_SIZE(nokia770_devices)); diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c index 379100c..c00d602 100644 --- a/arch/arm/mach-omap1/devices.c +++ b/arch/arm/mach-omap1/devices.c @@ -63,44 +63,7 @@ static void omap_init_rtc(void) static inline void omap_init_rtc(void) {} #endif -#if defined(CONFIG_OMAP_DSP) || defined(CONFIG_OMAP_DSP_MODULE) - -#if defined(CONFIG_ARCH_OMAP15XX) -# define OMAP1_MBOX_SIZE 0x23 -# define INT_DSP_MAILBOX1 INT_1510_DSP_MAILBOX1 -#elif defined(CONFIG_ARCH_OMAP16XX) -# define OMAP1_MBOX_SIZE 0x2f -# define INT_DSP_MAILBOX1 INT_1610_DSP_MAILBOX1 -#endif - -#define OMAP1_MBOX_BASE OMAP16XX_MAILBOX_BASE - -static struct resource mbox_resources[] = { - { - .start = OMAP1_MBOX_BASE, - .end = OMAP1_MBOX_BASE + OMAP1_MBOX_SIZE, - .flags = IORESOURCE_MEM, - }, - { - .start = INT_DSP_MAILBOX1, - .flags = IORESOURCE_IRQ, - }, -}; - -static struct platform_device mbox_device = { - .name = "omap1-mailbox", - .id = -1, - .num_resources = ARRAY_SIZE(mbox_resources), - .resource = mbox_resources, -}; - -static inline void omap_init_mbox(void) -{ - platform_device_register(&mbox_device); -} -#else static inline void omap_init_mbox(void) { } -#endif /*-------------------------------------------------------------------------*/ diff --git a/arch/arm/mach-omap1/mcbsp.c b/arch/arm/mach-omap1/mcbsp.c index e9bdff1..b3a796a 100644 --- a/arch/arm/mach-omap1/mcbsp.c +++ b/arch/arm/mach-omap1/mcbsp.c @@ -23,7 +23,6 @@ #include <plat/mux.h> #include <plat/cpu.h> #include <plat/mcbsp.h> -#include <plat/dsp_common.h> #define DPS_RSTCT2_PER_EN (1 << 0) #define DSP_RSTCT2_WD_PER_EN (1 << 1) @@ -46,7 +45,6 @@ static void omap1_mcbsp_request(unsigned int id) clk_enable(api_clk); clk_enable(dsp_clk); - omap_dsp_request_mem(); /* * DSP external peripheral reset * FIXME: This should be moved to dsp code @@ -62,7 +60,6 @@ static void omap1_mcbsp_free(unsigned int id) { if (id == OMAP_MCBSP1 || id == OMAP_MCBSP3) { if (--dsp_use == 0) { - omap_dsp_release_mem(); if (!IS_ERR(api_clk)) { clk_disable(api_clk); clk_put(api_clk); diff --git a/arch/arm/plat-omap/devices.c b/arch/arm/plat-omap/devices.c index 95677d1..a3997ec 100644 --- a/arch/arm/plat-omap/devices.c +++ b/arch/arm/plat-omap/devices.c @@ -31,67 +31,6 @@ #include <plat/dsp_common.h> #include <plat/omap44xx.h> -#if defined(CONFIG_OMAP_DSP) || defined(CONFIG_OMAP_DSP_MODULE) - -static struct dsp_platform_data dsp_pdata = { - .kdev_list = LIST_HEAD_INIT(dsp_pdata.kdev_list), -}; - -static struct resource omap_dsp_resources[] = { - { - .name = "dsp_mmu", - .start = -1, - .flags = IORESOURCE_IRQ, - }, -}; - -static struct platform_device omap_dsp_device = { - .name = "dsp", - .id = -1, - .num_resources = ARRAY_SIZE(omap_dsp_resources), - .resource = omap_dsp_resources, - .dev = { - .platform_data = &dsp_pdata, - }, -}; - -static inline void omap_init_dsp(void) -{ - struct resource *res; - int irq; - - if (cpu_is_omap15xx()) - irq = INT_1510_DSP_MMU; - else if (cpu_is_omap16xx()) - irq = INT_1610_DSP_MMU; - else if (cpu_is_omap24xx()) - irq = INT_24XX_DSP_MMU; - - res = platform_get_resource_byname(&omap_dsp_device, - IORESOURCE_IRQ, "dsp_mmu"); - res->start = irq; - - platform_device_register(&omap_dsp_device); -} - -int dsp_kfunc_device_register(struct dsp_kfunc_device *kdev) -{ - static DEFINE_MUTEX(dsp_pdata_lock); - - spin_lock_init(&kdev->lock); - - mutex_lock(&dsp_pdata_lock); - list_add_tail(&kdev->entry, &dsp_pdata.kdev_list); - mutex_unlock(&dsp_pdata_lock); - - return 0; -} -EXPORT_SYMBOL(dsp_kfunc_device_register); - -#else -static inline void omap_init_dsp(void) { } -#endif /* CONFIG_OMAP_DSP */ - /*-------------------------------------------------------------------------*/ #if defined(CONFIG_KEYBOARD_OMAP) || defined(CONFIG_KEYBOARD_OMAP_MODULE) @@ -419,7 +358,6 @@ static int __init omap_init_devices(void) /* please keep these calls, and their implementations above, * in alphabetical order so they're easier to sort through. */ - omap_init_dsp(); omap_init_kp(); omap_init_rng(); omap_init_mcpdm(); diff --git a/arch/arm/plat-omap/include/plat/dsp_common.h b/arch/arm/plat-omap/include/plat/dsp_common.h deleted file mode 100644 index da97736..0000000 --- a/arch/arm/plat-omap/include/plat/dsp_common.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * This file is part of OMAP DSP driver (DSP Gateway version 3.3.1) - * - * Copyright (C) 2004-2006 Nokia Corporation. All rights reserved. - * - * Contact: Toshihiro Kobayashi <toshihiro.kobayashi@nokia.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301 USA - * - */ - -#ifndef ASM_ARCH_DSP_COMMON_H -#define ASM_ARCH_DSP_COMMON_H - -#if defined(CONFIG_ARCH_OMAP1) && defined(CONFIG_OMAP_MMU_FWK) -extern void omap_dsp_request_mpui(void); -extern void omap_dsp_release_mpui(void); -extern int omap_dsp_request_mem(void); -extern int omap_dsp_release_mem(void); -#else -static inline int omap_dsp_request_mem(void) -{ - return 0; -} -#define omap_dsp_release_mem() do {} while (0) -#endif - -#endif /* ASM_ARCH_DSP_COMMON_H */ -- 1.7.0.4
WARNING: multiple messages have this Message-ID (diff)
From: siccegge@cs.fau.de (Christoph Egger) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 11/33] Removing dead OMAP_DSP Date: Wed, 30 Jun 2010 17:57:26 +0200 [thread overview] Message-ID: <fc9feac62dc4eb90e8c3b7039729fa102ad0ac98.1277911346.git.siccegge@cs.fau.de> (raw) In-Reply-To: <cover.1277911345.git.siccegge@cs.fau.de> OMAP_DSP doesn't exist in Kconfig, therefore removing all references for it from the source code. Signed-off-by: Christoph Egger <siccegge@cs.fau.de> --- arch/arm/mach-omap1/board-nokia770.c | 132 -------------------------- arch/arm/mach-omap1/devices.c | 37 ------- arch/arm/mach-omap1/mcbsp.c | 3 - arch/arm/plat-omap/devices.c | 62 ------------ arch/arm/plat-omap/include/plat/dsp_common.h | 40 -------- 5 files changed, 0 insertions(+), 274 deletions(-) delete mode 100644 arch/arm/plat-omap/include/plat/dsp_common.h diff --git a/arch/arm/mach-omap1/board-nokia770.c b/arch/arm/mach-omap1/board-nokia770.c index 71e1a3f..825b4c8 100644 --- a/arch/arm/mach-omap1/board-nokia770.c +++ b/arch/arm/mach-omap1/board-nokia770.c @@ -242,138 +242,6 @@ static inline void nokia770_mmc_init(void) } #endif -#if defined(CONFIG_OMAP_DSP) -/* - * audio power control - */ -#define HEADPHONE_GPIO 14 -#define AMPLIFIER_CTRL_GPIO 58 - -static struct clk *dspxor_ck; -static DEFINE_MUTEX(audio_pwr_lock); -/* - * audio_pwr_state - * +--+-------------------------+---------------------------------------+ - * |-1|down |power-up request -> 0 | - * +--+-------------------------+---------------------------------------+ - * | 0|up |power-down(1) request -> 1 | - * | | |power-down(2) request -> (ignore) | - * +--+-------------------------+---------------------------------------+ - * | 1|up, |power-up request -> 0 | - * | |received down(1) request |power-down(2) request -> -1 | - * +--+-------------------------+---------------------------------------+ - */ -static int audio_pwr_state = -1; - -static inline void aic23_power_up(void) -{ -} -static inline void aic23_power_down(void) -{ -} - -/* - * audio_pwr_up / down should be called under audio_pwr_lock - */ -static void nokia770_audio_pwr_up(void) -{ - clk_enable(dspxor_ck); - - /* Turn on codec */ - aic23_power_up(); - - if (gpio_get_value(HEADPHONE_GPIO)) - /* HP not connected, turn on amplifier */ - gpio_set_value(AMPLIFIER_CTRL_GPIO, 1); - else - /* HP connected, do not turn on amplifier */ - printk("HP connected\n"); -} - -static void codec_delayed_power_down(struct work_struct *work) -{ - mutex_lock(&audio_pwr_lock); - if (audio_pwr_state == -1) - aic23_power_down(); - clk_disable(dspxor_ck); - mutex_unlock(&audio_pwr_lock); -} - -static DECLARE_DELAYED_WORK(codec_power_down_work, codec_delayed_power_down); - -static void nokia770_audio_pwr_down(void) -{ - /* Turn off amplifier */ - gpio_set_value(AMPLIFIER_CTRL_GPIO, 0); - - /* Turn off codec: schedule delayed work */ - schedule_delayed_work(&codec_power_down_work, HZ / 20); /* 50ms */ -} - -static int -nokia770_audio_pwr_up_request(struct dsp_kfunc_device *kdev, int stage) -{ - mutex_lock(&audio_pwr_lock); - if (audio_pwr_state == -1) - nokia770_audio_pwr_up(); - /* force audio_pwr_state = 0, even if it was 1. */ - audio_pwr_state = 0; - mutex_unlock(&audio_pwr_lock); - return 0; -} - -static int -nokia770_audio_pwr_down_request(struct dsp_kfunc_device *kdev, int stage) -{ - mutex_lock(&audio_pwr_lock); - switch (stage) { - case 1: - if (audio_pwr_state == 0) - audio_pwr_state = 1; - break; - case 2: - if (audio_pwr_state == 1) { - nokia770_audio_pwr_down(); - audio_pwr_state = -1; - } - break; - } - mutex_unlock(&audio_pwr_lock); - return 0; -} - -static struct dsp_kfunc_device nokia770_audio_device = { - .name = "audio", - .type = DSP_KFUNC_DEV_TYPE_AUDIO, - .enable = nokia770_audio_pwr_up_request, - .disable = nokia770_audio_pwr_down_request, -}; - -static __init int omap_dsp_init(void) -{ - int ret; - - dspxor_ck = clk_get(0, "dspxor_ck"); - if (IS_ERR(dspxor_ck)) { - printk(KERN_ERR "couldn't acquire dspxor_ck\n"); - return PTR_ERR(dspxor_ck); - } - - ret = dsp_kfunc_device_register(&nokia770_audio_device); - if (ret) { - printk(KERN_ERR - "KFUNC device registration faild: %s\n", - nokia770_audio_device.name); - goto out; - } - return 0; - out: - return ret; -} -#else -#define omap_dsp_init() do {} while (0) -#endif /* CONFIG_OMAP_DSP */ - static void __init omap_nokia770_init(void) { platform_add_devices(nokia770_devices, ARRAY_SIZE(nokia770_devices)); diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c index 379100c..c00d602 100644 --- a/arch/arm/mach-omap1/devices.c +++ b/arch/arm/mach-omap1/devices.c @@ -63,44 +63,7 @@ static void omap_init_rtc(void) static inline void omap_init_rtc(void) {} #endif -#if defined(CONFIG_OMAP_DSP) || defined(CONFIG_OMAP_DSP_MODULE) - -#if defined(CONFIG_ARCH_OMAP15XX) -# define OMAP1_MBOX_SIZE 0x23 -# define INT_DSP_MAILBOX1 INT_1510_DSP_MAILBOX1 -#elif defined(CONFIG_ARCH_OMAP16XX) -# define OMAP1_MBOX_SIZE 0x2f -# define INT_DSP_MAILBOX1 INT_1610_DSP_MAILBOX1 -#endif - -#define OMAP1_MBOX_BASE OMAP16XX_MAILBOX_BASE - -static struct resource mbox_resources[] = { - { - .start = OMAP1_MBOX_BASE, - .end = OMAP1_MBOX_BASE + OMAP1_MBOX_SIZE, - .flags = IORESOURCE_MEM, - }, - { - .start = INT_DSP_MAILBOX1, - .flags = IORESOURCE_IRQ, - }, -}; - -static struct platform_device mbox_device = { - .name = "omap1-mailbox", - .id = -1, - .num_resources = ARRAY_SIZE(mbox_resources), - .resource = mbox_resources, -}; - -static inline void omap_init_mbox(void) -{ - platform_device_register(&mbox_device); -} -#else static inline void omap_init_mbox(void) { } -#endif /*-------------------------------------------------------------------------*/ diff --git a/arch/arm/mach-omap1/mcbsp.c b/arch/arm/mach-omap1/mcbsp.c index e9bdff1..b3a796a 100644 --- a/arch/arm/mach-omap1/mcbsp.c +++ b/arch/arm/mach-omap1/mcbsp.c @@ -23,7 +23,6 @@ #include <plat/mux.h> #include <plat/cpu.h> #include <plat/mcbsp.h> -#include <plat/dsp_common.h> #define DPS_RSTCT2_PER_EN (1 << 0) #define DSP_RSTCT2_WD_PER_EN (1 << 1) @@ -46,7 +45,6 @@ static void omap1_mcbsp_request(unsigned int id) clk_enable(api_clk); clk_enable(dsp_clk); - omap_dsp_request_mem(); /* * DSP external peripheral reset * FIXME: This should be moved to dsp code @@ -62,7 +60,6 @@ static void omap1_mcbsp_free(unsigned int id) { if (id == OMAP_MCBSP1 || id == OMAP_MCBSP3) { if (--dsp_use == 0) { - omap_dsp_release_mem(); if (!IS_ERR(api_clk)) { clk_disable(api_clk); clk_put(api_clk); diff --git a/arch/arm/plat-omap/devices.c b/arch/arm/plat-omap/devices.c index 95677d1..a3997ec 100644 --- a/arch/arm/plat-omap/devices.c +++ b/arch/arm/plat-omap/devices.c @@ -31,67 +31,6 @@ #include <plat/dsp_common.h> #include <plat/omap44xx.h> -#if defined(CONFIG_OMAP_DSP) || defined(CONFIG_OMAP_DSP_MODULE) - -static struct dsp_platform_data dsp_pdata = { - .kdev_list = LIST_HEAD_INIT(dsp_pdata.kdev_list), -}; - -static struct resource omap_dsp_resources[] = { - { - .name = "dsp_mmu", - .start = -1, - .flags = IORESOURCE_IRQ, - }, -}; - -static struct platform_device omap_dsp_device = { - .name = "dsp", - .id = -1, - .num_resources = ARRAY_SIZE(omap_dsp_resources), - .resource = omap_dsp_resources, - .dev = { - .platform_data = &dsp_pdata, - }, -}; - -static inline void omap_init_dsp(void) -{ - struct resource *res; - int irq; - - if (cpu_is_omap15xx()) - irq = INT_1510_DSP_MMU; - else if (cpu_is_omap16xx()) - irq = INT_1610_DSP_MMU; - else if (cpu_is_omap24xx()) - irq = INT_24XX_DSP_MMU; - - res = platform_get_resource_byname(&omap_dsp_device, - IORESOURCE_IRQ, "dsp_mmu"); - res->start = irq; - - platform_device_register(&omap_dsp_device); -} - -int dsp_kfunc_device_register(struct dsp_kfunc_device *kdev) -{ - static DEFINE_MUTEX(dsp_pdata_lock); - - spin_lock_init(&kdev->lock); - - mutex_lock(&dsp_pdata_lock); - list_add_tail(&kdev->entry, &dsp_pdata.kdev_list); - mutex_unlock(&dsp_pdata_lock); - - return 0; -} -EXPORT_SYMBOL(dsp_kfunc_device_register); - -#else -static inline void omap_init_dsp(void) { } -#endif /* CONFIG_OMAP_DSP */ - /*-------------------------------------------------------------------------*/ #if defined(CONFIG_KEYBOARD_OMAP) || defined(CONFIG_KEYBOARD_OMAP_MODULE) @@ -419,7 +358,6 @@ static int __init omap_init_devices(void) /* please keep these calls, and their implementations above, * in alphabetical order so they're easier to sort through. */ - omap_init_dsp(); omap_init_kp(); omap_init_rng(); omap_init_mcpdm(); diff --git a/arch/arm/plat-omap/include/plat/dsp_common.h b/arch/arm/plat-omap/include/plat/dsp_common.h deleted file mode 100644 index da97736..0000000 --- a/arch/arm/plat-omap/include/plat/dsp_common.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * This file is part of OMAP DSP driver (DSP Gateway version 3.3.1) - * - * Copyright (C) 2004-2006 Nokia Corporation. All rights reserved. - * - * Contact: Toshihiro Kobayashi <toshihiro.kobayashi@nokia.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - * 02110-1301 USA - * - */ - -#ifndef ASM_ARCH_DSP_COMMON_H -#define ASM_ARCH_DSP_COMMON_H - -#if defined(CONFIG_ARCH_OMAP1) && defined(CONFIG_OMAP_MMU_FWK) -extern void omap_dsp_request_mpui(void); -extern void omap_dsp_release_mpui(void); -extern int omap_dsp_request_mem(void); -extern int omap_dsp_release_mem(void); -#else -static inline int omap_dsp_request_mem(void) -{ - return 0; -} -#define omap_dsp_release_mem() do {} while (0) -#endif - -#endif /* ASM_ARCH_DSP_COMMON_H */ -- 1.7.0.4
next prev parent reply other threads:[~2010-06-30 15:57 UTC|newest] Thread overview: 221+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-06-30 15:53 [PATCH 00/33] Removing dead code Christoph Egger 2010-06-30 15:53 ` [PATCH 01/33] Removing dead MTD_NAND_AT91_BUSWIDTH_16 Christoph Egger 2010-06-30 15:53 ` Christoph Egger 2010-06-30 17:53 ` Kirill A. Shutemov 2010-06-30 17:53 ` Kirill A. Shutemov 2010-07-01 8:55 ` [PATCH] AT91: Correct configuration define value Nicolas Ferre 2010-07-01 8:55 ` Nicolas Ferre 2010-07-01 9:14 ` Kirill A. Shutemov 2010-07-01 9:14 ` Kirill A. Shutemov 2010-08-20 15:18 ` Nicolas Ferre 2010-08-20 15:18 ` Nicolas Ferre 2010-08-23 2:56 ` Jean-Christophe PLAGNIOL-VILLARD 2010-08-23 2:56 ` Jean-Christophe PLAGNIOL-VILLARD 2010-06-30 15:54 ` [PATCH 03/33] Removing dead OMAP_MUX_ERRORS Christoph Egger 2010-06-30 15:54 ` Christoph Egger 2010-06-30 15:54 ` Christoph Egger 2010-06-30 19:54 ` Kirill A. Shutemov 2010-06-30 19:54 ` Kirill A. Shutemov 2010-07-01 13:22 ` Christoph Egger 2010-07-01 13:22 ` Christoph Egger 2010-07-01 15:27 ` Kirill A. Shutemov 2010-07-01 15:27 ` Kirill A. Shutemov 2010-07-05 8:07 ` Tony Lindgren 2010-07-05 8:07 ` Tony Lindgren 2010-06-30 15:55 ` [PATCH 04/33] Removing dead MSM7X00A_IDLE Christoph Egger 2010-06-30 15:55 ` Christoph Egger 2010-06-30 19:59 ` Kirill A. Shutemov 2010-06-30 19:59 ` Kirill A. Shutemov 2010-06-30 20:03 ` Daniel Walker 2010-06-30 20:03 ` Daniel Walker 2010-06-30 15:55 ` [PATCH 05/33] Removing dead OMAP_IR Christoph Egger 2010-06-30 15:55 ` Christoph Egger 2010-06-30 15:55 ` Christoph Egger 2010-07-05 8:14 ` Tony Lindgren 2010-07-05 8:14 ` Tony Lindgren 2010-06-30 15:55 ` [PATCH 06/33] Removing dead SHARPSL_LOCOMO Christoph Egger 2010-06-30 15:55 ` Christoph Egger 2010-06-30 23:12 ` Dmitry Eremin-Solenikov 2010-07-01 2:34 ` Eric Miao 2010-07-01 2:34 ` Eric Miao 2010-07-01 13:23 ` Christoph Egger 2010-07-01 13:23 ` Christoph Egger 2010-07-01 14:40 ` Eric Miao 2010-07-01 14:40 ` Eric Miao 2010-07-04 15:55 ` Eric Miao 2010-07-04 15:55 ` Eric Miao 2010-06-30 15:56 ` [PATCH 07/33] Removing dead CPU_S3C2400 Christoph Egger 2010-06-30 15:56 ` Christoph Egger 2010-06-30 15:56 ` [PATCH 08/33] Removing dead SA1101 Christoph Egger 2010-06-30 15:56 ` Christoph Egger 2010-06-30 16:57 ` Nicolas Pitre 2010-06-30 16:57 ` Nicolas Pitre 2010-06-30 18:20 ` Marek Vasut 2010-06-30 18:20 ` Marek Vasut 2010-06-30 18:59 ` Nicolas Pitre 2010-06-30 18:59 ` Nicolas Pitre 2010-07-01 0:01 ` Marek Vasut 2010-07-01 0:01 ` Marek Vasut 2010-06-30 15:56 ` [PATCH 09/33] Removing dead MAGICV Christoph Egger 2010-06-30 15:56 ` Christoph Egger 2010-06-30 15:57 ` [PATCH 10/33] Removing dead VIDEO_AT91_ISI Christoph Egger 2010-06-30 15:57 ` Christoph Egger 2010-06-30 15:57 ` [PATCH 11/33] Removing dead OMAP_DSP Christoph Egger 2010-06-30 15:57 ` Christoph Egger [this message] 2010-06-30 15:57 ` Christoph Egger 2010-07-05 8:20 ` Tony Lindgren 2010-07-05 8:20 ` Tony Lindgren 2010-06-30 15:57 ` [PATCH 12/33] Removing dead OMAP_STI Christoph Egger 2010-06-30 15:57 ` Christoph Egger 2010-06-30 15:57 ` Christoph Egger 2010-07-05 8:24 ` Tony Lindgren 2010-07-05 8:24 ` Tony Lindgren 2010-07-05 8:24 ` Tony Lindgren 2010-06-30 15:58 ` [PATCH 13/33] Replacing LEDS_OMAP_DEBUG with OMAP_DEBUG_LEDS Christoph Egger 2010-06-30 15:58 ` Christoph Egger 2010-06-30 15:58 ` Christoph Egger 2010-07-05 8:28 ` Tony Lindgren 2010-07-05 8:28 ` Tony Lindgren 2010-06-30 15:58 ` [PATCH 14/33] Removing dead SDMA_IRAM Christoph Egger 2010-06-30 15:58 ` Christoph Egger 2010-07-01 8:48 ` Sascha Hauer 2010-07-01 8:48 ` Sascha Hauer 2010-06-30 15:58 ` [PATCH 15/33] Removing dead PROCESSOR_NS9750 Christoph Egger 2010-06-30 15:58 ` Christoph Egger 2010-07-05 7:15 ` Uwe Kleine-König 2010-07-05 7:15 ` Uwe Kleine-König 2010-06-30 15:59 ` [PATCH 16/33] Removing dead APM Christoph Egger 2010-06-30 15:59 ` Christoph Egger 2010-06-30 18:23 ` Marek Vasut 2010-06-30 18:23 ` Marek Vasut 2010-07-05 8:31 ` Tony Lindgren 2010-07-05 8:31 ` Tony Lindgren 2010-07-05 8:31 ` Tony Lindgren 2010-06-30 15:59 ` Christoph Egger 2010-06-30 15:59 ` [PATCH 17/33] Removing dead SX1_OLD_FLASH Christoph Egger 2010-06-30 15:59 ` Christoph Egger 2010-06-30 15:59 ` Christoph Egger 2010-06-30 18:24 ` Marek Vasut 2010-06-30 18:24 ` Marek Vasut 2010-06-30 18:24 ` Marek Vasut 2010-07-05 8:33 ` Tony Lindgren 2010-07-05 8:33 ` Tony Lindgren 2010-07-05 8:33 ` Tony Lindgren 2010-07-05 10:31 ` Marek Vasut 2010-07-05 10:31 ` Marek Vasut 2010-06-30 15:59 ` [PATCH 18/33] Removing dead OMAP_ARM_96MHZ Christoph Egger 2010-06-30 15:59 ` Christoph Egger 2010-06-30 15:59 ` Christoph Egger 2010-06-30 18:25 ` Marek Vasut 2010-06-30 18:25 ` Marek Vasut 2010-06-30 18:25 ` Marek Vasut 2010-07-05 8:44 ` Tony Lindgren 2010-07-05 8:44 ` Tony Lindgren 2010-06-30 16:00 ` [PATCH 19/33] Removing dead MACH_OMAP_H4_OTG Christoph Egger 2010-06-30 16:00 ` Christoph Egger 2010-06-30 16:00 ` [PATCH 20/33] Removing dead MACH_OMAP2_H4_USB1 Christoph Egger 2010-06-30 16:00 ` Christoph Egger 2010-07-01 7:35 ` Felipe Balbi 2010-07-01 7:35 ` Felipe Balbi 2010-07-01 7:35 ` Felipe Balbi 2010-07-05 8:55 ` Tony Lindgren 2010-07-05 8:55 ` Tony Lindgren 2010-07-05 8:55 ` Tony Lindgren 2010-06-30 16:00 ` [PATCH 21/33] Removing dead OMAP2_VENC_OUT_TYPE_SVIDEO, OMAP2_VENC_OUT_TYPE_COMPOSITE Christoph Egger 2010-06-30 16:00 ` Christoph Egger 2010-06-30 16:00 ` Christoph Egger 2010-07-05 8:56 ` Tony Lindgren 2010-07-05 8:56 ` Tony Lindgren 2010-08-03 12:12 ` Tomi Valkeinen 2010-08-03 12:12 ` Tomi Valkeinen 2010-08-03 12:12 ` Tomi Valkeinen 2010-07-06 5:56 ` Hiremath, Vaibhav 2010-07-06 5:56 ` Hiremath, Vaibhav 2010-07-06 5:56 ` Hiremath, Vaibhav 2010-06-30 16:01 ` [PATCH 22/33] Removing dead MPU_{BRIDGE,TESLA}_IOMMU Christoph Egger 2010-06-30 16:01 ` Christoph Egger 2010-06-30 16:01 ` Christoph Egger 2010-06-30 18:23 ` Hiroshi DOYU 2010-06-30 18:23 ` Hiroshi DOYU 2010-06-30 18:44 ` Kanigeri, Hari 2010-06-30 18:44 ` Kanigeri, Hari 2010-06-30 18:44 ` Kanigeri, Hari 2010-06-30 16:01 ` [PATCH 23/33] Removing dead BACKLIGHT_CORGI Christoph Egger 2010-06-30 16:01 ` Christoph Egger 2010-07-01 3:50 ` Eric Miao 2010-07-01 3:50 ` Eric Miao 2010-07-04 15:55 ` Eric Miao 2010-07-04 15:55 ` Eric Miao 2010-06-30 16:01 ` [PATCH 24/33] Removing dead ARCH_GUMSTIX_ORIG Christoph Egger 2010-06-30 16:01 ` Christoph Egger 2010-07-01 4:27 ` Eric Miao 2010-07-01 4:27 ` Eric Miao 2010-07-01 23:57 ` Jaya Kumar 2010-07-01 23:57 ` Jaya Kumar 2010-07-04 15:56 ` Eric Miao 2010-07-04 15:56 ` Eric Miao 2010-06-30 16:01 ` [PATCH 25/33] Removing dead CORGI_SSP_DEPRECATED Christoph Egger 2010-06-30 16:01 ` Christoph Egger 2010-07-01 9:58 ` Kristoffer Ericson 2010-07-01 9:58 ` Kristoffer Ericson 2010-07-04 15:56 ` Eric Miao 2010-07-04 15:56 ` Eric Miao 2010-06-30 16:02 ` [PATCH 26/33] Removing dead XSCALE_CACHE_ERRATA Christoph Egger 2010-06-30 16:02 ` Christoph Egger 2010-07-01 4:25 ` Eric Miao 2010-07-01 4:25 ` Eric Miao 2010-07-04 15:56 ` Eric Miao 2010-07-04 15:56 ` Eric Miao 2010-06-30 16:02 ` [PATCH 27/33] Removing dead IDE_PXA_CF Christoph Egger 2010-06-30 16:02 ` Christoph Egger 2010-06-30 18:17 ` Marek Vasut 2010-06-30 18:17 ` Marek Vasut 2010-07-01 2:56 ` Eric Miao 2010-07-01 2:56 ` Eric Miao 2010-07-02 7:45 ` Juergen Schindele 2010-07-02 9:24 ` Marek Vasut 2010-07-04 15:57 ` Eric Miao 2010-06-30 16:02 ` [PATCH 28/33] Removing dead CPU_S3C24XX Christoph Egger 2010-06-30 16:02 ` Christoph Egger 2010-06-30 16:19 ` Vasily Khoruzhick 2010-06-30 16:19 ` Vasily Khoruzhick 2010-06-30 16:03 ` [PATCH 29/33] Removing dead SND_SOC_SMDK2443_WM9710 Christoph Egger 2010-06-30 16:03 ` Christoph Egger 2010-07-01 12:55 ` Jassi Brar 2010-07-01 12:55 ` Jassi Brar 2010-07-01 13:07 ` Mark Brown 2010-07-01 13:07 ` Mark Brown 2010-07-02 7:08 ` Jassi Brar 2010-07-02 7:08 ` Jassi Brar 2010-07-02 9:33 ` Mark Brown 2010-07-02 9:33 ` Mark Brown 2010-07-01 13:25 ` Christoph Egger 2010-07-01 13:25 ` Christoph Egger 2010-07-02 7:10 ` Jassi Brar 2010-07-02 7:10 ` Jassi Brar 2010-06-30 16:03 ` [PATCH 30/33] Removing dead S3C_DEV_ADC Christoph Egger 2010-06-30 16:03 ` Christoph Egger 2010-06-30 16:24 ` Arnaud Patard 2010-06-30 16:24 ` Arnaud Patard (Rtp) 2010-07-02 9:38 ` Ben Dooks 2010-07-02 9:38 ` Ben Dooks 2010-06-30 16:03 ` [PATCH 31/33] Removing dead MACH_U300_BS26 Christoph Egger 2010-06-30 16:03 ` Christoph Egger 2010-06-30 22:00 ` Linus Walleij 2010-06-30 22:00 ` Linus Walleij 2010-07-20 15:27 ` Jiri Kosina 2010-07-20 15:27 ` Jiri Kosina 2010-06-30 16:04 ` [PATCH 32/33] Removing dead CPU_ICACHE_STREAMING_DISABLE Christoph Egger 2010-06-30 16:04 ` Christoph Egger 2010-06-30 16:04 ` [PATCH 33/33] Removing dead MACH_U300_USE_I2S_AS_MASTER Christoph Egger 2010-06-30 16:04 ` Christoph Egger 2010-06-30 22:03 ` Linus Walleij 2010-06-30 22:03 ` Linus Walleij 2010-06-30 16:05 ` [PATCH 02/33] Removing dead ARCH_DAVINCI_TNETV107X Christoph Egger 2010-06-30 16:05 ` Christoph Egger 2010-06-30 17:07 ` Baruch Siach 2010-06-30 17:07 ` Baruch Siach 2010-06-30 19:49 ` Kirill A. Shutemov 2010-06-30 19:49 ` Kirill A. Shutemov 2010-06-30 20:36 ` Kevin Hilman 2010-06-30 20:36 ` Kevin Hilman
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=fc9feac62dc4eb90e8c3b7039729fa102ad0ac98.1277911346.git.siccegge@cs.fau.de \ --to=siccegge@cs.fau.de \ --cc=a.j.buxton@gmail.com \ --cc=darkstar6262@gmail.com \ --cc=felipe.balbi@nokia.com \ --cc=jkrzyszt@tis.icnet.pl \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-omap@vger.kernel.org \ --cc=linux@arm.linux.org.uk \ --cc=santosh.shilimkar@ti.com \ --cc=tomi.valkeinen@nokia.com \ --cc=tony@atomide.com \ --cc=vamos@i4.informatik.uni-erlangen.de \ --cc=x0107209@ti.com \ --cc=zmc@lurian.net \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.