Touchscreen and GPIO Interrupt

2011-08-03 Thread Nicolas Luna
Hi everyone, I'm running linux davinci on custom hardware with an AM1808. I got a problem to make working my touchscreen and gpio used as external interrupt together. My touchscreen alone is working well but when I add support for gpio used as external interrupt, the touchscreen is not work anym

Touchscreen & PMIC

2010-11-05 Thread Nicolas Luna
Hi, I'm running kernel v2.6.34 from *linux/kernel/git/khilman/linux-davinci.git* */ *on custom hardware based on OMAP-L138 EVM. I got tps65070 to manage power, touchscreen and LCD backlight. My touchscreen is working fine but when I try to communicate with my PMIC by I2C, I got this error "errno

Re: Problem with UART1 on Davinci with OMAP-L138 ?

2010-10-14 Thread Nicolas Luna
On Thu, Oct 14, 2010 at 5:18 PM, Victor Rodriguez wrote: > On Thu, Oct 14, 2010 at 4:10 PM, Nicolas Luna wrote: > > Victor, > > What should I check? You mean the file system /dev/ttyS.. is not correct? > > Regards, > > Nicolas > > > Do not top post :) >

Re: Problem with UART1 on Davinci with OMAP-L138 ?

2010-10-14 Thread Nicolas Luna
Victor, What should I check? You mean the file system /dev/ttyS.. is not correct? Regards, Nicolas On Thu, Oct 14, 2010 at 4:53 PM, Victor Rodriguez wrote: > On Thu, Oct 14, 2010 at 3:41 PM, Nicolas Luna wrote: > > Hi, > > I'm trying to communication with UART1 on OMAP-L1

Problem with UART1 on Davinci with OMAP-L138 ?

2010-10-14 Thread Nicolas Luna
Hi, I'm trying to communication with UART1 on OMAP-L138. At the moment, I can write message to the serial port but I cannot read some. I got the error 11: Resource temporarily unavailable. To activate the UART1, I commented one line (see below) in board-da850-evm.c. I wonder what is "too much wor

Re: OMAP-L138 to AM1808

2010-10-12 Thread Nicolas Luna
h this? Nicolas On Tue, Oct 12, 2010 at 3:31 PM, Juha Kuikka wrote: > > On Tue, Oct 12, 2010 at 10:12 AM, Nicolas Luna wrote: > >> Hi, >> >> I'm running Linux Davinci on a custum hardware based on OMAP L138 EVM. I >> got two cards, one with >> O

Re: OMAP-L138 to AM1808

2010-10-12 Thread Nicolas Luna
On Tue, Oct 12, 2010 at 1:19 PM, Victor Rodriguez wrote: > On Tue, Oct 12, 2010 at 12:12 PM, Nicolas Luna wrote: > > Hi, > > > > I'm running Linux Davinci on a custum hardware based on OMAP L138 EVM. I > got > > two cards, one with OMAP-L138and an other

OMAP-L138 to AM1808

2010-10-12 Thread Nicolas Luna
Hi, I'm running Linux Davinci on a custum hardware based on OMAP L138 EVM. I got two cards, one with OMAP-L138and an other with AM1808

Re: Unhandled USB IRQ

2010-08-25 Thread Nicolas Luna
Thank you it solved the problem. Regards, Nicolas On Wed, Aug 25, 2010 at 2:50 PM, Sergei Shtylyov wrote: > Hello. > > > Nicolas Luna wrote: > > I got this message when I disconnect usb key from my USB2.0 connector. >> > > */da8xx_interrupt 514: Unhandled USB

Unhandled USB IRQ

2010-08-25 Thread Nicolas Luna
Hi, I got this message when I disconnect usb key from my USB2.0 connector. *da8xx_interrupt 514: Unhandled USB IRQ 0028* I'm on OMAPL138 with custum hardware based on EVM. I'm using khilman tree Linux-2.6.34 with DA8xx glue layer and I modified my board specific files to add usb 2.0 support.

Re: Boot time

2010-08-17 Thread Nicolas Luna
Caglar, Thank you, it's appreciated. I would be interested to receive u-boot level changes as a patch. Regards, Nicolas On Tue, Aug 17, 2010 at 10:31 AM, Caglar Akyuz wrote: > On Tuesday 17 August 2010 05:15:32 pm Nicolas Luna wrote: > > Caglar, > > > > I tried

