Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/bus/i2c/.../idle_state
0002 Date:           January 2019
0003 KernelVersion:  5.2
0004 Contact:        Robert Shearman <robert.shearman@att.com>
0005 Description:
0006                 Value that exists only for mux devices that can be
0007                 written to control the behaviour of the multiplexer on
0008                 idle. Possible values:
0009 
0010                 ===========  ===============================================
0011                 -2           disconnect on idle, i.e. deselect the last used
0012                              channel, which is useful when there is a device
0013                              with an address that conflicts with another
0014                              device on another mux on the same parent bus.
0015                 -1           leave the mux as-is, which is the most optimal
0016                              setting in terms of I2C operations and is the
0017                              default mode.
0018                 0..<nchans>  set the mux to a predetermined channel,
0019                              which is useful if there is one channel that is
0020                              used almost always, and you want to reduce the
0021                              latency for normal operations after rare
0022                              transactions on other channels
0023                 ===========  ===============================================