- 02 May, 2008 1 commit
-
-
Kevin Hilman authored
Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
- 24 Apr, 2008 8 commits
-
-
David Brownell authored
Now that the EVM can treat its GPIO expanders as banks of normal GPIOs (albeit ones that require sleeping accessors), remove the old LED code in favor of the more generic support. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
David Brownell authored
Declare two of the three I2C GPIO expanders to the EVM board init logic, and use them. One hooks up to the LEDs using the leds-gpio driver; the other exposes a switch to sysfs, and initializes the audio clocks. The third expander is currently handled by gpio_expander_davinci.c (which has not yet gone upstream, and probably can't), so a patch to handle that expander should remove that file and its users. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
David Brownell authored
Switch DaVinci over to using the new GPIO library, so it can access GPIO expanders and other non-SOC GPIOs using the same calls. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Eric Nelson (Boundary Devices) authored
UART_DAVINCI_PWREMU is a 2-byte register, but davinci_serial_outp only writes a single byte. Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Troy Kisky authored
This reverts part of commit 8b232558. If a signal terminates a write transfer the bus would lock up and the next read or write would give "timeout waiting for bus ready." Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Troy Kisky authored
mainline won't accept a non-zero default delay. If a platform needs this, it must override the platform data. My device doesn't need this. I don't know if the dvevm does or not. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Troy Kisky authored
Cleanup spacing and spelling mistakes. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Bernard Blackham authored
The I2C EMAC code for reading the MAC address from EEPROM uses deadbeEf in one place and deadbeAf in others as a magic string. As a result, all DVEVMs actually get the same default MAC address. Here, we correct them to the British English spelling of beef to fix the issue and avoid further confusion (hopefully). Signed-off-by: Bernard Blackham <bernard@largestprime.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
- 02 Apr, 2008 19 commits
-
-
Kevin Hilman authored
This fixes compilation after 2.6.25-rc8 merge, but needs a real implementation. Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Kevin Hilman authored
-
Dirk Behme authored
This fixes Oops at kernel startup while "scanning" for TLV320AIC23IDx addresses. Signed-off-by: Alexander Vasiliev <alexvasiljev@gmail.com> Signed-off-by: Brad Griffis <bgriffis@ti.com> Signed-off-by: Dirk Behme <dirk.behme@gmail.com> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Kevin Hilman authored
This reverts commit a8e67c9d.
-
Bernard Blackham authored
Current driver does not work on EVM because we need to enable ATA pins via the GPIO expander. This is not the best way to do it, but I don't have a better one yet. Signed-off-by: Bernard Blackham <bernard@largestprime.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Bernard Blackham authored
GPIO expander failure case did not unlock a mutex (e.g. when the I2C bus could not be found). Fix that. Signed-off-by: Bernard Blackham <bernard@largestprime.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Bernard Blackham authored
dev->id for the i2c platform device is now 1, instead of 0. Update the GPIO expander to realise that. Signed-off-by: Bernard Blackham <bernard@largestprime.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Kevin Hilman authored
This reverts commit 5d641071.
-
Yusuf Caglar Akyuz authored
- Get i2c adapter with address 1 not 0 in davinci_i2c_expander_read - Unlock mutex on error exit path in davinci_i2c_expander_op Signed-off-by: Yusuf Caglar Akyuz <caglarakyuz@gmail.com> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Andrzej Zaborowski authored
[Sorry, the previous patch was a copy/paste mistake, this one should be better] I have no access to the docs for this chip but I'm pretty sure the current address of the two DIDR1 registers is wrong because it's outside the TUSB-specific register space. The modified address in turn has a good chance to be correct. Signed-off-by: Andrzej Zaborowski <balrog@zabor.org> Acked-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Fixed output from checkpatch.pl and got rid of double spaces. Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Klaus Pedersen authored
While getting trying to get the keyboard driver to accept my keyboard layout I found and fixed a few bugs. - Fixed the driver to respect the matrix size and .rep fields from "struct omap_kp_platform_data" - Fixed misc. configuration problems. - Fixed some problems with the interrupt/polling code by implementing 100% event driven scan handling (there was a race between the timer and interrupt initiated calls to twl_4030_kp_scan()). - Too many interrupts was delivered -> enable "PENDING_DISABLE". - The controller would hang with keys stuck on -> program KEYP_TIMEOUT so sensible timeout. Other enhancements: - Simple ghost key suppression. - Support for non-matrix switches. That is switches connected between GND and a row. To configure the driver for the non-matrix switches you add the key as you normally would, but the col-index will have to be the same value as the col-size. For example with .cols = 2 and you will use the value "2" for COL for the two non-matrix switches: static int rocket_control_keymap[] = { /* COL ROW */ KEY(0, 0, KEY_3), KEY(0, 1, KEY_2), KEY(1, 0, KEY_1), KEY(1, 1, KEY_LAUNCH), KEY(2, 0, KEY_ABORT), KEY(2, 1, KEY_SD), 0 } Cleanup: I might have gone too far when fixing the twl4030-keypad.h file, but I was loosing breath and attention spelling my way through these 32+ letter identifiers with names like: BIT_KEYP_CTRL_REG_TOLE_EN_MASK which is a bit in the register: REG_KEYP_CTRL_REG leading to statements like: twl4030_kpwrite_u8(TWL4030_MODULE_KEYPAD, BIT_KEYP_CTRL_REG_TOLE_EN_MASK, REG_KEYP_CTRL_REG); What I did was to take out all the redundant stuff like BIT, REG and MASK, making reading a little easier: twl4030_kpwrite_u8(TWL4030_MODULE_KEYPAD, KEYP_CTRL_TOLE_EN, KEYP_CTRL); There was a lot of configuration stuff in header file that wasn't really needed. I think I even found a joke: .h had this line: #define BIT_PTV_REG_PTV4 (0x4) .c had this: /* Set Pre Scalar Field PTV to 4 */ reg = BIT_LK_PTV_REG_PTV_MASK & (BIT_PTV_REG_PTV4 << BIT_LK_PTV_REG_PTV); Signed-off-by: Klaus Pedersen <klaus.k.pedersen@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Roman Tereshonkov authored
Signed-off-by: Roman Tereshonkov <roman.tereshonkov@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Hiroshi DOYU authored
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com> Acked-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Seth Forshee authored
OMAP2430/3430 contain an 1.8V-only MMC2 host that is not properly supported by the current driver. This patch contains changes to correctly set up this host. Signed-off-by: Seth Forshee <seth.forshee@gmail.com> Acked-by: Francisco Alecrim <francisco.alecrim@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Jarkko Lavinen authored
This patch adds device configuration to provide second HSMMC slot support on OMAP 2430 and 3430 boards. Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com> Change CONFIG_ARCH_OMAP24XX by CONFIG_ARCH_OMAP243X macro when this config is needed only for 2430 boards. Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br> Acked-by: Francisco Alecrim <francisco.alecrim@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Merge branches 'master' and 'linus'
-
Francisco Alecrim authored
Refresh palmz71_defconfig Signed-off-by: Francisco Alecrim <francisco.alecrim@indt.org.br> Signed-off-by: Tony Lindgren <tony@atomide.com>
-
Tony Lindgren authored
Change error to warning for twl4030 clock init Signed-off-by: Tony Lindgren <tony@atomide.com>
-
- 01 Apr, 2008 12 commits
-
-
Eric Nelson authored
davinci_request_dma() was using -1 as an array index for dmaqnum[]. Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Bernard Blackham authored
Troy found that mmc_davinci_start_command was previously enabling interrupts too early. This was allowing a TX interrupt to be handled while the FIFO was being stuffed, resulting in an overstuffed fifo. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Bernard Blackham <bernard@largestprime.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Bernard Blackham authored
Make sure FIFO does not need to be serviced before handling other interrupt sources. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Bernard Blackham <bernard@largestprime.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Bernard Blackham authored
Use rw_threshold where appropriate instead of assuming it is 32. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Bernard Blackham <bernard@largestprime.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Bernard Blackham authored
This patch improves performance for filling the FIFO by rewriting in assembly, and as a side-effect fixes odd-byte transfers. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Bernard Blackham <bernard@largestprime.net> Signed-off-by: Kevin Hilman <khilman@mvista.com>
-
Linus Torvalds authored
-
Christoph Lameter authored
Small typo in the patch recently merged to avoid the unused symbol message for count_partial(). Discussion thread with confirmation of fix at http://marc.info/?t=120696854400001&r=1&w=2 Typo in the check if we need the count_partial function that was introduced by 53625b42Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6Linus Torvalds authored
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6: firewire: fw-ohci: plug dma memory leak in AR handler
-
git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.25Linus Torvalds authored
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.25: sh: Fix up uImage compression type remove include/asm-sh/floppy.h sh: Fix TIF_USEDFPU clearing under FPU emulation. sh: Fix occasional FPU register corruption under preempt.
-
git://git.kernel.org/pub/scm/linux/kernel/git/ralf/upstream-linusLinus Torvalds authored
* 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/ralf/upstream-linus: [MIPS] XSS1500: Fix compilation [MIPS] Bigsur: make defconfig more useful. [MIPS] Alchemy: work around clock misdetection on early Au1000 [MIPS] Add missing 4KEC TLB refill handler [MIPS] BCM1480: Fix PCI/HT IO access [MIPS] Fix the installation condition of MIPS clocksource [MIPS] Check for GCC r10k-cache-barrier support [MIPS] I8253: Export i2853_lock to modules. [MIPS] VPE loader: Check result of memory allocation.
-
Oliver Schuster authored
This patch corrects an error in the driver it8712f_wdt. You cannot set the 16-bit WDT_TIMEOUT access as a 16-bit outw, because the byte ordering will be wrong. So just do the high 8 bits as a separate access. Signed-off-by: Oliver Schuster <olivers137@aol.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-
Linus Torvalds authored
* master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] 4875/1: Add MODULE_ALIAS to ixp4xx-beeper module [ARM] 4873/1: Fix ITE 8152 interrupt demux [ARM] 4878/1: Add oabi shim for fstatat64
-