From: Wolfram Sang <wsa@the-dreams.de>
To: linux-sh@vger.kernel.org
Subject: [RFC 0/4] prototype: switch I2C IP cores at runtime
Date: Mon, 15 Dec 2014 20:20:13 +0000 [thread overview]
Message-ID: <1418674817-12809-1-git-send-email-wsa@the-dreams.de> (raw)
Some SoC (like Renesas RCar Gen2) have different I2C IP cores with different
feature sets. This is an experimental patch series to let those different IP
cores access the same I2C bus at runtime. Finally, we have some code to talk
about :) Unlike previous sketched versions, this one does not require a
remove/probe-cycle of I2C bus drivers which would mean complete
reinitialization of all connected I2C clients. However, the first two patches
need serious discussion. So, have a look if you are interested...
These patches are only sent to the sh-list for now. I'd like to have consensus
here before involving people from the outside.
Wolfram Sang (4):
pinctrl: allow to unselect a state
i2c: mux: add function to reparent a mux
ARM: shmobile: r8a7790: lager: add i2c-demuxer to dts
i2c: mux: demux-pinctrl: add driver
.../devicetree/bindings/i2c/i2c-demux-pinctrl.txt | 65 ++++++++
arch/arm/boot/dts/r8a7790-lager.dts | 54 ++++--
drivers/i2c/i2c-mux.c | 8 +
drivers/i2c/muxes/Kconfig | 6 +
drivers/i2c/muxes/Makefile | 2 +
drivers/i2c/muxes/i2c-demux-pinctrl.c | 183 +++++++++++++++++++++
drivers/pinctrl/core.c | 34 ++--
include/linux/i2c-mux.h | 2 +
include/linux/pinctrl/consumer.h | 5 +
9 files changed, 334 insertions(+), 25 deletions(-)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.txt
create mode 100644 drivers/i2c/muxes/i2c-demux-pinctrl.c
--
2.1.3
next reply other threads:[~2014-12-15 20:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-15 20:20 Wolfram Sang [this message]
2015-01-05 14:28 ` [RFC 0/4] prototype: switch I2C IP cores at runtime Geert Uytterhoeven
2015-03-14 11:43 ` Wolfram Sang
2015-03-14 14:37 ` Laurent Pinchart
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=1418674817-12809-1-git-send-email-wsa@the-dreams.de \
--to=wsa@the-dreams.de \
--cc=linux-sh@vger.kernel.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