linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] i2c: mux: demux-pinctrl: improve device relationships
@ 2018-05-21  7:29 Wolfram Sang
  2018-05-21  7:29 ` [PATCH v2 1/2] i2c: mux: demux-pinctrl: use proper parent device for demux adapter Wolfram Sang
  2018-05-21  7:29 ` [PATCH v2 2/2] i2c: mux: demux-pinctrl: add symlinks to the demux device in sysfs Wolfram Sang
  0 siblings, 2 replies; 10+ messages in thread
From: Wolfram Sang @ 2018-05-21  7:29 UTC (permalink / raw)
  To: linux-i2c; +Cc: Peter Rosin, linux-renesas-soc, Wolfram Sang

While researching some PM behaviour within I2C, I found out that the i2c-demux
driver does not play well with that due to broken relationship with other
devices. Patch 1 ensures the right parent-child relationship. Patch 2 makes the
connection between the demux device and the demuxed bus similar to that we have
in the mux core.

Tested on a Renesas Lager board (R-Car H2).

Changes since v1:

* added error check in patch 2

Wolfram Sang (2):
  i2c: mux: demux-pinctrl: use proper parent device for demux adapter
  i2c: mux: demux-pinctrl: add symlinks to the demux device in sysfs

 drivers/i2c/muxes/i2c-demux-pinctrl.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

-- 
2.11.0

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

end of thread, other threads:[~2018-05-24 11:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-21  7:29 [PATCH v2 0/2] i2c: mux: demux-pinctrl: improve device relationships Wolfram Sang
2018-05-21  7:29 ` [PATCH v2 1/2] i2c: mux: demux-pinctrl: use proper parent device for demux adapter Wolfram Sang
2018-05-23  8:48   ` Simon Horman
2018-05-24 11:54   ` Peter Rosin
2018-05-21  7:29 ` [PATCH v2 2/2] i2c: mux: demux-pinctrl: add symlinks to the demux device in sysfs Wolfram Sang
2018-05-22  7:13   ` Peter Rosin
2018-05-22 19:13     ` Wolfram Sang
2018-05-24 11:55       ` Peter Rosin
2018-05-23  8:48   ` Simon Horman
2018-05-23  8:54     ` 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).