video processing front end mutex usage and parameter passing

2013-05-06 Thread Todd Fischer
Hi, In reviewing vpfe_capture.c, we are seeing some code that seems wrong. We don't fully understand when the VPFE device lock needs to be held, but it seems the lock is not used consistently. Also in some cases we found a pointer to a structure was passed in as a parameter and instead of

Re: Counter with dm355

2012-10-16 Thread Todd Fischer
On 10/15/2012 02:42 PM, cristiane.san...@ivision.ind.br wrote: Hi! I need to make a pulse counter with davinci DM355. I'm tryng to use timer3 (External event capture via timer input pins), but I didn't get. Anyone knows how to do this? Thanks You can use a GPIO in interrupt mode. I think

Status of DM6446 support in

2011-03-31 Thread Todd Fischer
Sekhar, I have been seeing some DM6446 related activity on this list. We need to update from 2.6.18 to something more recent for the DM6446. Do you have a suggestion on what kernel source would be best to use as our starting point (maybe a tag on linux-davinci repo)? Are you away of any

Re: Touchscreen - MFD driver for TPS6507x family

2011-03-09 Thread Todd Fischer
On 03/09/2011 03:21 AM, Bastian Ruppert wrote: Dear Todd Fischer, Nicolas Luna and Sekhar, hello group, Todd Fischer todd.fischer at ridgerun.com Thu Jul 29 06:43:10 CDT 2010 Nicolas, Also, due to another hardware limitation, the touch screen driver using polling instead of interrupts. I

DM365 deep sleep

2011-02-11 Thread Todd Fischer
Sekhar, What is the status for deep sleep support on the DM365? If it is available, where can I find it? If not available, I was planning on starting adding DM365 deep sleep support using the mach-davinci pm.c and sleep.S code from the latest davinci-linux git repo unless you have another

RE: Touchscreen - MFD driver for TPS6507x family

2010-07-29 Thread Todd Fischer
Nicolas, Also, due to another hardware limitation, the touch screen driver using polling instead of interrupts. I heard a hardware change that will allow for interrupts to be used is planned as well. The polling overhead costs around 2% ARM CPU. Todd On Thu, 2010-07-29 at 10:42 +0530, Nori,

Re: Touchscreen - MFD driver for TPS6507x family

2010-07-29 Thread Todd Fischer
, Nicolas On Thu, Jul 29, 2010 at 7:43 AM, Todd Fischer todd.fisc...@ridgerun.com wrote: Nicolas, Also, due to another

Re: Touchscreen - MFD driver for TPS6507x family

2010-07-28 Thread Todd Fischer
? You need to modify the arm/arch/mach-davinci board file to configure the pinmux as GPIOs, not I2C signaling. Which hardware board are you using? Thanks Regards, Nicolas On Wed, Jun 9, 2010 at 4:17 PM, Todd Fischer todd.fisc...@ridgerun.com wrote: HI Bastian

Re: Touchscreen - MFD driver for TPS6507x family

2010-07-28 Thread Todd Fischer
Nicolas On Wed, Jul 28, 2010 at 4:51 PM, Todd Fischer todd.fisc...@ridgerun.com wrote: On Wed, 2010-07

Re: Touchscreen - MFD driver for TPS6507x family

2010-06-09 Thread Todd Fischer
HI Bastian and Nicolas, I recall getting this error when I wasn't using the bitbang i2c driver on the OMAP-L138. Todd On Wed, 2010-06-09 at 10:59 +0200, Bastian Ruppert wrote: Hello Nicolas, thanks for the .conf file. this will help you to check if your hardware is ok. It helped.

Re: Touchscreen - MFD driver for TPS6507x family

2010-06-04 Thread Todd Fischer
Hi Nicolas, On Fri, 2010-06-04 at 16:15 -0400, Nicolas Luna wrote: 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

Re: Why can not I ping several cameras for the same time?

2010-04-29 Thread Todd Fischer
Sounds like they all have the same Ethernet MAC address. On each unit, run ifconfig eth0 and you should get output like: r...@arago:/# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:08:EE:03:85:87 inet addr:10.0.0.181 Bcast:10.0.0.255 Mask:255.255.255.0 inet6

[PATCH 2/2] TPS6507x touch screen driver board specific initialization values.

