From: Lukasz Majewski <l.majewski@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] question about software i2c multi instance
Date: Mon, 23 Mar 2015 09:28:28 +0100 [thread overview]
Message-ID: <20150323092828.7a22c885@amdc2363> (raw)
In-Reply-To: <550BEBEC.7060609@atmel.com>
Hi Bo,
> Hi Heiko,
> After check the software i2c code, I found it can not support
> multi instances, although it has I2C_SOFT_DECLARATIONS2,
> I2C_SOFT_DECLARATIONS3, I2C_SOFT_DECLARATIONS4.
> Because, when do GPIO operation, there is only one pair of
> CONFIG_SOFT_I2C_GPIO_SCL and CONFIG_SOFT_I2C_GPIO_SDA.
> So, if want to support multi instances, it needs to extend the
> GPIO configuration for SCL/SDA, am I right?
Some time ago we had a similar problem with SW I2C code. Please look
into Samsung's trats board implementation.
However, such approach might be outdated, since Przemek is working on
porting this functionality to device model:
https://patchwork.ozlabs.org/patch/448460/
>
> Thanks.
>
> Best Regards,
> Bo Shen
--
Best regards,
Lukasz Majewski
Samsung R&D Institute Poland (SRPOL) | Linux Platform Group
next prev parent reply other threads:[~2015-03-23 8:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-20 9:44 [U-Boot] question about software i2c multi instance Bo Shen
2015-03-20 10:10 ` Heiko Schocher
2015-03-23 6:27 ` Bo Shen
2015-03-23 8:28 ` Lukasz Majewski [this message]
2015-03-23 8:36 ` Bo Shen
2015-03-23 8:47 ` Przemyslaw Marczak
2015-03-23 9:09 ` Bo Shen
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=20150323092828.7a22c885@amdc2363 \
--to=l.majewski@samsung.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.