From: Christoph Egger <siccegge@cs.fau.de> To: Tony Lindgren <tony@atomide.com>, Russell King <linux@arm.linux.org.uk>, Ladislav Michl <ladis@linux-mips.org>, Kalle Valo <kalle.valo@iki.fi>, Kevin Hilman <khilman@deeprootsystems.com>, Paul Walmsley <paul@pwsan.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 05/33] Removing dead OMAP_IR Date: Wed, 30 Jun 2010 17:55:22 +0200 [thread overview] Message-ID: <b7209c2cb666c73a3affbb44c2637a4f2086af08.1277911346.git.siccegge@cs.fau.de> (raw) In-Reply-To: <cover.1277911345.git.siccegge@cs.fau.de> OMAP_IR 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-h2.c | 18 ------------------ arch/arm/mach-omap2/board-h4.c | 4 ---- 2 files changed, 0 insertions(+), 22 deletions(-) diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c index d1100e4..d7640d3 100644 --- a/arch/arm/mach-omap1/board-h2.c +++ b/arch/arm/mach-omap1/board-h2.c @@ -292,15 +292,6 @@ static struct platform_device h2_kp_device = { #define H2_IRDA_FIRSEL_GPIO_PIN 17 -#if defined(CONFIG_OMAP_IR) || defined(CONFIG_OMAP_IR_MODULE) -static int h2_transceiver_mode(struct device *dev, int state) -{ - /* SIR when low, else MIR/FIR when HIGH */ - gpio_set_value(H2_IRDA_FIRSEL_GPIO_PIN, !(state & IR_SIRMODE)); - return 0; -} -#endif - static struct omap_irda_config h2_irda_data = { .transceiver_cap = IR_SIRMODE | IR_MIRMODE | IR_FIRMODE, .rx_channel = OMAP_DMA_UART3_RX, @@ -437,15 +428,6 @@ static void __init h2_init(void) /* omap_cfg_reg(U19_ARMIO1); */ /* CD */ omap_cfg_reg(BALLOUT_V8_ARMIO3); /* WP */ - /* Irda */ -#if defined(CONFIG_OMAP_IR) || defined(CONFIG_OMAP_IR_MODULE) - omap_writel(omap_readl(FUNC_MUX_CTRL_A) | 7, FUNC_MUX_CTRL_A); - if (gpio_request(H2_IRDA_FIRSEL_GPIO_PIN, "IRDA mode") < 0) - BUG(); - gpio_direction_output(H2_IRDA_FIRSEL_GPIO_PIN, 0); - h2_irda_data.transceiver_mode = h2_transceiver_mode; -#endif - platform_add_devices(h2_devices, ARRAY_SIZE(h2_devices)); omap_board_config = h2_config; omap_board_config_size = ARRAY_SIZE(h2_config); diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 0665f2c..ce4292b 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c @@ -345,10 +345,6 @@ static void __init omap_h4_init(void) * You have to mux them off in device drivers later on * if not needed. */ -#if defined(CONFIG_OMAP_IR) || defined(CONFIG_OMAP_IR_MODULE) - omap_cfg_reg(K15_24XX_UART3_TX); - omap_cfg_reg(K14_24XX_UART3_RX); -#endif #if defined(CONFIG_KEYBOARD_OMAP) || defined(CONFIG_KEYBOARD_OMAP_MODULE) if (omap_has_menelaus()) { -- 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 05/33] Removing dead OMAP_IR Date: Wed, 30 Jun 2010 17:55:22 +0200 [thread overview] Message-ID: <b7209c2cb666c73a3affbb44c2637a4f2086af08.1277911346.git.siccegge@cs.fau.de> (raw) In-Reply-To: <cover.1277911345.git.siccegge@cs.fau.de> OMAP_IR 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-h2.c | 18 ------------------ arch/arm/mach-omap2/board-h4.c | 4 ---- 2 files changed, 0 insertions(+), 22 deletions(-) diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c index d1100e4..d7640d3 100644 --- a/arch/arm/mach-omap1/board-h2.c +++ b/arch/arm/mach-omap1/board-h2.c @@ -292,15 +292,6 @@ static struct platform_device h2_kp_device = { #define H2_IRDA_FIRSEL_GPIO_PIN 17 -#if defined(CONFIG_OMAP_IR) || defined(CONFIG_OMAP_IR_MODULE) -static int h2_transceiver_mode(struct device *dev, int state) -{ - /* SIR when low, else MIR/FIR when HIGH */ - gpio_set_value(H2_IRDA_FIRSEL_GPIO_PIN, !(state & IR_SIRMODE)); - return 0; -} -#endif - static struct omap_irda_config h2_irda_data = { .transceiver_cap = IR_SIRMODE | IR_MIRMODE | IR_FIRMODE, .rx_channel = OMAP_DMA_UART3_RX, @@ -437,15 +428,6 @@ static void __init h2_init(void) /* omap_cfg_reg(U19_ARMIO1); */ /* CD */ omap_cfg_reg(BALLOUT_V8_ARMIO3); /* WP */ - /* Irda */ -#if defined(CONFIG_OMAP_IR) || defined(CONFIG_OMAP_IR_MODULE) - omap_writel(omap_readl(FUNC_MUX_CTRL_A) | 7, FUNC_MUX_CTRL_A); - if (gpio_request(H2_IRDA_FIRSEL_GPIO_PIN, "IRDA mode") < 0) - BUG(); - gpio_direction_output(H2_IRDA_FIRSEL_GPIO_PIN, 0); - h2_irda_data.transceiver_mode = h2_transceiver_mode; -#endif - platform_add_devices(h2_devices, ARRAY_SIZE(h2_devices)); omap_board_config = h2_config; omap_board_config_size = ARRAY_SIZE(h2_config); diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 0665f2c..ce4292b 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c @@ -345,10 +345,6 @@ static void __init omap_h4_init(void) * You have to mux them off in device drivers later on * if not needed. */ -#if defined(CONFIG_OMAP_IR) || defined(CONFIG_OMAP_IR_MODULE) - omap_cfg_reg(K15_24XX_UART3_TX); - omap_cfg_reg(K14_24XX_UART3_RX); -#endif #if defined(CONFIG_KEYBOARD_OMAP) || defined(CONFIG_KEYBOARD_OMAP_MODULE) if (omap_has_menelaus()) { -- 1.7.0.4
next prev parent reply other threads:[~2010-06-30 15:55 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 [this message] 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 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=b7209c2cb666c73a3affbb44c2637a4f2086af08.1277911346.git.siccegge@cs.fau.de \ --to=siccegge@cs.fau.de \ --cc=kalle.valo@iki.fi \ --cc=khilman@deeprootsystems.com \ --cc=ladis@linux-mips.org \ --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=paul@pwsan.com \ --cc=santosh.shilimkar@ti.com \ --cc=tony@atomide.com \ --cc=vamos@i4.informatik.uni-erlangen.de \ /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.