2010-04-05 Thread Todd Fischer
The touch screen controller in the TPS6507x chip needs values that are dependent on the characteristics of the touch screen hardware being used in the board design. In addition, the board provides version information that is exposed via the kernel input sub-system. Signed-off-by: Todd Fischer

[PATCH 0/2]-V2 Add touch screen input driver for TPS6507x family of multi-function chips.

2010-04-05 Thread Todd Fischer
This is the second posting of the TPS6507x touch screen driver. I have incorporated Kevin Hilman's request to split the board specific changes into a separate patch. The TPS6507x family of Texas Instruments power management ICs (pmic) are multi-function chips that include voltage regulation and

[PATCH 1/2] Touch screen input driver for TPS6507x family of multi-function chips.

2010-04-05 Thread Todd Fischer
Add touch screen input driver for TPS6507x family of multi-function chips. Uses the TPS6507x MFD driver. No interrupt support due to testing limitations of current hardware. Signed-off-by: Todd Fischer todd.fisc...@ridgerun.com --- drivers/input/touchscreen/Kconfig | 13 + drivers

[PATCH 0/4]-V3 TPS6507x MFD driver

2010-04-05 Thread Todd Fischer
This is the third posting of the TPS6507x driver set. I have resolved the concurrent access issue identified by Mark Brown. Instead of using a mutex, I used the i2c_transfer() as done in the similar routine in the wm8400-core.c file. The TPS6507x family of Texas Instruments power management ICs

[PATCH 2/4]-V3 Make room for other tps6507x drivers to have board specific initialization data.

2010-04-05 Thread Todd Fischer
Add mfd structure which refrences sub-driver initialization data. For example, for a giving hardware implementation, the voltage regulator sub-driver initialization data provides the mapping betten a voltage regulator and what the output voltage is being used for. Signed-off-by: Todd Fischer

[PATCH 1/4]-V3 Move TPS6507x register definition to header file.

2010-04-05 Thread Todd Fischer
Other sub-drivers for the TPS6507x chip will need to use register definition so move it out of the source file and into a header file. Signed-off-by: Todd Fischer todd.fisc...@ridgerun.com --- drivers/regulator/tps6507x-regulator.c | 60 +-- include/linux/mfd/tps6507x.h

[PATCH 3/4]-V3 Cleaned up name space so each MFD sub-driver uses a different name space.

2010-04-05 Thread Todd Fischer
Move from using tps or tsp6507x to tps6057x_pmic in a consistent manner. Signed-off-by: Todd Fischer todd.fisc...@ridgerun.com --- drivers/regulator/tps6507x-regulator.c | 172 1 files changed, 87 insertions(+), 85 deletions(-) diff --git a/drivers/regulator

[PATCH] Add touch screen input driver for TPS6507x family of multi-function chips.

2010-04-03 Thread Todd Fischer
are applied. If I should use a different approach for the touch screen driver, please let me know. Signed-off-by: Todd Fischer todd.fisc...@ridgerun.com --- arch/arm/mach-davinci/board-da850-evm.c | 12 + drivers/input/touchscreen/Kconfig | 13 + drivers/input/touchscreen/Makefile

[PATCH 0/4]-V2 TPS6507x MFD driver

2010-04-02 Thread Todd Fischer
This is the second posting of the TPS6507x driver set. I have incorporated Mark Brown's feedback and retested. Patches 3 and 5 have been combined so there are only 4 patches in the series now. The TPS6507x family of Texas Instruments power management ICs (pmic) are multi-function chips that

[PATCH 0/4]-V2 TPS6507x MFD driver

2010-04-02 Thread Todd Fischer
This is the second posting of the TPS6507x driver set. I have incorporated Mark Brown's feedback and retested. Patches 3 and 5 have been combined so there are only 4 patches in the series now. The TPS6507x family of Texas Instruments power management ICs (pmic) are multi-function chips that

[PATCH 1/4]-V2 Move TPS6507x register definition to header file.

2010-04-02 Thread Todd Fischer
Other sub-drivers for the TPS6507x chip will need to use register definition so move it out of the source file and into a header file. Signed-off-by: Todd Fischer todd.fisc...@ridgerun.com --- drivers/regulator/tps6507x-regulator.c | 60 +-- include/linux/mfd/tps6507x.h

