Commit d00afd5e authored by Wolfram Sang's avatar Wolfram Sang
Browse files

Merge branch 'i2c-mux/for-next' of https://github.com/peda-r/i2c-mux into i2c/for-5.2

Mainly some pca954x work, i.e. removal of unused platform data support
and added support for sysfs interface for manipulating/examining the
idle state. And then a mechanical cocci-style patch.
parents 9a51b86a d5984d2a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -224,3 +224,5 @@ Yakir Yang <kuankuan.y@gmail.com> <ykk@rock-chips.com>
Yusuke Goda <goda.yusuke@renesas.com>
Gustavo Padovan <gustavo@las.ic.unicamp.br>
Gustavo Padovan <padovan@profusion.mobi>
Changbin Du <changbin.du@intel.com> <changbin.du@intel.com>
Changbin Du <changbin.du@intel.com> <changbin.du@gmail.com>
+20 −0
Original line number Diff line number Diff line
What:		/sys/bus/i2c/.../idle_state
Date:		January 2019
KernelVersion:	5.2
Contact:	Robert Shearman <robert.shearman@att.com>
Description:
		Value that exists only for mux devices that can be
		written to control the behaviour of the multiplexer on
		idle. Possible values:
		-2 - disconnect on idle, i.e. deselect the last used
		     channel, which is useful when there is a device
		     with an address that conflicts with another
		     device on another mux on the same parent bus.
		-1 - leave the mux as-is, which is the most optimal
		     setting in terms of I2C operations and is the
		     default mode.
		0..<nchans> - set the mux to a predetermined channel,
		     which is useful if there is one channel that is
		     used almost always, and you want to reduce the
		     latency for normal operations after rare
		     transactions on other channels
Loading