From: Alex Deucher <alexdeucher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Using algo-bit in another i2c algo
Date: Mon, 11 Jan 2010 17:13:50 -0500 [thread overview]
Message-ID: <a728f9f91001111413t1a733e0rbc0352ddd2d9de7c@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2010-01-11 22:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-11 22:13 Alex Deucher [this message]
[not found] ` <a728f9f91001111413t1a733e0rbc0352ddd2d9de7c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-03-10 9:44 ` Using algo-bit in another i2c algo 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
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=a728f9f91001111413t1a733e0rbc0352ddd2d9de7c@mail.gmail.com \
--to=alexdeucher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).