linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] i2c: rcar: adapt PM usage to multi master case
@ 2015-12-23 16:56 Wolfram Sang
  2015-12-23 16:56 ` [PATCH 1/3] i2c: document binding for multi-master case Wolfram Sang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Wolfram Sang @ 2015-12-23 16:56 UTC (permalink / raw)
  To: linux-i2c
  Cc: Wolfram Sang, linux-sh, Magnus Damm, Yoshihiro Shimoda,
	Geert Uytterhoeven

If we are in a multi-master scenario, we need to block runtime PM so the
arbitration circuit stays awake.

So, we define a new binding and adapt the i2c-rcar driver to have an example
implementation.

Changes since RFC:

* added acks from Rob and Geert (thanks!)
* use of_property_read_bool() now instead of of_get_property (thanks Sergei)
* way more testing


Wolfram Sang (3):
  i2c: document binding for multi-master case
  i2c: rcar: remove macros dealing with flags
  i2c: rcar: disable PM in multi-master mode

 Documentation/devicetree/bindings/i2c/i2c.txt |  5 ++++
 drivers/i2c/busses/i2c-rcar.c                 | 39 ++++++++++++++++-----------
 2 files changed, 28 insertions(+), 16 deletions(-)

-- 
2.1.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-01-02 21:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-23 16:56 [PATCH 0/3] i2c: rcar: adapt PM usage to multi master case Wolfram Sang
2015-12-23 16:56 ` [PATCH 1/3] i2c: document binding for multi-master case Wolfram Sang
2015-12-23 16:56 ` [PATCH 2/3] i2c: rcar: remove macros dealing with flags Wolfram Sang
2015-12-23 16:56 ` [PATCH 3/3] i2c: rcar: disable PM in multi-master mode Wolfram Sang
2016-01-02 21:15 ` [PATCH 0/3] i2c: rcar: adapt PM usage to multi master case Wolfram Sang

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).