From: bigeasy@linutronix.de (Sebastian Andrzej Siewior)
To: linux-arm-kernel@lists.infradead.org
Subject: I2C support for CE4100, v3
Date: Wed, 23 Feb 2011 12:38:14 +0100 [thread overview]
Message-ID: <1298461100-14869-1-git-send-email-bigeasy@linutronix.de> (raw)
The I2C core inside CE4100 is very much the same as in PXA25x.
I Cc the ARM folks because patch 2 reorganizes some files so that they
can be accessed from x86.
The I2C device is behind a PCI bus. The PCI probe code simply creates
three platform devices so we don't have much changes to the platform
driver. There is no clock framework on x86 and the peripherals don't
support changing their clocks or to enable/disable them. So I provided
dummy function which keep the driver happy.
History:
v1: Initial post
v2: - ISAR is still touched if not in SLAVE mode except on X86 where it
is not touched at all.
- There are no files created in include/asm
- register defines are in common code
- the PCI controller now requires a device tree. It is used to obtain
an id (which is used as device & i2c bus id).
- the PCI part now uses ARRAY_SIZE(). As it turns out pci_select_bars()
is not useable.
- the patch which resetted the chip if the i2c bus was not available
has been dropped.
v3: - rebased against v2.6.38-rc3, fixed conflicts in ARM tree
- the dependency on SPI is gone.
Sebastian
next reply other threads:[~2011-02-23 11:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-23 11:38 Sebastian Andrzej Siewior [this message]
2011-02-23 11:38 ` [PATCH 1/6] i2c-pxa2xx: use dynamic register layout Sebastian Andrzej Siewior
2011-02-23 11:38 ` [PATCH 2/6] ARM: pxa2xx: reorganize I2C files Sebastian Andrzej Siewior
2011-03-02 0:49 ` Ben Dooks
2011-03-02 3:08 ` Eric Miao
2011-02-23 11:38 ` [PATCH 3/6] i2c-pxa2xx: Add PCI support for PXA I2C controller Sebastian Andrzej Siewior
2011-03-02 0:51 ` Ben Dooks
2011-03-02 10:26 ` [PATCH v2] " Sebastian Andrzej Siewior
2011-02-23 11:38 ` [PATCH 4/6] i2c-pxa2xx: add support for shared IRQ handler Sebastian Andrzej Siewior
2011-02-23 11:38 ` [PATCH 5/6] i2c-pxa2xx: check timeout correctly Sebastian Andrzej Siewior
2011-02-23 11:38 ` [PATCH 6/6] i2c-pxa2xx: pass of_node from platform driver to adapter and publish Sebastian Andrzej Siewior
-- strict thread matches above, loose matches on Subject: below --
2011-01-05 16:50 I2C support for CE4100, v3 Sebastian Andrzej Siewior
2011-01-05 21:51 ` Ben Dooks
2011-01-07 11:20 ` Sebastian Andrzej Siewior
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=1298461100-14869-1-git-send-email-bigeasy@linutronix.de \
--to=bigeasy@linutronix.de \
--cc=linux-arm-kernel@lists.infradead.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).