18c2ecf20Sopenharmony_ciWhat: /sys/bus/i2c/.../idle_state 28c2ecf20Sopenharmony_ciDate: January 2019 38c2ecf20Sopenharmony_ciKernelVersion: 5.2 48c2ecf20Sopenharmony_ciContact: Robert Shearman <robert.shearman@att.com> 58c2ecf20Sopenharmony_ciDescription: 68c2ecf20Sopenharmony_ci Value that exists only for mux devices that can be 78c2ecf20Sopenharmony_ci written to control the behaviour of the multiplexer on 88c2ecf20Sopenharmony_ci idle. Possible values: 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci =========== =============================================== 118c2ecf20Sopenharmony_ci -2 disconnect on idle, i.e. deselect the last used 128c2ecf20Sopenharmony_ci channel, which is useful when there is a device 138c2ecf20Sopenharmony_ci with an address that conflicts with another 148c2ecf20Sopenharmony_ci device on another mux on the same parent bus. 158c2ecf20Sopenharmony_ci -1 leave the mux as-is, which is the most optimal 168c2ecf20Sopenharmony_ci setting in terms of I2C operations and is the 178c2ecf20Sopenharmony_ci default mode. 188c2ecf20Sopenharmony_ci 0..<nchans> set the mux to a predetermined channel, 198c2ecf20Sopenharmony_ci which is useful if there is one channel that is 208c2ecf20Sopenharmony_ci used almost always, and you want to reduce the 218c2ecf20Sopenharmony_ci latency for normal operations after rare 228c2ecf20Sopenharmony_ci transactions on other channels 238c2ecf20Sopenharmony_ci =========== =============================================== 24