Re: Boot time

2010-08-17 Thread Nicolas Luna
pm Nicolas Luna wrote: > > Hi, > > > > Thanks guys for your advices, I applied few of them and I save a lot of > > time, I'm at 3.9 seconds now. I'll also apply the deferred init calls > > concept later. > > > > I have two other questions. >

Re: Touchscreen - MFD driver for TPS6507x family

2010-08-03 Thread Nicolas Luna
Sekhar, On Tue, Aug 3, 2010 at 12:43 PM, Nori, Sekhar wrote: > Hi Nicolas, > > On Tue, Aug 03, 2010 at 01:21:14, Nicolas Luna wrote: > > Hi Sekhar, > > > > Yes there is an other device on the bus, but I removed it and I > > decreased the clock to 20khz. I cann

Re: Touchscreen - MFD driver for TPS6507x family

2010-08-02 Thread Nicolas Luna
, Sekhar wrote: > > Hi Nicolas, > > On Fri, Jul 30, 2010 at 23:05:21, Nicolas Luna wrote: > > Sekhar, > > > > We do not have this buffer on our custom hardware and we have the NACK > > problem. SDA and SCL are directly connected from PMIC to OMAP with > > pull-

Re: Boot time

2010-07-30 Thread Nicolas Luna
Thanks for your time. Regards, Nicolas On Thu, Jul 29, 2010 at 10:42 PM, rohan tabish wrote: > set verify=n this will ignore checksum > > Regard's > RT > > --- On *Thu, 29/7/10, Nicolas Luna * wrote: > > > From: Nicolas Luna > Subject: Boot time > To:

Re: Touchscreen - MFD driver for TPS6507x family

2010-07-30 Thread Nicolas Luna
AM, Nori, Sekhar wrote: > On Thu, Jul 29, 2010 at 23:36:18, Nicolas Luna wrote: > > Ok it's good to know. > > > > Do you know if the problem is solved in AM1808 I2C silicon module? > > > > By "silicon module" you mean Logic's "System-on-M

Re: Touchscreen - MFD driver for TPS6507x family

2010-07-29 Thread Nicolas Luna
he hw design when using the I2C silicon module in the > L138 that has the problem. > > Todd > > > On Thu, 2010-07-29 at 09:18 -0400, Nicolas Luna wrote: > > Todd, > > > > Is it possible that the problem occurs because the driver is using > polling and it p

Re: Touchscreen - MFD driver for TPS6507x family

2010-07-29 Thread Nicolas Luna
Todd, Is it possible that the problem occurs because the driver is using polling and it polls the PMIC to fast and it cannot handles all commands received so it returns NACK? Thanks Nicolas On Thu, Jul 29, 2010 at 8:24 AM, Nicolas Luna wrote: > Todd, > > Yes the polling is n

Re: Touchscreen - MFD driver for TPS6507x family

2010-07-29 Thread Nicolas Luna
M CPU. > > Todd > > > On Thu, 2010-07-29 at 10:42 +0530, Nori, Sekhar wrote: > > Hi Nicolas, > > On Thu, Jul 29, 2010 at 02:16:16, Nicolas Luna wrote: > > Todd, > > > > What do I need to change if I want to use the bitbang i2c driver and > > st

Re: Touchscreen - MFD driver for TPS6507x family

2010-07-29 Thread Nicolas Luna
could change it. Thanks. Regards, Nicolas On Thu, Jul 29, 2010 at 1:12 AM, Nori, Sekhar wrote: > Hi Nicolas, > > On Thu, Jul 29, 2010 at 02:16:16, Nicolas Luna wrote: > > Todd, > > > > What do I need to change if I want to use the bitbang i2c driver and > >

Re: Touchscreen - MFD driver for TPS6507x family

