Hi GabrieleF,

Currently i2c-adapter driver is hard coded (variable bus_freq = 20) to work at 20Khz ( check in probe function) on dvevm.
Try to reduce it if you need to slow down bus frequency :)

STANDARD SPEED -- 100K hz
FASTEST SPEED  -- 400K hz for I/O expander.


Padmanabha S


padmanabha.s
Quoting [EMAIL PROTECTED]:

Send Davinci-linux-open-source mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Davinci-linux-open-source digest..."


Today's Topics:

   1. RE: Where can I find mt9t001.c (Phil Quiney)
   2. R: I2C bus probe utility (Gabriele Filosofi)
   3. I: I2C bus probe utility (Gabriele Filosofi)


----------------------------------------------------------------------

Message: 1
Date: Thu, 18 Sep 2008 08:11:55 +0100
From: "Phil Quiney" <[EMAIL PROTECTED]>
Subject: RE: Where can I find mt9t001.c
To: "Ying Huang" <[EMAIL PROTECTED]>,
        <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="iso-8859-1"

Hi,

Could you not have searched for them rather than giving up as soon as they were not where you thought they should be. It took seconds to find them.....

cd linux-2.6.10_mvl401
find . -name mt9t001.[ch]
./drivers/media/video/davinci/mt9t001.c
./include/media/davinci/mt9t001.h
./include/config/video/mt9t001.h

Regards

Phil Q


Phil Quiney, Senior Software Engineer
Trinity Convergence
Cambridge Business Park
Cowley Road
Cambridge CB4 0WZ, UK
T: +44(0)1223-435536
F: +44(0)1223-435560
www.trinityconvergence.com


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ying Huang
Sent: 18 September 2008 04:45
To: [email protected]
Subject: Where can I find mt9t001.c

Hi,

    I have checked the following folder:

\home\icer\workdir\lsp\ti-davinci\drivers\media\video\
\home\icer\workdir\lsp\ti-davinci\include\media\

and I can not find either mt9t001.c nor mt9t001.h file.

I did all of the setting as this literature:
LSP 1.20 DaVinci Linux CCDC Driver
User's Guide
Literature Number: SPRUEP7


<*> Video for Linux option
--> <M> Davinci Video Capture

Could anybody tell me how to find those files or mail me a copy as attachment? Thank you !

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source



------------------------------

Message: 2
Date: Thu, 18 Sep 2008 09:35:05 +0200
From: Gabriele Filosofi <[EMAIL PROTECTED]>
Subject: R: I2C bus probe utility
To: Vim Venture <[EMAIL PROTECTED]>
Cc: "[email protected]"
        <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>

Content-Type: text/plain; charset="iso-8859-1"

Vim,

I've checked yet those folders. The I2C address of my physical device should be 0x21 (videocam OV7670), so I would expect to find a device file

/sys/bus/i2c/devices/1-0021

But I don't see it.
Instead I see the installed driver

/sys/bus/i2c/drivers/ov7670

I'm wandering if anybody knows how to speed down the I2C bus.

Gabriele

Da: Vim Venture [mailto:[EMAIL PROTECTED]
Inviato: mercoledì 17 settembre 2008 18.47
A: Gabriele Filosofi
Cc: [email protected]
Oggetto: Re: I2C bus probe utility

Hi Gabriele,

I used the device and driver files in /sys/bus/i2c/devices and /sys/bus/i2c/drivers to help debug my i2c problems. You can see which devices are registered and what drivers are available.
I did not have to change the bus speed, so I haven't looked into that.

Hope that helps,
-Vim

On Sep 17, 2008, at 5:56 AM, Gabriele Filosofi wrote:


Hi,

I'm facing with some problems on the I2C bus.
In the u-boot command list there is a specific command to probe all valid addresses on the I2C bus (iprobe), but I'm not sure it is working good.


 1.  Is there any similar utility within the kernel?
 2.  How can I reduce the bus speed?

Regards,

Gabriele



_______________________________________________
Davinci-linux-open-source mailing list
[email protected]<mailto:[email protected]>
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux.omap.com/pipermail/davinci-linux-open-source/attachments/20080918/ccdfce0e/attachment-0001.htm

------------------------------

Message: 3
Date: Thu, 18 Sep 2008 09:58:38 +0200
From: Gabriele Filosofi <[EMAIL PROTECTED]>
Subject: I: I2C bus probe utility
To: Vim Venture <[EMAIL PROTECTED]>
Cc: "[email protected]"
        <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>

Content-Type: text/plain; charset="iso-8859-1"

Vim,

I've solved eliminating a couple of 22 ohm resistors I placed in series on the bus lines.

Thanks

Gabriele

Da: Gabriele Filosofi
Inviato: giovedì 18 settembre 2008 9.40
A: 'Vim Venture'
Cc: '[email protected]'
Oggetto: R: I2C bus probe utility

Vim,

I've checked yet those folders. The I2C address of my physical device should be 0x21 (videocam OV7670), so I would expect to find a device file

/sys/bus/i2c/devices/1-0021

But I don't see it.
Instead I see the installed driver

/sys/bus/i2c/drivers/ov7670

I'm wandering if anybody knows how to speed down the I2C bus.

Gabriele

Da: Vim Venture [mailto:[EMAIL PROTECTED]
Inviato: mercoledì 17 settembre 2008 18.47
A: Gabriele Filosofi
Cc: [email protected]
Oggetto: Re: I2C bus probe utility

Hi Gabriele,

I used the device and driver files in /sys/bus/i2c/devices and /sys/bus/i2c/drivers to help debug my i2c problems. You can see which devices are registered and what drivers are available.
I did not have to change the bus speed, so I haven't looked into that.

Hope that helps,
-Vim

On Sep 17, 2008, at 5:56 AM, Gabriele Filosofi wrote:

Hi,

I'm facing with some problems on the I2C bus.
In the u-boot command list there is a specific command to probe all valid addresses on the I2C bus (iprobe), but I'm not sure it is working good.


 1.  Is there any similar utility within the kernel?
 2.  How can I reduce the bus speed?

Regards,

Gabriele



_______________________________________________
Davinci-linux-open-source mailing list
[email protected]<mailto:[email protected]>
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux.omap.com/pipermail/davinci-linux-open-source/attachments/20080918/0f9b2962/attachment.htm

------------------------------

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


End of Davinci-linux-open-source Digest, Vol 33, Issue 90
*********************************************************




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to