0001 What: /sys/devices/platform/<i2c-demux-name>/available_masters
0002 Date: January 2016
0003 KernelVersion: 4.6
0004 Contact: Wolfram Sang <wsa+renesas@sang-engineering.com>
0005 Description:
0006 Reading the file will give you a list of masters which can be
0007 selected for a demultiplexed bus. The format is
0008 "<index>:<name>". Example from a Renesas Lager board::
0009
0010 0:/i2c@e6500000 1:/i2c@e6508000
0011
0012 What: /sys/devices/platform/<i2c-demux-name>/current_master
0013 Date: January 2016
0014 KernelVersion: 4.6
0015 Contact: Wolfram Sang <wsa+renesas@sang-engineering.com>
0016 Description:
0017 This file selects/shows the active I2C master for a demultiplexed
0018 bus. It uses the <index> value from the file 'available_masters'.