- 25 May, 2007 32 commits
-
-
Paul Walmsley authored
Change users of OMAP24XX_CTRL_BASE to use OMAP2_CTRL_BASE. Remove the OMAP24XX_CTRL_BASE define. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Change users of OMAP24XX_SDRC_BASE to use OMAP2_SDRC_BASE. Remove the OMAP24XX_SDRC_BASE define. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Change users of OMAP24XX_PRCM_BASE to use OMAP2_PRCM_BASE. Remove the OMAP24XX_PRCM_BASE define. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Change users of OMAP24XX_32KSYNCT_BASE to use OMAP2_32KSYNCT_BASE, in preparation to remove OMAP24XX_32KSYNCT_BASE. Convert the 32K sync timer reference in pm.c to use a symbolic constant rather than a magic number. Remove the OMAP24XX_32KSYNCT_BASE define. Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Paul Walmsley authored
Redo the defines in omap24xx.h to fix poorly-named defines, such as OMAP24XX_SDRC_BASE, which is different between 2420 and 2430. Also, prepare for future multi-architecture kernels by removing the architecture prefixes from several of the defines. (Presumably in the future these will be assigned to 'static void __iomem *'s by runtime init code depending on the CPU type.) Signed-off-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Kevin Hilman authored
Removes the tsc2046 specific driver, and changes the 2430SDP platform code to use the ads7846 instead. Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
David Brownell authored
McSPI functional updates: - Implement the spi_transfer.delay_usecs mechanism (previously omitted). - Remove strange per-device <asm/arch/mcspi.h> hookery ... it's not even correct as a per-device config. We *always* want "single channel" mode (in "keep chipselect active" mode); and if we used "turbo", it would be a per-transfer option (as an rx-only double buffering tweak). - When enabling/disabling a channel, old value is irrelevant; don't read. - Sanity check spi->mode bits, and reject ones we don't support. - Streamline DMA channel selection: do it once during probe(), using static tables; smaller, faster. OMAP 2430 still needs changes here, minimally for the third SPI controller. (Board init should change too, to not assume all SPI controllers are used on every board...) - Remove #ifdefs around doing reset on driver startup ... enable clocks so we can do that (!), and turn on auto-idle. - Waste less time enabling/disabling the clocks while working the queue. - Flag DMA channels as freed when we do so ... so they can't get reused later (when another driver may own them). - Minor PIO fix: don't need to verify TX side completed except for TX_ONLY mode, since RX completed implies TX completed. - Remove bogus code which always dropped chipselect after the last RX_ONLY word (rather than leaving it enabled). - Move error checks out of work loop into setup() and transfer(), so that they're reported ASAP rather than as mysterious transfer errors). Plus a handful of cleanups: whitespace fixes, comments. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Initial updates for McSPI driver: - bug fixes: * handle byte-wide tx pio correctly for multiple bytes * cleanup workqueue on module exit * allow modular build (and rmmod) * request_mem_region * remove wrongly exported driver symbol - cleanup: * remove needless debug strings from object file * remove needless init and exit sections from object file * remove superfluous get/put of spi_master * fix whitespace and indentation bugs * fix line-too-long bugs * use spi_master_*() calls not class_*() calls * use dev_*() messaging not printk Combined with the next patch, this gives around a 10% shrink to the driver footprint, improves correctness, and helps it get ready to merge upstream. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Fixes some Kconfig glitches with lcd_mipid.c ... I suspect this driver should use SPI_MODE_0 now (but, no specs so I can't know). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Various fixes needed to build the tsc2102 audio. Several fixes relate specifically to building it as a module. Note that this doesn't address the need for omap-alsa-dma.c to go into a separate module so that e.g. tsc2101 and tsc2102 modules can both be built, or the assumption that the audio is going out over McBSP not EAC. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
Partial build fixes for tsc2101 audio. It still won't link though, it needs undefined omap_tsc2101_{read,write}() functions to access chip registers ... and requires that e.g. tsc2102 audio isn't also configured (they use the same exported McBSP DMA functions, which likewise prevent use with EAC). Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-
David Brownell authored
The OMAP SPI controller drivers handle SPI_CPHA incorrectly. It should mean: CPHA=0 ... sample at leading edge of clock CPHA=1 ... sample at trailing edge of clock This fixes them, and the protocol drivers which depended on the wrong meaning. Separate ads7846 and omap_uwire patches are going upstream, already since those drivers were already pushed there. The tsc2102 code already had this right ... strange. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Acked-by: Kevin Hilman <khilman@mvista.com>
-
andrzej zaborowski authored
The TSC2102 option in drivers/input/touchscreen/Kconfig got lost somewhere in January (although the commit is not visible in git-web), so adding it back. Also remove the input_dev.dev assignment due to an upstream change. Signed-off-by: Andrzej Zaborowski <balrog@zabor.org> From 492e5cbe39613f06b8146c12bff9500259739fd5 Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski <balrog@zabor.org> Date: Tue, 22 May 2007 20:08:47 +0200 Subject: [PATCH] Re-add a lost TSC2102 touchscreen Kconfig entry. The TSC2102 option in drivers/input/touchscreen/Kconfig got lost somewhere in January (although the commit is not visible in git-web), so adding it back. Also remove the input_dev.dev assignment due to an upstream change. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
andrzej zaborowski authored
- CONFIG_BACKLIGHT_DEVICE now became CONFIG_BACKLIGHT_CLASS_DEVICE. - Re-add OMAPBL_MAX_INTENSITY usage that was removed in last commit and the macro became unused. Signed-off-by: Andrzej Zaborowski <balrog@zabor.org> From feb798039e5c6e06f64556ad482dbbd021153a1b Mon Sep 17 00:00:00 2001 From: Andrzej Zaborowski <balrog@zabor.org> Date: Tue, 22 May 2007 19:59:11 +0200 Subject: [PATCH] OMAP: Update omap-bl Kconfig entry. - CONFIG_BACKLIGHT_DEVICE is now CONFIG_BACKLIGHT_CLASS_DEVICE. - Re-add OMAPBL_MAX_INTENSITY usage that became unused after last commit. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix section mismatch in OMAP2 board-generic.c Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix section mismatch in OMAP1 board-generic.c Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix section mismatch in board-2430sdp.c Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix section mismatch in board-palmz71.c Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix section mismatch in board-palmtt.c Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix section mismatch in board-palmte.c Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix section mismatch in board-sx1.c Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix section mismatch in board-p2.c Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix section mismatch in board-n800.c Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix section mismatch in board-nokia770.c Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix section mismatch in board-h4.c Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix section mismatch in board-h3.c Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Update palmte_defconfig to enable CONFIG_OMAP_GPIO_SWITCH. Else, we get arch/arm/mach-omap1/built-in.o: In function `omap_palmte_init': board-palmte.c:(.init.text+0xbc0): undefined reference to `omap_register_gpio_switches' Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Remove warning in tlv320aic23.c about unused variable Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Convert omap-alsa-sx1.c to new struct format to make this file compile again. Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Fix compilation of dsp_mem.c. omapfb_ready is only available if CONFIG_FB_OMAP_LCDC_EXTERNAL is set, else compiler stops with error. status is only used in case CONFIG_FB_OMAP_LCDC_EXTERNAL is set. Compiler warns about this. Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Update omap_perseus2_730_defconfig to disable broken lcd_p2.c until this is fixed. Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Dirk Behme authored
Convert some SA* interrupt flags to IRQF* Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 24 May, 2007 8 commits
-
-
Tony Lindgren authored
Merge branches 'master' and 'omap-drivers' Conflicts: arch/arm/configs/omap_h2_1610_defconfig arch/arm/configs/omap_osk_5912_defconfig arch/arm/mach-omap1/board-h2.c arch/arm/mach-omap1/board-palmte.c arch/arm/mach-omap2/Kconfig arch/arm/mach-omap2/Makefile arch/arm/mach-omap2/board-2430sdp.c arch/arm/mach-omap2/board-apollon-keys.c arch/arm/mach-omap2/board-h4.c arch/arm/mach-omap2/board-n800-audio.c arch/arm/mach-omap2/board-n800-dsp.c arch/arm/mach-omap2/board-n800-usb.c arch/arm/mach-omap2/devices.c arch/arm/mach-omap2/io.c arch/arm/mach-omap2/pm.c arch/arm/plat-omap/Makefile arch/arm/plat-omap/dsp/dsp_common.c drivers/Makefile drivers/i2c/busses/i2c-omap.c drivers/i2c/chips/Kconfig drivers/i2c/chips/Makefile drivers/i2c/chips/menelaus.c drivers/i2c/chips/tlv320aic23.c drivers/i2c/chips/twl4030_core.c include/asm-arm/arch-omap/board-2430sdp.h include/asm-arm/arch-omap/eac.h include/asm-arm/arch-omap/gpio.h include/asm-arm/arch-omap/mmc.h include/asm-arm/arch-omap/omap24xx.h include/asm-arm/arch-omap/onenand.h include/asm-arm/arch-omap/pm.h include/asm-arm/arch-omap/twl4030.h include/asm-arm/hardware/tsc2101.h include/linux/i2c-id.h net/ipv4/netfilter/Kconfig
-
Dirk Behme authored
Fix warning drivers/video/omap/lcdc.c:878: warning: initialization from incompatible pointer type Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Syed Mohammed Khasim authored
Omap2430 has additional support for high-speed I2C. This patch moves I2C speed parameter (from module) to platform data. Also added basic High Speed support based on I2C bus speed. This patch is tested for high speed I2C (with TWL4030 Keypad) and works as expected. Signed-off-by: Syed Mohammed Khasim <x0khasim@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Syed Mohammed, Khasim authored
Resubmitting after incorporating review comments This patch contains the formatting changes. Signed-off-by: Syed Mohammed Khasim <x0khasim@ti.com> Files: drivers/i2c/busses/i2c-omap.c ============================================================================= Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Nishanth Menon authored
Modfied watchdog driver to use base address provided in platform defn Cleaned up a bunch of statics used. Added 2430 baseaddress defn Addressed review comments for patch1 and 2 reported by Trilok Soni and Tony Signed-off-by: Nishanth Menon <menon.nishanth@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Toshihiro Kobayashi authored
Add DSP common code for OMAP. This patch adds code to idle the OMAP DSP. Signed-off-by: Toshihiro Kobayashi <toshihiro.kobayashi@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Nikula authored
This adds a driver for TSC2301 including support for audio, keypad and touchscreen. Patch is originally developed for Nokia N800 by Imre Deak, Jarkko Nikula, Jarkko Oikarinen and Juha Yrjola. Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
-
Andrzej Zaborowski authored
This adds a driver for the TSC2102 chip by Texas Instruments. This driver is responsible for all communication with the chip and doesn't export anything for user-space, but for other drivers controlling devices connected to the chip. Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
-