From: vaibhav.hiremath@linaro.org (Vaibhav Hiremath)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] i2c: core/pxa: Add support for hardware lock
Date: Thu, 28 May 2015 19:02:45 +0530 [thread overview]
Message-ID: <1432819968-17515-1-git-send-email-vaibhav.hiremath@linaro.org> (raw)
To justify the need for hardware lock, lets take a real usecase scenario -
In case of Marvell SoC, PXA910 silicon, both AP and CP are present and
these two ARM cores are sharing one pair of I2C pins.
In order to keep I2C transaction operated with atomic, hardware lock
(RIPC) is required.
This patch extends support for atomic operation by adding hardware lock support
to the i2c-core.
PATCH[1/3] : Core changes for hardware lock
PATCH[2/3 & 3/3] : hardware lock support to i2c-pxa bus driver.
Link to previous post:
http://lkml.iu.edu/hypermail/linux/kernel/1104.3/02352.html
http://lkml.iu.edu/hypermail/linux/kernel/1104.3/02353.html
http://lkml.iu.edu/hypermail/linux/kernel/1104.3/02354.html
TODO:
- DT node addition
I am using PXA1928 based platform which is still not available
in Mainline, once the base dts file gets merged, will submit patch
for I2C support. Hopefully by that time I should have PMIC client driver
support available.
Link to Rob's patches:
https://lkml.org/lkml/2015/5/1/14
https://lkml.org/lkml/2015/5/19/1206
Vaibhav Hiremath (3):
i2c: core: append hardware lock with bus lock
i2c: pxa: Add support for hardware lock
i2c: pxa: Add pin ctrl support for CP core access
drivers/i2c/busses/i2c-pxa.c | 92 ++++++++++++++++++++++++++++++++++++++++++++
drivers/i2c/i2c-core.c | 22 +++++++++--
include/linux/i2c.h | 5 +++
include/linux/i2c/pxa-i2c.h | 4 ++
4 files changed, 119 insertions(+), 4 deletions(-)
--
1.9.1
next reply other threads:[~2015-05-28 13:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-28 13:32 Vaibhav Hiremath [this message]
2015-05-28 13:32 ` [PATCH 1/3] i2c: core: append hardware lock with bus lock Vaibhav Hiremath
2015-05-28 13:32 ` [PATCH 2/3] i2c: pxa: Add support for hardware lock Vaibhav Hiremath
2015-05-28 13:32 ` [PATCH 3/3] i2c: pxa: Add pin ctrl support for CP core access Vaibhav Hiremath
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=1432819968-17515-1-git-send-email-vaibhav.hiremath@linaro.org \
--to=vaibhav.hiremath@linaro.org \
--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).