[PATCH 4/4]-V2 Add MFD driver for TPS6507x family of multi-function chips and move TPS6507x regulator driver from being stand-alone to using the MFD driver.

2010-04-02 Thread Todd Fischer
Add MFD driver for TPS6507x family of multi-function chips. Move TPS6507x regulator driver from being stand-alone driver to using the MFD TPS6507x driver. Signed-off-by: Todd Fischer todd.fisc...@ridgerun.com --- drivers/mfd/Kconfig| 12 +++ drivers/mfd/Makefile

[PATCH 3/4]-V2 Cleaned up name space so each MFD sub-driver uses a different name space.

2010-04-02 Thread Todd Fischer
Move from using tps or tsp6507x to tps6057x_pmic in a consistent manner. Signed-off-by: Todd Fischer todd.fisc...@ridgerun.com --- drivers/regulator/tps6507x-regulator.c | 172 1 files changed, 87 insertions(+), 85 deletions(-) diff --git a/drivers/regulator

[PATCH 2/4]-V2 Make room for other tps6507x drivers to have board specific initialization data.

2010-04-02 Thread Todd Fischer
Add mfd structure which refrences sub-driver initialization data. For example, for a giving hardware implementation, the voltage regulator sub-driver initialization data provides the mapping betten a voltage regulator and what the output voltage is being used for. Signed-off-by: Todd Fischer

[PATCH 1/5] Move TPS6507x register definition to header file.

2010-03-26 Thread Todd Fischer
Other sub-drivers for the TPS6507x chip will need to use register definition so move it out of the source file and into a header file. Signed-off-by: Todd Fischer todd.fisc...@ridgerun.com --- drivers/regulator/Kconfig |1 + drivers/regulator/tps6507x-regulator.c | 60

[PATCH 2/5] Make room for other tps6507x drivers to have board specific initialization data.

2010-03-26 Thread Todd Fischer
Need mfd structure that can hold pointers to sub-driver initialization and run time data. Signed-off-by: Todd Fischer todd.fisc...@ridgerun.com --- arch/arm/mach-davinci/board-da850-evm.c |7 ++- drivers/regulator/tps6507x-regulator.c | 12 +++- include/linux/mfd/tps6507x.h

[PATCH 0/5] TPS6507x MFD driver

2010-03-26 Thread Todd Fischer
The TPS6507x family of Texas Instruments power management ICs (pmic) are multi-function chips that include voltage regulation and touch screen controller capabilities. This patch set adds a TPS6507x multi-function device driver and change the TPS6507x regulator driver to use the TPS6507x MFD

[PATCH 4/5] Cleaned up name space so each MFD sub-driver uses a different name space.

2010-03-26 Thread Todd Fischer
Move from using tps or tsp6507x to tps6057x_pmic in a consistent manner. Signed-off-by: Todd Fischer todd.fisc...@ridgerun.com --- drivers/regulator/tps6507x-regulator.c | 172 1 files changed, 87 insertions(+), 85 deletions(-) diff --git a/drivers/regulator

[PATCH 5/5] Move TPS6507x regulator driver from being stand-alone to using the MFD TPS6507x driver

2010-03-26 Thread Todd Fischer
Move TPS6507x regulator driver from being stand-alone to using the MFD TPS6507x driver. Signed-off-by: Todd Fischer todd.fisc...@ridgerun.com --- drivers/mfd/tps6507x.c |1 + drivers/regulator/tps6507x-regulator.c | 153 +++ include/linux/mfd

[PATCH 3/5] Add MFD driver for TPS6507x family of multi-function chips

2010-03-26 Thread Todd Fischer
MFD driver for TPS6507x family of multi-function chips. Signed-off-by: Todd Fischer todd.fisc...@ridgerun.com --- drivers/mfd/Kconfig | 11 +++ drivers/mfd/Makefile |3 +- drivers/mfd/tps6507x.c | 186 ++ include/linux/mfd

DM365 NULL pointer dereference when removing unmounted SD card: drivers/mmc/host/davinci_mmc.c / mmc_davinci_dma_cb()

2009-06-25 Thread Todd Fischer
I was testing the SD card support in the latest linux-davinci GIT tree. I had read a file from SD and then written a file. Before removing the SD card, I unmounted it (ext2 FS). Here is the console output: umount command, info that the card removal was detected, and the first bit of the kernel