2010-07-28 Thread Nicolas Luna
rds, Nicolas On Wed, Jul 28, 2010 at 5:18 PM, Nicolas Luna wrote: > I changed > > MUX_CFG(DA850, I2C0_SDA, 4, 12, 15, 2, false) > MUX_CFG(DA850, I2C0_SCL, 4, 8, 15, 2, false) > > to > > MUX_CFG(DA850, I2C0_SDA, 4, 12, 15, 8, false) > MUX_CFG(DA850, I2C0_SCL,

Re: Touchscreen - MFD driver for TPS6507x family

2010-07-28 Thread Nicolas Luna
I changed MUX_CFG(DA850, I2C0_SDA, 4, 12, 15, 2, false) MUX_CFG(DA850, I2C0_SCL, 4, 8, 15, 2, false) to MUX_CFG(DA850, I2C0_SDA, 4, 12, 15, 8, false) MUX_CFG(DA850, I2C0_SCL, 4, 8, 15, 8, false) seems to have the same behaviour.. Nicolas On Wed, Jul 28, 2010 at 5:08 PM, Nicolas Luna wrote

Re: Touchscreen - MFD driver for TPS6507x family

2010-07-28 Thread Nicolas Luna
board-da850-evm.c Nicolas On Wed, Jul 28, 2010 at 4:51 PM, Todd Fischer wrote: > On Wed, 2010-07-28 at 16:46 -0400, Nicolas Luna wrote: > > Todd, > > > > What do I need to change if I want to use the bitbang i2c driver and stop > to get those error messages. >

Re: Touchscreen - MFD driver for TPS6507x family

2010-07-28 Thread Nicolas Luna
Todd, What do I need to change if I want to use the bitbang i2c driver and stop to get those error messages. I added support for "GPIO-based bitbaging I2C" into the kernel, anything else to change in the TPS driver source code? Thanks Regards, Nicolas On Wed, Jun 9, 2010 at 4:17 PM, Todd Fi

Boot time

2010-07-28 Thread Nicolas Luna
Hi guys, I'm trying to make by board boot as quick as possible. I did some optimisation with the "All This For 1 Second Boot" wiki and other website. I would like to reduce a little bit more the boot time and I wonder if you guys could give me some clues. I copied my boot log below. For sure I'll

Re: YAFFS2 not in git????

2010-07-12 Thread Nicolas Luna
Patch it : http://www.yaffs.net/ Regards, Nicolas On Mon, Jul 12, 2010 at 2:30 AM, rohan tabish wrote: > How to use yaffs with git kernel there is no support for it? > > > Regard's > Rohan Tabish > > > ___ > Davinci-linux-open-

Re: GPIO in userspace

2010-06-30 Thread Nicolas Luna
Ok so finally I found it.. I changed echo 1 > /sys/class/gpio/gpio142/direction to echo "high" > /sys/class/gpio/gpio142/direction I think it is also possible to use "out". Thank you guys, Regards, Nicolas On Wed, Jun 30, 2010 at 1:43 PM, Nicolas Luna wrote: &

Re: GPIO in userspace

2010-06-30 Thread Nicolas Luna
I changed it: MUX_CFG(DA850, GPIO_LED0, 18, 12, 15, 8, false) -- Nicolas Luna On Wed, Jun 30, 2010 at 1:29 PM, Caglar Akyuz wrote: > On Wednesday 30 June 2010 08:06:38 pm Nicolas Luna wrote: > > Hi, > > > > With the code below in da850-board-evm.c, I can turn on

Re: GPIO in userspace

2010-06-30 Thread Nicolas Luna
have any idea? Thanks. Regards, Nicolas On Wed, Jun 30, 2010 at 3:28 AM, Christophe Aeschlimann < c.aeschlim...@acn-group.ch> wrote: > Hi, > > > On 30.06.2010 04:09, Jon Povey wrote: > >> Nicolas Luna wrote: >> >>> Hi, >>> >>> I

GPIO in userspace

2010-06-29 Thread Nicolas Luna
Hi, I wonder what would be the easiest way to control GPIO in userspace. I read the documentation gpio.txt but I'm not sure what I should use (Control interfaces?, GPIO controllers?) and how to implement it. Is there more explication about *int gpio_export_link(struct device *dev, const char *nam

Re: Kernel v2.6.34 SPI & USB

2010-06-17 Thread Nicolas Luna
Hello, Is there anyone else that tried to modify platform data (board-da850-evm.c) to add USB1.1 and USB2.0 support for OMAP-L138? Thanks Nicolas On Wed, Jun 9, 2010 at 8:58 AM, Nori, Sekhar wrote: > Hi Nicolas, > > On Tue, Jun 08, 2010 at 21:22:55, Nicolas Luna wrote: &

Re: [PATCH 3/3] davinci: spi: modify platform data for updated SPIdriver

2010-06-16 Thread Nicolas Luna
Brian, I changed .io_type from SPI_IO_TYPE_DMA to SPI_IO_TYPE_INTR with ".intr_level = 1". My kernel it not freezing at startup and both devices (CS1 and CS2) are still working fine. Anything else you would like to check? Nicolas On Wed, Jun 16, 2010 at 12:54 PM, Brian Niebuhr wrote: > > I mod

Re: [PATCH 3/3] davinci: spi: modify platform data for updated SPIdriver

2010-06-16 Thread Nicolas Luna
Brian, I modified board-da850-evm.c with what you proposed and it's working very well. I didn't test the spi flash (because I do not have one on my custum hardware), but my 2 SPI CS (spidev1.1 and spidev1.2) are working. Thanks for your time. Nicolas On Wed, Jun 16, 2010 at 11:57 AM, Brian Nie

Re: [PATCH 3/3] davinci: spi: modify platform data for updated SPIdriver

2010-06-16 Thread Nicolas Luna
Hi, I got OMAP-L138 EVM and I'm running kernel v2.6.34 from khilman/linux-davinci.git and I would like to try the SPI patch. I successfully applied the patch to the driver, and now I'm trying to modify platform data in board-da850-evm.c. I added the following lines : #include [...] static stru

Re: Touchscreen - MFD driver for TPS6507x family

2010-06-09 Thread Nicolas Luna
Bastian, Glad to see that it worked. I also patched drivers/mfd/tps6507x.c otherwise it's impossible to compile the kernel. I have the same behaviour about i2c_davinci. I didn't investigate at the moment to find the problem, maybe we could ask Todd if he encounter this problem. Nicolas On Wed,

Re: Kernel v2.6.34 SPI & USB

2010-06-08 Thread Nicolas Luna
, Sergei Shtylyov wrote: > Hello. > > > Nicolas Luna wrote: > > I'm running kernel v2.6.34 from >> /linux/kernel/git/khilman/linux-davinci.git///./ I wonder why SPI is not >> anymore supported, everything about the driver (files, code, etc) have been >> rem

Kernel v2.6.34 SPI & USB

2010-06-08 Thread Nicolas Luna
Hi everyone, I'm running kernel v2.6.34 from *linux/kernel/git/khilman/linux-davinci.git* */.* I wonder why SPI is not anymore supported, everything about the driver (files, code, etc) have been removed. Is there any patch to add it to the mainline (2.6.34) ? Also, I got linking error when I try

Re: Touchscreen - MFD driver for TPS6507x family

2010-06-08 Thread Nicolas Luna
Bastian, Here's my .config file that works on my *OMAP-L138 EVM*. I used this kernel http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git;a=commit;h=33bd223cd8f649be74975f9abc52c84f7a2ee8ab

Re: Touchscreen - MFD driver for TPS6507x family

2010-06-07 Thread Nicolas Luna
e. So everything seems to be ok even if there's a lot a communication on the bus. Thank you. Nicolas On Fri, Jun 4, 2010 at 4:33 PM, Todd Fischer wrote: > Hi Nicolas, > > > On Fri, 2010-06-04 at 16:15 -0400, Nicolas Luna wrote: > > Hi, > > > > I downloaded and

Touchscreen - MFD driver for TPS6507x family

2010-06-04 Thread Nicolas Luna
Hi, I downloaded and tried the kernel v2.6.34 from * linux/kernel/git/khilman/linux-davinci.git**/ *to get the touchscreen patch. It is working well, but I wonder if it is normal that the touchscreen constantly use the I2C bus, even if I don't touch to the touchscreen. Because of that, it is not p

OMAP-L138 SPI kernel panic

2010-03-08 Thread Nicolas Luna
Hi everyone, I got the ZOOM OMAP-L138 EVM DEVELOPMENT KIT and DaVinci-PSP-SDK-03.20.00.06 with Arago distribution developed by TI for OMAP processor. I'm trying to communicate with an external spi device. I configured my kernel to support spi and modified arch source file to add "spidev" to /dev