public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Supporting SCCB protocol
Date: Wed, 08 Jun 2011 09:54:01 +0200	[thread overview]
Message-ID: <m2k4cw69nq.fsf@ohwell.denx.de> (raw)
In-Reply-To: <BANLkTimzdPONQ5vQuLUVNQNURF85VtiC5Q@mail.gmail.com> (John Tobias's message of "Mon, 6 Jun 2011 12:59:14 -0700")

Hi John,

> That's correct! I should elaborate it. It should be (Serial Camera Control
> Bus) protocol developed by omnivision.
> I am using a OV2715 sensor and I need to access the registers of the said
> sensor, I have to modify the I2C read/write in uboot to support the SCCB
> transactions.

So SCCB is really only another name for I2C or are there differences in
the protocol?

If the first holds, then the infrastructure is already thereand you
should be able to use the i2c commands.  If the latter then you really
shoudl come up with your own "sccb" driver.  Probably basing it on
drivers.i2c/soft_i2c.c would be a good idea.

> Here's my question:
> If my sensor has power and a clock, does it response to the I2C probe or I
> have to modify it too?. Right now, If I run iprobe, it did not detect my
> sensor and not sure what it caused.

This should be discoverable by reading the manuals of the sensor.  If
this is at all like I2C, then it should definitely answer when its clock
and data pins are driven by I2C.  Did you check with an oscilloscope
that you really are talking to the chip?

Cheers
  Detlev

-- 
-- Question authority!
-- Yeah, says who?
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

  parent reply	other threads:[~2011-06-08  7:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-03 23:22 [U-Boot] Supporting SCCB protocol John Tobias
2011-06-06 11:15 ` Detlev Zundel
2011-06-06 19:59   ` John Tobias
2011-06-06 20:11     ` Wolfgang Denk
2011-06-06 20:48       ` John Tobias
2011-06-06 21:12         ` Wolfgang Denk
2011-06-06 22:07           ` John Tobias
2011-06-06 22:26             ` Wolfgang Denk
2011-06-06 23:12               ` John Tobias
2011-06-06 22:00         ` Mike Frysinger
2011-06-08  7:54     ` Detlev Zundel [this message]
2011-06-08 16:56       ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2k4cw69nq.fsf@ohwell.denx.de \
    --to=dzu@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox