139b132b0SWolfram SangWhat: /sys/devices/platform/<i2c-demux-name>/available_masters 250a5ba87SWolfram SangDate: January 2016 350a5ba87SWolfram SangKernelVersion: 4.6 405af0765SWolfram SangContact: Wolfram Sang <wsa+renesas@sang-engineering.com> 550a5ba87SWolfram SangDescription: 639b132b0SWolfram Sang Reading the file will give you a list of masters which can be 739b132b0SWolfram Sang selected for a demultiplexed bus. The format is 854a19b4dSMauro Carvalho Chehab "<index>:<name>". Example from a Renesas Lager board:: 950a5ba87SWolfram Sang 1039b132b0SWolfram Sang 0:/i2c@e6500000 1:/i2c@e6508000 1150a5ba87SWolfram Sang 1239b132b0SWolfram SangWhat: /sys/devices/platform/<i2c-demux-name>/current_master 1339b132b0SWolfram SangDate: January 2016 1439b132b0SWolfram SangKernelVersion: 4.6 1505af0765SWolfram SangContact: Wolfram Sang <wsa+renesas@sang-engineering.com> 1639b132b0SWolfram SangDescription: 1739b132b0SWolfram Sang This file selects/shows the active I2C master for a demultiplexed 1839b132b0SWolfram Sang bus. It uses the <index> value from the file 'available_masters'. 19