aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/board-palmte.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2009-01-15 06:55:59 -0500
committerTony Lindgren <tony@atomide.com>2009-01-15 07:07:48 -0500
commite999bbe7f1318390e997d13e508e4f16b1b130af (patch)
tree876adfde20c84953da12a1808bccf58bab43d7eb /arch/arm/mach-omap1/board-palmte.c
parent3127f8f8595a064b3f1a1837fea2177902589ac3 (diff)
ARM: OMAP: Remove unused platform devices, v3
This patch removes old platform devices. Alsa should now be using the ASoC driver. For boards not yet using ASoC, please see sound/soc/omap/osk5912.c. Add dummy aic23_power_up and aic23_power_down functions for 770 to keep things compiling. Remove references to omap_gpio_switch, and unused h2_nand_dev_ready function. This patch is based on an earlier patch by Arun KS. Cc: Jarkko Nikula <jarkko.nikula@nokia.com> Signed-off-by: Arun KS <arunks@mistralsolutions.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/board-palmte.c')
-rw-r--r--arch/arm/mach-omap1/board-palmte.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/arm/mach-omap1/board-palmte.c b/arch/arm/mach-omap1/board-palmte.c
index 00322f42f455..99f2b43f2541 100644
--- a/arch/arm/mach-omap1/board-palmte.c
+++ b/arch/arm/mach-omap1/board-palmte.c
@@ -42,8 +42,6 @@
42#include <mach/irda.h> 42#include <mach/irda.h>
43#include <mach/keypad.h> 43#include <mach/keypad.h>
44#include <mach/common.h> 44#include <mach/common.h>
45#include <mach/mcbsp.h>
46#include <mach/omap-alsa.h>
47 45
48static void __init omap_palmte_init_irq(void) 46static void __init omap_palmte_init_irq(void)
49{ 47{
@@ -203,24 +201,6 @@ static struct omap_uart_config palmte_uart_config __initdata = {
203 .enabled_uarts = (1 << 0) | (1 << 1) | (0 << 2), 201 .enabled_uarts = (1 << 0) | (1 << 1) | (0 << 2),
204}; 202};
205 203
206static struct omap_mcbsp_reg_cfg palmte_mcbsp1_regs = {
207 .spcr2 = FRST | GRST | XRST | XINTM(3),
208 .xcr2 = XDATDLY(1) | XFIG,
209 .xcr1 = XWDLEN1(OMAP_MCBSP_WORD_32),
210 .pcr0 = SCLKME | FSXP | CLKXP,
211};
212
213static struct omap_alsa_codec_config palmte_alsa_config = {
214 .name = "TSC2102 audio",
215 .mcbsp_regs_alsa = &palmte_mcbsp1_regs,
216 .codec_configure_dev = NULL, /* tsc2102_configure, */
217 .codec_set_samplerate = NULL, /* tsc2102_set_samplerate, */
218 .codec_clock_setup = NULL, /* tsc2102_clock_setup, */
219 .codec_clock_on = NULL, /* tsc2102_clock_on, */
220 .codec_clock_off = NULL, /* tsc2102_clock_off, */
221 .get_default_samplerate = NULL, /* tsc2102_get_default_samplerate, */
222};
223
224#ifdef CONFIG_APM 204#ifdef CONFIG_APM
225/* 205/*
226 * Values measured in 10 minute intervals averaged over 10 samples. 206 * Values measured in 10 minute intervals averaged over 10 samples.