From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC 0/2] Add cdns-i2c driver as drop in for zynq-i2c
Date: Tue, 5 Jan 2016 16:44:53 +0100 [thread overview]
Message-ID: <568BE4F5.2030303@xilinx.com> (raw)
In-Reply-To: <1451324831-18328-1-git-send-email-moritz.fischer@ettus.com>
On 28.12.2015 18:47, Moritz Fischer wrote:
> Hi all,
>
> I spent some time moving over the zynq-i2c.c to support dm.
> While doing that I realized that renaming it to cdns-i2c might
> make sense since it now could be used with other SoCs that also use the
> the Cadence IP.
>
> This is a first shot, but I'd like to get some early feedback ;-)
>
> Cheers,
>
> Moritz
>
> PS: I skipped touching the Zynq board files for now, since I wanted to make sure
> I get the driver right first ;-)
>
> Moritz Fischer (2):
> i2c: Describe Cadence I2C devicetree bindings
> dm: i2c: Add driver for Cadence I2C IP
>
> doc/device-tree-bindings/i2c/i2c-cdns.txt | 20 ++
> drivers/i2c/Kconfig | 7 +
> drivers/i2c/Makefile | 1 +
> drivers/i2c/i2c-cdns.c | 339 ++++++++++++++++++++++++++++++
> 4 files changed, 367 insertions(+)
> create mode 100644 doc/device-tree-bindings/i2c/i2c-cdns.txt
> create mode 100644 drivers/i2c/i2c-cdns.c
>
I have looked at these patches and I don't know why there is 100k
limitation in cdns_i2c_set_bus_speed. DTS is using 400k in Linux without
any problem.
Unfortunately I found that i2c muxes like pca9548 are not supported yet
but I have create sort of skeleton for that but it looks like that there
is no standard binding where i2c-parent is required. Also every muxes
bus needs to have correct label and alias.
Also I have found that there is eeprom dependency which needs to be
resolved to be able to use this driver instead of old one.
Thanks,
Michal
next prev parent reply other threads:[~2016-01-05 15:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-28 17:47 [U-Boot] [RFC 0/2] Add cdns-i2c driver as drop in for zynq-i2c Moritz Fischer
2015-12-28 17:47 ` [U-Boot] [RFC 1/2] i2c: Describe Cadence I2C devicetree bindings Moritz Fischer
2016-01-04 7:09 ` Heiko Schocher
2015-12-28 17:47 ` [U-Boot] [RFC 2/2] dm: i2c: Add driver for Cadence I2C IP Moritz Fischer
2016-01-04 7:15 ` Heiko Schocher
2016-04-11 12:50 ` Michal Simek
2016-04-12 7:45 ` Heiko Schocher
2016-04-12 7:59 ` Michal Simek
2015-12-28 18:35 ` [U-Boot] [RFC 0/2] Add cdns-i2c driver as drop in for zynq-i2c Michal Simek
2015-12-28 19:15 ` Moritz Fischer
2016-01-05 15:44 ` Michal Simek [this message]
2016-01-05 17:30 ` Moritz Fischer
2016-01-06 7:53 ` Michal Simek
2016-01-07 5:18 ` Moritz Fischer
2016-01-07 8:13 ` Michal Simek
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=568BE4F5.2030303@xilinx.com \
--to=michal.simek@xilinx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox