^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/bus/i2c/.../idle_state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: January 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 5.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: Robert Shearman <robert.shearman@att.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Value that exists only for mux devices that can be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) written to control the behaviour of the multiplexer on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) idle. Possible values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) =========== ===============================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) -2 disconnect on idle, i.e. deselect the last used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) channel, which is useful when there is a device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) with an address that conflicts with another
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) device on another mux on the same parent bus.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) -1 leave the mux as-is, which is the most optimal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) setting in terms of I2C operations and is the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) default mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 0..<nchans> set the mux to a predetermined channel,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) which is useful if there is one channel that is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) used almost always, and you want to reduce the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) latency for normal operations after rare
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) transactions on other channels
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) =========== ===============================================