linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using algo-bit in another i2c algo
@ 2010-01-11 22:13 Alex Deucher
       [not found] ` <a728f9f91001111413t1a733e0rbc0352ddd2d9de7c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Alex Deucher @ 2010-01-11 22:13 UTC (permalink / raw)
  To: linux-i2c-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]

Hi,

    I'm adding support for the i2c controllers on radeon hardware and
I have a few questions.  I have a radeon-algo that encapsulates all
the various hw i2c controller functionality, however, it uses a
bit-algo bus internally for cases where you have to use bit-banging
rather than the hardware i2c engines.  Also, for bit banging to work
properly, you need to do some things before the bit-algo transaction
(basically masking the gpios for software use).  Right now we use
bit-algo i2c for the ddc buses, but they won't work externally to the
driver without the proper gpio masking prior to using them.  In the
radeon-algo patches, I use bit algo internally when I cannot use the
hardware i2c engines, or in cases where I haven't implemented support
yet for the hardware engine (as most gpios can be driven by sw or the
hw engine).  The problem is, this exposes the i2c bit-algo buses as
well as the radeon-algo buses.  Is there a way to not expose the
bit-algo buses that are used internally?  I've attached the patches
for reference.  Please cc: me as I'm not subscribed to this list.

Alex

[-- Attachment #2: 0001-drm-radeon-kms-add-radeon-i2c-algo.patch --]
[-- Type: application/mbox, Size: 13269 bytes --]

[-- Attachment #3: 0002-drm-radeon-kms-add-support-for-hw-i2c-on-r1xx-r5xx.patch --]
[-- Type: application/mbox, Size: 22287 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-03-10 22:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-11 22:13 Using algo-bit in another i2c algo Alex Deucher
     [not found] ` <a728f9f91001111413t1a733e0rbc0352ddd2d9de7c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-03-10  9:44   ` Jean Delvare
     [not found]     ` <20100310104401.57fc43b2-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2010-03-10 16:58       ` Alex Deucher
2010-03-10 19:16       ` Alex Deucher
     [not found]         ` <a728f9f91003101116l422374d2vceb1e5dddfdf44d8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-03-10 21:49           ` Jean Delvare
     [not found]             ` <20100310224936.0d4f8a65-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2010-03-10 22:56               ` Alex Deucher
2010-03-10 20:47       ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).